.consult-request-page,
.consult-request-page * {
    box-sizing: border-box;
}

.consult-request-page {
    width: 100%;
    min-height: 60vh;
    padding: 80px 0;
    background: #ffffff;
    color: #111111;
    font-family:
        "Pretendard Variable",
        Pretendard,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.consult-request-container {
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 0 24px;
}

.consult-request-view {
    width: 100%;
}

.consult-request-header {
    margin-bottom: 40px;
}

.consult-request-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 24px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.2s ease;
}

.consult-request-back:hover {
    color: #374151;
}

.consult-request-back svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.consult-request-eyebrow {
    margin: 0 0 12px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.consult-request-title {
    margin: 0 0 8px;
    color: #111111;
    font-size: 36px;
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.consult-request-description {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.consult-request-form {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.consult-request-section {
    width: 100%;
}

.consult-request-section-title {
    margin: 0 0 20px;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.consult-request-section-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.consult-request-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.consult-request-field {
    min-width: 0;
}

.consult-request-field-full {
    grid-column: 1 / -1;
}

.consult-request-label {
    display: block;
    margin-bottom: 6px;
    color: #111111;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.consult-request-required {
    color: #f87171;
}

.consult-request-input,
.consult-request-textarea {
    display: block;
    width: 100%;
    margin: 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    outline: none;
    background: #ffffff;
    color: #111111;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.consult-request-input {
    height: 42px;
    padding: 10px 16px;
}

.consult-request-textarea {
    min-height: 124px;
    padding: 10px 16px 32px;
    overflow-y: auto;
    resize: none;
}

.consult-request-input::placeholder,
.consult-request-textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.consult-request-input:hover,
.consult-request-textarea:hover {
    border-color: #d1d5db;
}

.consult-request-input:focus,
.consult-request-textarea:focus {
    border-color: #111111;
    box-shadow: 0 0 0 1px #111111;
}

.consult-request-input:invalid:not(:placeholder-shown),
.consult-request-textarea:invalid:not(:placeholder-shown) {
    border-color: #f87171;
}

.consult-request-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.consult-request-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    margin: 0;
    padding: 6px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    outline: none;
    background: #ffffff;
    color: #4b5563;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    white-space: nowrap;
    cursor: pointer;
    appearance: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.consult-request-option:hover {
    border-color: #9ca3af;
}

.consult-request-option:focus-visible {
    border-color: #111111;
    box-shadow: 0 0 0 1px #111111;
}

.consult-request-option.is-selected {
    border-color: #111111;
    background: #111111;
    color: #ffffff;
}

.consult-request-error {
    display: none;
    margin: 8px 0 0;
    color: #ef4444;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.consult-request-error.is-visible {
    display: block;
}

.consult-request-textarea-wrap {
    position: relative;
}

.consult-request-counter {
    position: absolute;
    right: 13px;
    bottom: 10px;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    pointer-events: none;
}

.consult-request-submit-section {
    width: 100%;
}

.consult-request-agreement {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    cursor: pointer;
}

.consult-request-checkbox {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    margin: 2px 0 0;
    accent-color: #111111;
    cursor: pointer;
}

.consult-request-agreement-text {
    color: #4b5563;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    word-break: keep-all;
}

.consult-request-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    margin: 24px 0 0;
    padding: 10px 24px;
    border: 1px solid #111111;
    border-radius: 8px;
    outline: none;
    background: #111111;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    appearance: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        opacity 0.2s ease;
}

.consult-request-submit:hover {
    border-color: #262626;
    background: #262626;
}

.consult-request-submit:focus-visible {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #111111;
}

.consult-request-submit:disabled {
    cursor: default;
    opacity: 0.55;
}

.consult-request-complete {
    display: flex;
    min-height: 60vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    text-align: center;
}

.consult-request-complete[hidden] {
    display: none;
}

.consult-request-complete-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #f0fdf4;
    color: #22c55e;
}

.consult-request-complete-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.consult-request-complete-title {
    margin: 0 0 12px;
    color: #111111;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.02em;
}

.consult-request-complete-description {
    margin: 0 0 32px;
    color: #6b7280;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.75;
}

.consult-request-complete-description strong {
    color: inherit;
    font-weight: 400;
}

.consult-request-complete-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.consult-request-complete-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid #111111;
    border-radius: 8px;
    background: #111111;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease,
        background-color 0.2s ease;
}

.consult-request-complete-button:hover {
    border-color: #262626;
    background: #262626;
}

.consult-request-complete-button-outline {
    border-color: #e5e7eb;
    background: #ffffff;
    color: #111111;
}

.consult-request-complete-button-outline:hover {
    border-color: #9ca3af;
    background: #ffffff;
}

@media (max-width: 767px) {
    .consult-request-page {
        padding: 64px 0;
    }

    .consult-request-container {
        padding: 0 16px;
    }

    .consult-request-grid {
        grid-template-columns: 1fr;
    }

    .consult-request-field-full {
        grid-column: auto;
    }

    .consult-request-title {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .consult-request-page {
        padding: 48px 0 64px;
    }

    .consult-request-header {
        margin-bottom: 36px;
    }

    .consult-request-form {
        gap: 36px;
    }

    .consult-request-title {
        font-size: 30px;
    }

    .consult-request-option {
        padding-right: 12px;
        padding-left: 12px;
        font-size: 13px;
    }

    .consult-request-complete-actions {
        width: 100%;
        flex-direction: column;
    }

    .consult-request-complete-button {
        width: 100%;
    }
}