/* 인증 페이지 스타일 */

.auth-section {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--bg-light);
}

.auth-container {
    width: 100%;
    max-width: 500px;
}

.auth-box {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.auth-subtitle {
    font-size: 14px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

.auth-form {
    margin-top: 30px;
}

.auth-form .form-group:last-of-type {
    margin-bottom: 0;
}

.auth-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.auth-links p {
    font-size: 14px;
    color: var(--text-light);
}

.auth-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* 마이페이지 스타일 */

.mypage-section {
    padding: 40px 20px;
    background: var(--bg-light);
    min-height: calc(100vh - 400px);
}

.mypage-container {
    max-width: 1000px;
    margin: 0 auto;
}

.mypage-header {
    background: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mypage-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.mypage-header p {
    color: var(--text-light);
}

.mypage-content {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
}

.mypage-sidebar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    height: fit-content;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mypage-menu {
    list-style: none;
}

.mypage-menu li {
    margin-bottom: 5px;
}

.mypage-menu a {
    display: block;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.mypage-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mypage-menu a.active {
    background: var(--primary-color);
    color: white;
}

.mypage-main {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.mypage-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--text-dark);
}

.info-display {
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-label {
    font-weight: 600;
    min-width: 150px;
    color: var(--text-dark);
}

.info-value {
    color: var(--text-light);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background: #c82333;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 16px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .auth-box {
        padding: 30px 20px;
    }

    .mypage-content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* 모바일: 사이드바를 상단 가로 탭으로 전환 */
    .mypage-sidebar {
        display: block;
        padding: 8px;
        border-radius: 12px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mypage-menu {
        display: flex;
        flex-direction: row;
        gap: 6px;
        white-space: nowrap;
        padding-bottom: 2px;
    }

    .mypage-menu li {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .mypage-menu a {
        padding: 10px 18px;
        font-size: 14px;
        border-radius: 20px;
        font-weight: 500;
    }

    .mypage-main {
        padding: 20px 16px;
    }

    .mypage-header {
        padding: 20px;
        margin-bottom: 16px;
    }

    .mypage-header h2 {
        font-size: 22px;
    }
}

