.nav-center {
    display: none;
}

.container {
    margin-top: 64px;
    padding: 50px;
    min-height: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.signup-form {
    background: white;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 560px;
    margin: 0 auto;
}

.signup-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-align: left;
    margin-bottom: 8px;
}

.signup-subtitle {
    color: #666;
    text-align: left;
    margin-bottom: 40px;
    font-size: 14px;
}

.login-link {
    color: #0097d5;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 700;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e1e5e9;
    border-radius: 4px;
    font-size: 14px;
    background: #fafbfc;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: #0097d5;
    background: white;
    box-shadow: 0 0 0 3px rgba(23, 162, 184, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

.email-input-group {
    display: flex;
    gap: 8px;
}

.email-input {
    flex: 1;
}

.btn-verify {
    padding: 14px 20px;
    background: #0097d5;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.btn-verify:hover {
    background: #138496;
}

.password-help {
    margin-top: 6px;
    font-size: 12px;
    color: #666;
}

.password-strength {
    margin-top: 4px;
    font-size: 12px;
    min-height: 16px;
}

.password-strength.weak {
    color: #e74c3c;
}

.password-strength.medium {
    color: #f39c12;
}

.password-strength.strong {
    color: #27ae60;
}

.password-match {
    margin-top: 4px;
    font-size: 12px;
    min-height: 16px;
}

.password-match.match {
    color: #27ae60;
}

.password-match.no-match {
    color: #e74c3c;
}

.terms-group {
    margin-bottom: 12px;
}

.terms-details {
    margin-left: 0;
    border-top: 1px solid #e1e5e9;
    padding-top: 12px;
}

.terms-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    cursor: pointer;
    position: relative;
}

.terms-item input[type="radio"],
.terms-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    accent-color: #0097d5;
}

.arrow {
    margin-left: auto;
    color: #999;
    font-size: 16px;
    cursor: pointer;
}

.form-buttons {
    display: flex;
    gap: 8px;
    margin-top: 32px;
}

.btn-cancel {
    flex: 1;
    padding: 12px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-cancel:hover {
    background: #5a6268;
}

.btn-submit {
    flex: 1;
    padding: 12px;
    background: #0097d5;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-submit:hover {
    background: #138496;
}

.btn-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.alert {
    margin-bottom: 20px;
    border-radius: 4px;
}

/* 모달 스타일 */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1005;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: var(--Fill-White, #FFF);
    border-radius: 8px;
    width: 90%;
    max-width: 720px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 32px 20px 32px;
    position: relative;
}

.modal-header h2 {
    color: var(--Text-Grey-Title, #2E2E2E);
    /* font-family: Pretendard; */
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: -0.5px;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 20px;
    right: 20px;
}

.modal-close:hover {
    opacity: 0.7;
}

.modal-content {
    padding: 20px 32px 20px 32px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.modal-intro {
    color: var(--Text-Grey-Title, #2E2E2E);
    /* font-family: Pretendard; */
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.45px;
}

.modal-section,
.contents-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

.modal-section:last-child,
.contents-section:last-child {
    margin-bottom: 0;
}

.modal-section h3,
.contents-section h3 {
    color: var(--Text-Grey-800, #2E2E2E);
    /* font-family: Pretendard; */
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: -0.4px;
}

.modal-section div,
.contents-section div {
    color: var(--Text-Grey-700, #585858);
    /* font-family: Pretendard; */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 135%;
    letter-spacing: -0.4px;
}

.terms-section-number {
    display: flex;
    margin-left: 10px;
}

.terms-section-number > div:nth-of-type(2) {
    margin-left: 5px;
}

.terms-section-korean {
    margin-left: 20px;
}

.modal-footer {
    padding: 20px 32px 40px 32px;
    display: flex;
    justify-content: center;
}

.modal-agree-btn {
    display: flex;
    width: 112px;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 100px;
    background: var(--Fill-Navy, #2F4F7F);
    border: none;
    cursor: pointer;
    color: var(--Text-White, #FFF);
    text-align: center;
    /* font-family: Pretendard; */
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 130%;
    letter-spacing: -0.4px;
}

.modal-agree-btn:hover {
    background: #233D60;
}

.mobile-only {
    display: none;
}

.pc-show {
    display: flex;
}

/* 반응형 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }

    .signup-form {
        padding: 40px 20px;
    }
    
    .email-input-group {
        flex-direction: column;
    }
    
    .btn-verify {
        width: 100%;
    }

    .modal-content {
        padding: 20px 16px 20px 16px;
    }

    .modal-header {
        padding: 32px 16px 12px 16px;
    }

    .modal-footer {
        padding: 20px 16px 32px 16px;
    }

    .modal-agree-btn {
        width: 102px;
        font-size: 14px;
        letter-spacing: -0.35px;
    }

    .modal-close {
        width: 24px;
        height: 24px;
        top: 12px;
        right: 12px;
    }

    .mobile-only {
        display: block;
    }

    .pc-show {
        display: none;
    }
}

@media (max-width: 576px) {
    .signup-form {
        padding: 40px 20px;
    }
    
    .email-input-group {
        flex-direction: column;
    }
    
    .btn-verify {
        width: 100%;
    }
}