/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* 모바일 메뉴 닫기 버튼 - 기본 숨김 (PC) */
.mobile-menu-close-outside {
    display: none;
}

/* 만료 안내 띠 */
.expiration-banner {
    display: block;
    width: 100%;
    background: #d45d2e;
    color: #fff;
    text-align: center;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.expiration-banner strong {
    font-weight: 700;
}

.expiration-banner .banner-link {
    text-decoration: underline;
    margin-left: 4px;
}

.expiration-banner:hover {
    background: #c04f22;
}

body.has-expiration-banner {
    padding-top: 44px;
}

body.has-expiration-banner .mobile-menu {
    top: 44px;
    height: calc(100% - 44px);
}

body.has-expiration-banner .mobile-menu-close-outside {
    top: 60px;
}

@media (max-width: 768px) {
    .expiration-banner {
        font-size: 13px;
        padding: 10px 12px;
    }

    body.has-expiration-banner {
        padding-top: 40px;
    }

    body.has-expiration-banner .mobile-menu {
        top: 40px;
        height: calc(100% - 40px);
    }

    body.has-expiration-banner .mobile-menu-close-outside {
        top: 56px;
    }
}

:root {
    --primary-color: #4fd1c5;
    --secondary-color: #38b2ac;
    --accent-color: #2c7a7b;
    --success-color: #14b8a6;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --text-light: #9ca3af;
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-card: #1f1f1f;
    --bg-dark: #000000;
    --border-color: #2a2a2a;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.7);
}

html {
    overflow-x: hidden;
    width: 100%;
    /* 모바일 입력 필드 확대 방지 */
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* 모바일 입력 필드 확대 방지 - 16px 이상이면 확대되지 않음 */
@media (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="number"],
    input[type="tel"],
    input[type="date"],
    input[type="search"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background-color: #000000;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0 8px 0;
}

.header-bottom {
    padding: 8px 0 12px 0;
}

.logo {
    position: relative;
}

.logo a {
    text-decoration: none;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: flex-end;
    gap: 8px;
    transition: opacity 0.2s ease;
}

.logo a:hover h1 {
    opacity: 0.8;
}

.logo-credit {
    font-size: 11px;
    font-weight: 400;
    color: var(--text-light);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 400;
    font-size: 15px;
    transition: all 0.2s ease;
    position: relative;
    display: inline-flex;
    align-items: flex-end;
}

.nav-link::after {
    content: '●';
    color: var(--primary-color);
    font-size: 6px;
    margin-left: 2px;
    margin-bottom: 3px;
}

.nav-link:hover {
    color: #ffffff;
    font-weight: 600;
}

.nav-link-vip {
    font-weight: 600;
}

/* VIP 메뉴 기본 숨김 (JS에서 권한 확인 후 표시) */
.nav-menu li:has(.nav-link-vip) {
    display: none;
}

/* 햄버거 버튼 및 모바일 메뉴 기본 숨김 (데스크톱) */
.hamburger-btn {
    display: none;
}

.mobile-menu,
.mobile-menu-overlay {
    display: none;
}

.mobile-header-right {
    display: none;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-manage-link {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.btn-manage-link:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}

.btn-manage-text {
    line-height: 1;
}

.notification-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon-wrapper svg {
    width: 20px;
    height: 20px;
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    display: none;
}

.btn-signup {
    background: var(--primary-color);
    border: none;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-signup:hover {
    background: var(--secondary-color);
}

.logout-link {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    transition: color 0.2s ease;
    cursor: pointer;
}

.logout-link:hover {
    color: var(--text-primary);
}

.logout-link-divider {
    font-size: 12px;
    color: var(--text-light);
    margin: 0 8px;
}

/* PC 유저 드롭다운 메뉴 */
.user-dropdown {
    position: relative;
    display: inline-block;
}

.user-dropdown-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.user-dropdown-btn:hover {
    color: var(--text-primary);
}

.user-dropdown-btn svg {
    width: 22px;
    height: 22px;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    min-width: 140px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 100;
}

/* 말풍선 화살표 */
.user-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--border-color);
}

.user-dropdown-menu::after {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid var(--bg-card);
}

.user-dropdown.show .user-dropdown-menu {
    display: block;
}

.user-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.user-dropdown-menu a:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* PC에서 기존 로그아웃 링크 숨김 */
.header-actions > .logout-link,
.header-actions > .logout-link-divider {
    display: none;
}

/* Hero Section */
.hero-section {
    background-color: #000000;
    padding: 80px 0;
    text-align: center;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Section Styles */
.section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.3px;
}

.section-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

.view-all {
    color: var(--text-light);
    text-decoration: none;
    font-size: 13px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.view-all:hover {
    color: var(--primary-color);
}

/* Notice Section */
.notice-section {
    background-color: var(--bg-primary);
}

.notice-list {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.notice-accordion-item {
    border-bottom: 1px solid var(--border-color);
}

.notice-accordion-item:last-child {
    border-bottom: none;
}

.notice-accordion-item.active .notice-item {
    background-color: var(--bg-secondary);
}

.notice-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    transition: background-color 0.2s ease;
    cursor: pointer;
}

.notice-item:hover {
    background-color: var(--bg-secondary);
}

.notice-toggle {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.notice-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--bg-secondary);
}

.notice-content.active {
    max-height: 1000px;
}

.notice-content-inner {
    padding: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.8;
    border-top: 1px solid var(--border-color);
}

.notice-badge {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    background-color: var(--bg-secondary);
    color: var(--text-light);
    white-space: nowrap;
}

.notice-badge.important {
    background-color: var(--primary-color);
    color: var(--bg-primary);
}

.notice-title {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.notice-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Education Section */
.filter-tabs {
    display: flex;
    gap: 12px;
}

.filter-tab {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-tab:hover {
    border-color: var(--primary-color);
    color: var(--text-secondary);
}

.filter-tab.active {
    background-color: rgba(79, 209, 197, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
}

.card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.card-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.card-content {
    padding: 24px;
}

.card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.card-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 12px;
}

.card-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--text-light);
}

.card-duration,
.card-level {
    display: flex;
    align-items: center;
}

.card-level {
    padding: 3px 8px;
    background-color: var(--bg-secondary);
    border-radius: 4px;
    font-weight: 400;
}

/* Automation Section */
.automation-section {
    background-color: var(--bg-primary);
}

.tool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.tool-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 28px;
    text-align: center;
    transition: all 0.2s ease;
}

.tool-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.tool-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.tool-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.tool-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 20px;
}

.btn-tool {
    width: 100%;
    padding: 10px 20px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-tool:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* VIP Section */
.vip-section {
    background-color: var(--bg-primary);
}

.vip-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.vip-card {
    background-color: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.vip-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
}

.vip-card.premium {
    border: 2px solid #f59e0b;
}

.vip-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 12px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
}

.vip-card.premium .vip-badge {
    background-color: #f59e0b;
}

.vip-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.vip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vip-content {
    padding: 24px;
    color: var(--text-primary);
}

.vip-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.vip-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 16px;
}

.vip-features {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.vip-feature {
    padding: 6px 12px;
    background-color: var(--bg-secondary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light);
}

.btn-vip {
    width: 100%;
    padding: 11px 20px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-vip:hover {
    background-color: var(--secondary-color);
}

/* Reviews Section */
.reviews-section {
    background-color: var(--bg-primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    color: white;
}

.review-info {
    flex: 1;
}

.review-author {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.review-rating {
    font-size: 14px;
    color: #fbbf24;
}

.review-content {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-date {
    font-size: 12px;
    color: var(--text-light);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    padding: 48px 0 24px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.footer-description {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-contact {
    list-style: none;
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-contact li {
    margin-bottom: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .vip-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .header-top {
        padding: 16px 0;
    }

    .header-bottom {
        padding: 12px 0;
    }

    .logo h1 {
        font-size: 24px;
    }

    .logo-icon {
        font-size: 18px;
        right: -10px;
        bottom: -1px;
    }

    .nav-menu ul {
        gap: 16px;
        flex-wrap: wrap;
    }

    .btn-manage-link,
    .btn-signup {
        padding: 8px 16px;
        font-size: 13px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section {
        padding: 40px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .tool-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Page Header */
.page-header {
    background-color: #000000;
    padding: 60px 0 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.page-subtitle {
    font-size: 15px;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.page-header-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-header-action {
    padding: 10px 20px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-header-action:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Education Materials Section */
.education-materials-section {
    background-color: var(--bg-primary);
    padding: 60px 0;
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    align-items: stretch;
}

.automation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: stretch;
    max-width: 800px;
    margin: 0 auto;
}

.education-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 28px;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    color: inherit;
}

.education-materials-section .education-card:not(:nth-child(3n)):not(:last-child)::after {
    content: '›';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    color: var(--text-light);
    font-weight: 300;
}

.education-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.automation-grid .education-card {
    cursor: default;
    flex-direction: row;
    align-items: flex-start;
    gap: 24px;
}

.automation-grid .education-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}

.automation-grid .education-card-content {
    flex: 1;
}

.automation-grid .education-tags {
    margin-top: 16px;
}

.education-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    color: white;
    margin-right: 8px;
}

.education-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.education-description {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

.education-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.education-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    background-color: rgba(156, 163, 175, 0.15);
    border-radius: 6px;
    white-space: nowrap;
}

.education-tag-new {
    background-color: #e9d472;
    color: #c75611;
    font-weight: 700;
}

/* Automation Buttons */
.automation-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
}

.btn-tutorial,
.btn-use {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    gap: 6px;
}

.btn-tutorial {
    background-color: var(--bg-secondary);
    border: 1px solid var(--primary-color);
    color: var(--text-secondary);
}

.btn-tutorial:hover {
    background-color: var(--bg-card);
    border: 1px solid var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-use {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-use:hover {
    transform: translateY(-2px);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background-color: var(--primary-color);
    color: white;
}

/* Review Form Section */
.review-form-section {
    background-color: var(--bg-primary);
    padding: 60px 0 100px;
}

.review-form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-hint {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 8px;
}

/* Author Display */
.author-display {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: inline-block;
}

/* Star Rating */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 8px;
    justify-content: flex-end;
}

.star-rating input[type="radio"] {
    display: none;
}

.star-rating .star {
    font-size: 40px;
    color: var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.star-rating .star:hover,
.star-rating .star:hover ~ .star,
.star-rating input[type="radio"]:checked ~ .star {
    color: #fbbf24;
}

.star-rating .star.active {
    color: #fbbf24;
}

/* Form Textarea */
.form-textarea {
    width: 100%;
    padding: 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-card);
}

.form-textarea::placeholder {
    color: var(--text-light);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.btn-cancel,
.btn-submit {
    flex: 1;
    padding: 14px 24px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-cancel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-cancel:hover {
    background-color: var(--bg-card);
    border-color: var(--text-light);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-submit {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
}

/* Responsive Design for Review Form */
@media (max-width: 768px) {
    .review-form-section {
        padding: 40px 0 80px;
    }

    .review-form {
        gap: 32px;
    }

    .star-rating .star {
        font-size: 32px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }
}

/* Notice List Section */
.notice-list-section {
    background-color: var(--bg-primary);
    padding: 60px 0;
}

.notice-search-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.manage-controls .notice-search-wrapper {
    margin-bottom: 0;
}

.notice-search-input {
    width: 300px;
    padding: 12px 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

.notice-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.notice-search-input::placeholder {
    color: var(--text-light);
}

.loading-message,
.empty-message,
.error-message {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 14px;
}

.error-message {
    color: #ef4444;
}

/* Notice Detail Section */
.notice-detail-section {
    background-color: var(--bg-primary);
    padding: 60px 0 80px;
}

.notice-detail-container {
    /* Removed max-width to match list page width */
}

.notice-detail {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
}

.notice-detail-header {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.notice-detail-badge-wrapper {
    margin-bottom: 16px;
}

.notice-detail-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.notice-detail-date {
    font-size: 13px;
    color: var(--text-light);
}

.notice-detail-content {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.notice-actions {
    margin: 24px 0 0;
    display: flex;
    justify-content: center;
}

.btn-back {
    padding: 12px 32px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-back:hover {
    background-color: var(--bg-secondary);
    border-color: var(--primary-color);
    color: var(--text-primary);
}

/* Admin Section */
.admin-section {
    background-color: var(--bg-primary);
    padding: 60px 0 100px;
}

.admin-section .container {
    max-width: 1000px;
}

.admin-write-section,
.admin-list-section {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
}

.admin-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.admin-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-card);
}

.form-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    cursor: pointer;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* Admin Notice List */
.admin-notice-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.admin-notice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.admin-notice-item:hover {
    border-color: var(--primary-color);
}

.admin-notice-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.admin-notice-title {
    flex: 1;
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
}

.admin-notice-date {
    font-size: 12px;
    color: var(--text-light);
}

.admin-notice-actions {
    display: flex;
    gap: 8px;
}

.btn-delete {
    padding: 8px 16px;
    background-color: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-delete:hover {
    background-color: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
}

/* Responsive Design for Notice & Admin */
@media (max-width: 768px) {
    .notice-detail {
        padding: 24px;
    }

    .notice-detail-title {
        font-size: 20px;
    }

    .admin-write-section,
    .admin-list-section {
        padding: 24px;
    }

    .admin-notice-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .admin-notice-info {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .admin-notice-actions {
        width: 100%;
    }

    .btn-delete {
        width: 100%;
    }
}

/* Login Page */
.login-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: var(--bg-primary);
    padding: 160px 24px 24px;
    max-width: 420px;
    margin: 0 auto;
}

.login-logo {
    text-align: center;
    margin-bottom: 48px;
}

.login-logo h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    margin: 0;
}

.login-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.login-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.login-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.login-input {
    width: 100%;
    padding: 14px 16px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

.login-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.login-input::placeholder {
    color: var(--text-light);
}

.btn-login {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
    margin-top: 8px;
}

.btn-login:hover {
    transform: translateY(-2px);
}

.login-footer {
    width: 100%;
    text-align: center;
    margin-bottom: 24px;
}

.btn-register {
    width: 100%;
    padding: 12px 24px;
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-register:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.login-links {
    width: 100%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-link {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.login-link:hover {
    color: var(--text-primary);
}

.login-link-divider {
    font-size: 12px;
    color: var(--text-light);
}

/* Responsive Design for Login */
@media (max-width: 768px) {
    .login-logo h1 {
        font-size: 40px;
    }

    .login-form {
        gap: 20px;
    }
}

/* Manage Section */
.manage-section {
    background-color: var(--bg-primary);
    padding: 60px 0;
}

.manage-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 20px;
}

.request-section .manage-controls {
    justify-content: flex-end;
}

.manage-actions {
    display: flex;
    gap: 10px;
}

.btn-manage-action {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
}

.btn-manage-action.btn-activate {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-manage-action.btn-activate:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-manage-action.btn-suspend {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.btn-manage-action.btn-suspend:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.mentee-list {
    margin-top: 20px;
}

.mentee-table-wrapper {
    overflow-x: auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.mentee-table {
    width: 100%;
    border-collapse: collapse;
}

.mentee-table thead {
    background-color: var(--bg-secondary);
}

.mentee-table th {
    padding: 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.mentee-table td {
    padding: 16px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mentee-table tbody tr:last-child td {
    border-bottom: none;
}

.mentee-table tbody tr:hover {
    background-color: var(--bg-secondary);
}

.mentee-table tbody tr.member-row {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.mentee-table tbody tr.member-row:hover {
    background-color: rgba(139, 92, 246, 0.05);
}

.checkbox-cell {
    width: 50px;
    text-align: center;
    vertical-align: middle;
}

.mentee-table th:first-child,
.mentee-table td:first-child,
.mentee-table th.checkbox-cell,
.mentee-table td.checkbox-cell {
    width: 50px;
    min-width: 50px;
    max-width: 50px;
    text-align: center;
    padding-left: 16px;
    padding-right: 8px;
}

/* 이름, 추천인, 가입일 열 줄바꿈 방지 */
.mentee-table td {
    white-space: nowrap;
}

/* 커스텀 체크박스 스타일 */
.member-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background-color: var(--bg-card);
}

.member-checkbox:hover {
    border-color: var(--primary-color);
    background-color: rgba(139, 92, 246, 0.05);
}

.member-checkbox:checked {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.member-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* 필터 관련 스타일 */
.filterable-header {
    position: relative;
    user-select: none;
}

.filter-icon {
    font-size: 11px;
    color: var(--text-light);
    cursor: pointer;
    margin-left: 4px;
    opacity: 0.5;
    transition: all 0.2s ease;
}

.filter-icon:hover {
    opacity: 1;
    color: var(--primary-color);
}

.filter-icon.active {
    opacity: 1;
    color: var(--primary-color);
}

.filter-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-width: 200px;
    display: none;
}

.filter-dropdown.show {
    display: block;
}

.filter-header {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.filter-clear-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 12px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.filter-clear-btn:hover {
    background-color: rgba(139, 92, 246, 0.1);
}

.filter-options {
    max-height: 300px;
    overflow-y: auto;
    padding: 8px 0;
}

.filter-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 13px;
    color: var(--text-secondary);
}

.filter-option:hover {
    background-color: rgba(139, 92, 246, 0.05);
}

.filter-option input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background-color: var(--bg-card);
    margin-right: 8px;
    flex-shrink: 0;
}

.filter-option input[type="checkbox"]:hover {
    border-color: var(--primary-color);
}

.filter-option input[type="checkbox"]:checked {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

.filter-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 11px;
    font-weight: 600;
}

.filter-option span {
    flex: 1;
}

/* 필터 드롭다운 스크롤바 */
.filter-options::-webkit-scrollbar {
    width: 6px;
}

.filter-options::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.filter-options::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.filter-options::-webkit-scrollbar-thumb:hover {
    background: var(--text-light);
}

/* 필터 검색 입력 필드 스타일 */
.filter-search-box {
    min-width: 280px;
}

.filter-search-input-wrapper {
    padding: 12px;
    display: flex;
    gap: 8px;
}

.filter-search-input {
    flex: 1;
    padding: 8px 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

.filter-search-input::placeholder {
    color: var(--text-light);
}

.filter-search-input:focus {
    border-color: var(--primary-color);
    background-color: var(--bg-card);
}

.filter-search-btn {
    padding: 8px 12px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 6px;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
}

.filter-search-btn:hover {
    background-color: #7c3aed;
}

.filter-search-btn i {
    font-size: 12px;
}

/* 전체 선택 체크박스 스타일 */
#selectAllMembers,
#selectAllMentee,
#selectAllAdmin {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    background-color: var(--bg-secondary);
}

#selectAllMembers:hover,
#selectAllMentee:hover,
#selectAllAdmin:hover {
    border-color: var(--primary-color);
    background-color: rgba(139, 92, 246, 0.05);
}

#selectAllMembers:checked,
#selectAllMentee:checked,
#selectAllAdmin:checked {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--primary-color);
}

#selectAllMembers:checked::after,
#selectAllMentee:checked::after,
#selectAllAdmin:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: 600;
}

.mentor-info {
    font-size: 13px;
    color: var(--text-primary);
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.status-badge.status-normal {
    background-color: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.status-expired {
    background-color: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-badge.status-pending {
    background-color: rgba(249, 115, 22, 0.15);
    color: #f97316;
    border: 1px solid rgba(249, 115, 22, 0.3);
}

.status-badge.status-suspended {
    background-color: rgba(107, 114, 128, 0.15);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.3);
}

.mentee-table td.expired {
    color: #ef4444;
    font-weight: 500;
}

.btn-extend {
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
}

.btn-extend:hover {
    transform: translateY(-2px);
}

.btn-status-change {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
}

.btn-status-change.btn-suspend-member {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.btn-status-change.btn-suspend-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.btn-status-change.btn-activate-member {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-status-change.btn-activate-member:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

/* Extension Requests Section */
.extension-requests-section {
    padding: 40px 0;
    background-color: var(--bg-primary);
}

.section-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-color);
}

.request-container {
    margin-bottom: 40px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.request-section {
    margin-bottom: 40px;
}

.request-section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.request-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.request-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

.request-actions {
    display: flex;
    gap: 10px;
}

.btn-request-action {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-request-action.btn-approve {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.btn-request-action.btn-approve:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.btn-request-action.btn-reject {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.btn-request-action.btn-reject:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.btn-request-action.btn-suspend {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.btn-request-action.btn-suspend:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.3);
}

.requests-list {
    min-height: 60px;
    margin-top: 20px;
}

.requests-table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
}

.requests-table thead {
    background-color: var(--bg-secondary);
}

.requests-table th {
    padding: 12px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

.requests-table th:first-child {
    width: 40px;
    text-align: center;
}

.requests-table td {
    padding: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.requests-table td:first-child {
    text-align: center;
}

.requests-table tbody tr:last-child td {
    border-bottom: none;
}

.requests-table tbody tr:hover {
    background-color: var(--bg-secondary);
}

.request-reason {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    font-size: 32px;
    font-weight: 300;
    color: var(--text-light);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-mentee-name {
    font-size: 15px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.modal-form-group {
    margin-bottom: 16px;
}

.modal-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-input {
    width: 100%;
    padding: 12px 16px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

.modal-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.modal-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 12px;
}

.modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
}

.btn-modal-cancel,
.btn-modal-confirm {
    flex: 1;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-modal-cancel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-modal-cancel:hover {
    border-color: var(--text-light);
    color: var(--text-primary);
}

.btn-modal-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-modal-confirm:hover {
    transform: translateY(-2px);
}

/* Request Modal Styles */
.btn-test-request {
    padding: 10px 20px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-test-request:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.page-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.radio-label:hover {
    background-color: var(--bg-secondary);
}

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

.radio-label span {
    font-size: 14px;
    color: var(--text-secondary);
}

.modal-textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    font-family: 'Noto Sans KR', sans-serif;
    resize: vertical;
    min-height: 80px;
}

.modal-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.agreement-section {
    background-color: var(--bg-secondary);
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.agreement-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

.checkbox-label:last-child {
    margin-bottom: 0;
}

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

.checkbox-label span {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Custom Modal Styles */
.custom-modal-content {
    max-width: 500px;
    border-radius: 16px;
}

.custom-modal-body {
    padding: 32px 24px;
    text-align: center;
}

.custom-modal-message {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
    white-space: pre-line;
}

.custom-modal-footer {
    display: flex;
    gap: 12px;
    padding: 16px 24px 24px;
    justify-content: center;
}

.btn-custom-confirm,
.btn-custom-cancel {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Noto Sans KR', sans-serif;
}

.btn-custom-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn-custom-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-custom-cancel {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.btn-custom-cancel:hover {
    border-color: var(--text-light);
    color: var(--text-primary);
}

/* Responsive Design for Manage */
@media (max-width: 768px) {
    .mentee-table {
        font-size: 12px;
    }

    .mentee-table th,
    .mentee-table td {
        padding: 12px 8px;
    }

    .modal-content {
        width: 95%;
    }

    .modal-header,
    .modal-body {
        padding: 20px;
    }

    .modal-footer {
        padding: 12px 20px 20px;
        flex-direction: column;
    }

    .btn-modal-cancel,
    .btn-modal-confirm {
        width: 100%;
    }
}

/* ===== 모바일 종합 최적화 스타일 ===== */

/* 모바일 공통 스타일 */
@media (max-width: 768px) {
    /* 컨테이너 패딩 조정 */
    .container {
        padding: 0 16px;
    }

    /* 모바일에서 PC 유저 드롭다운 숨김 */
    .user-dropdown {
        display: none;
    }

    /* 모바일에서 기존 로그아웃 링크 표시 복원 */
    .header-actions > .logout-link,
    .header-actions > .logout-link-divider {
        display: inline;
    }

    /* 로그인 페이지 모바일 최적화 */
    .login-container {
        padding: 80px 20px 40px;
        max-width: 100%;
    }

    .login-logo {
        margin-bottom: 32px;
    }

    .login-logo h1 {
        font-size: 36px;
    }

    .login-form {
        gap: 16px;
    }

    .login-form-group {
        gap: 6px;
    }

    .login-label {
        font-size: 13px;
    }

    .login-input {
        padding: 12px 14px;
        font-size: 16px;
    }

    .btn-login {
        padding: 14px 20px;
        font-size: 15px;
        margin-top: 8px;
    }

    .login-footer {
        margin-bottom: 20px;
    }

    .btn-register {
        padding: 12px 20px;
        font-size: 14px;
    }

    .login-links {
        flex-wrap: wrap;
        gap: 6px;
    }

    .login-link {
        font-size: 11px;
    }

    .login-link-divider {
        font-size: 11px;
    }

    /* 헤더 모바일 최적화 */
    .header-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding: 12px 0;
        position: relative;
    }

    .logo {
        order: 2;
        flex: 1;
        text-align: center;
    }

    .logo h1 {
        font-size: 22px;
    }

    .logo-credit {
        font-size: 10px;
    }

    /* 햄버거 메뉴 버튼 - 좌측 배치 */
    .hamburger-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 36px;
        height: 36px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 6px;
        z-index: 1001;
        order: 1;
    }

    .hamburger-btn span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--text-primary);
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .hamburger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* 모바일 헤더 액션 (멘티관리 아이콘만 표시) - 우측 배치 */
    .header-actions {
        display: none;
    }

    /* 모바일 우측 상단 멘티관리 아이콘 */
    .mobile-header-right {
        order: 3;
        display: flex;
        align-items: center;
        gap: 8px;
        min-width: 36px;
    }

    .mobile-manage-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        color: var(--text-secondary);
        text-decoration: none;
        position: relative;
    }

    .mobile-manage-icon svg {
        width: 24px;
        height: 24px;
    }

    .mobile-manage-icon .notification-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        width: 8px;
        height: 8px;
        background: #ef4444;
        border-radius: 50%;
    }

    /* 모바일 메뉴 오버레이 */
    .mobile-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .mobile-menu-overlay.show {
        display: block;
        opacity: 1;
    }

    /* 모바일 슬라이드 메뉴 */
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background: #2a2a2a;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.3);
    }

    .mobile-menu.show {
        left: 0;
    }

    /* X 닫기 버튼 (메뉴 바깥) */
    .mobile-menu-close-outside {
        display: none;
        position: fixed;
        top: 16px;
        left: 296px;
        width: 36px;
        height: 36px;
        background: transparent;
        border: none;
        color: #fff;
        font-size: 32px;
        cursor: pointer;
        z-index: 1001;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-close-outside.show {
        display: flex;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 16px;
        padding: 20px;
    }

    .mobile-menu-user-link {
        display: flex;
        align-items: center;
        gap: 6px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        padding: 8px 12px;
        border-radius: 6px;
        transition: all 0.2s ease;
    }

    .mobile-menu-user-link:hover {
        background: rgba(255, 255, 255, 0.05);
        color: var(--text-primary);
    }

    .mobile-menu-user-link i {
        font-size: 12px;
    }

    .mobile-menu-nav {
        padding: 16px 0;
    }

    .mobile-menu-nav a {
        display: flex;
        align-items: center;
        padding: 14px 24px;
        color: var(--text-secondary);
        text-decoration: none;
        font-size: 15px;
        font-weight: 500;
        transition: all 0.2s ease;
        border-left: 3px solid transparent;
    }

    .mobile-menu-nav a:hover,
    .mobile-menu-nav a.active {
        background: rgba(79, 209, 197, 0.1);
        color: var(--secondary-color);
        border-left-color: var(--secondary-color);
    }

    .mobile-menu-nav a.nav-link-vip {
        color: var(--primary-color);
    }

    .mobile-menu-actions {
        padding: 16px 20px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .mobile-menu-actions .btn-signup {
        display: block;
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        font-weight: 600;
        text-align: center;
    }

    /* 헤더 하단 네비게이션 숨김 (모바일에서) */
    .header-bottom {
        display: none;
    }

    .nav-menu ul {
        gap: 12px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .nav-link {
        font-size: 13px;
        white-space: nowrap;
    }

    .btn-manage-link {
        padding: 8px 14px;
        font-size: 12px;
        gap: 6px;
    }

    .btn-signup {
        padding: 8px 16px;
        font-size: 12px;
    }

    .logout-link,
    .logout-link-divider {
        font-size: 11px;
    }

    /* 히어로 섹션 모바일 */
    .hero-section {
        padding: 48px 0;
    }

    .hero-title {
        font-size: 24px;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
    }

    /* 페이지 헤더 모바일 */
    .page-header {
        padding: 40px 0 32px;
    }

    .page-title {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .page-subtitle {
        font-size: 13px;
        margin-bottom: 20px;
    }

    .page-header-buttons {
        gap: 8px;
    }

    .btn-header-action {
        padding: 8px 14px;
        font-size: 13px;
    }

    /* 섹션 스타일 모바일 */
    .section {
        padding: 32px 0;
    }

    .section-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 18px;
    }

    .view-all {
        font-size: 12px;
        align-self: flex-end;
    }

    /* 필터 탭 모바일 */
    .filter-tabs {
        gap: 8px;
        flex-wrap: wrap;
    }

    .filter-tab {
        padding: 6px 12px;
        font-size: 12px;
    }

    /* 카드 그리드 모바일 */
    .card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .card-image {
        height: 160px;
    }

    .card-content {
        padding: 16px;
    }

    .card-title {
        font-size: 14px;
    }

    .card-description {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .card-meta {
        font-size: 11px;
    }

    /* 교육자료 그리드 모바일 */
    .education-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .education-materials-section .education-card::after {
        display: none;
    }

    .education-card {
        padding: 20px;
    }

    .education-number {
        width: 22px;
        height: 22px;
        font-size: 12px;
    }

    .education-title {
        font-size: 15px;
    }

    .education-description {
        font-size: 12px;
    }

    .education-tags {
        margin-top: 12px;
    }

    .education-tag {
        font-size: 10px;
        padding: 3px 8px;
    }

    /* 자동화 그리드 모바일 */
    .automation-grid .education-card {
        flex-direction: column;
        gap: 16px;
    }

    .automation-buttons {
        width: 100%;
        min-width: auto;
        flex-direction: row;
    }

    .btn-tutorial,
    .btn-use {
        flex: 1;
        padding: 10px 16px;
        font-size: 12px;
    }

    /* 공지사항 모바일 */
    .notice-item {
        padding: 14px 16px;
        gap: 10px;
    }

    .notice-badge {
        padding: 3px 8px;
        font-size: 10px;
    }

    .notice-title {
        font-size: 13px;
    }

    .notice-date {
        font-size: 11px;
        display: none;
    }

    .notice-toggle {
        font-size: 10px;
    }

    .notice-content-inner {
        padding: 16px;
        font-size: 13px;
    }

    /* 공지사항 검색 모바일 */
    .notice-search-wrapper {
        justify-content: stretch;
    }

    .notice-search-input {
        width: 100%;
        max-width: 280px;
        font-size: 16px;
        padding: 10px 14px;
    }

    /* 공지사항 상세 모바일 */
    .notice-detail-section {
        padding: 32px 0 48px;
    }

    .notice-detail {
        padding: 20px;
    }

    .notice-detail-header {
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .notice-detail-title {
        font-size: 18px;
    }

    .notice-detail-date {
        font-size: 12px;
    }

    .notice-detail-content {
        font-size: 14px;
        line-height: 1.7;
    }

    .btn-back {
        padding: 10px 24px;
        font-size: 13px;
    }

    /* 리뷰 그리드 모바일 */
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .review-card {
        padding: 18px;
    }

    .review-header {
        gap: 10px;
        margin-bottom: 12px;
    }

    .review-avatar {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .review-author {
        font-size: 13px;
    }

    .review-rating {
        font-size: 13px;
    }

    .review-content {
        font-size: 12px;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    .review-date {
        font-size: 11px;
    }

    /* 리뷰 작성 폼 모바일 */
    .review-form-section {
        padding: 32px 0 60px;
    }

    .review-form {
        gap: 28px;
    }

    .form-label {
        font-size: 14px;
    }

    .form-hint {
        font-size: 11px;
    }

    .star-rating {
        gap: 4px;
    }

    .star-rating .star {
        font-size: 28px;
    }

    .form-textarea {
        padding: 14px;
        font-size: 14px;
    }

    /* VIP 그리드 모바일 */
    .vip-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .vip-image {
        height: 200px;
    }

    .vip-content {
        padding: 18px;
    }

    .vip-badge {
        padding: 5px 10px;
        font-size: 10px;
    }

    .vip-title {
        font-size: 16px;
    }

    .vip-description {
        font-size: 12px;
    }

    .vip-features {
        gap: 6px;
        margin-bottom: 16px;
    }

    .vip-feature {
        padding: 5px 10px;
        font-size: 11px;
    }

    .btn-vip {
        padding: 10px 16px;
        font-size: 13px;
    }

    /* 툴 그리드 모바일 */
    .tool-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tool-card {
        padding: 20px;
    }

    .tool-title {
        font-size: 15px;
    }

    .tool-description {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .btn-tool {
        padding: 10px 16px;
        font-size: 12px;
    }

    /* 관리 페이지 모바일 */
    .manage-controls {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .manage-controls .notice-search-input {
        width: 100%;
        max-width: none;
    }

    .manage-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .btn-manage-action {
        flex: none;
        min-width: auto;
        padding: 10px 16px;
        font-size: 13px;
    }

    /* 테이블 모바일 스크롤 */
    .mentee-table-wrapper {
        margin: 0 -16px;
        padding: 0 16px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .mentee-table {
        min-width: 700px;
    }

    /* 연장 요청 섹션 모바일 */
    .request-container {
        padding: 16px;
    }

    .request-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .request-actions {
        width: 100%;
    }

    .btn-request-action {
        flex: 1;
        padding: 10px 14px;
        font-size: 12px;
    }

    /* 모달 모바일 */
    .modal-content {
        width: 95%;
        margin: 16px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .modal-header {
        padding: 18px;
    }

    .modal-header h3 {
        font-size: 16px;
    }

    .modal-close {
        font-size: 28px;
    }

    .modal-body {
        padding: 18px;
    }

    .modal-footer {
        padding: 12px 18px 18px;
    }

    .modal-form-group label {
        font-size: 13px;
    }

    .modal-input,
    .modal-textarea {
        font-size: 16px;
        padding: 10px 12px;
    }

    /* 푸터 모바일 */
    .footer {
        padding: 32px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 24px;
    }

    .footer-logo {
        font-size: 20px;
    }

    .footer-description {
        font-size: 12px;
    }

    .footer-title {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-links li {
        margin-bottom: 8px;
    }

    .footer-links a {
        font-size: 12px;
    }

    .footer-contact {
        font-size: 12px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 11px;
    }
}

/* Access Rights (마이페이지 액세스 권한) */
.access-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
}

.access-card-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.access-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    min-height: 40px;
}

.access-item:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.access-label {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1;
}

.access-value {
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.access-value.access-allowed {
    color: #ffffff;
}

.access-value.access-denied {
    color: #ef4444;
}

.access-value.access-partial {
    color: #f97316;
}

@media (max-width: 768px) {
    .access-card {
        padding: 18px;
    }

    .access-card-title {
        font-size: 14px;
        margin-bottom: 14px;
        padding-bottom: 10px;
    }

    .access-item {
        padding: 8px 0;
        min-height: 36px;
    }

    .access-label,
    .access-value {
        font-size: 13px;
    }
}

/* 더 작은 화면 (480px 이하) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .login-container {
        padding: 60px 16px 32px;
    }

    .login-logo h1 {
        font-size: 32px;
    }

    .hero-title {
        font-size: 20px;
    }

    .page-title {
        font-size: 20px;
    }

    .section-title {
        font-size: 16px;
    }

    .nav-link {
        font-size: 12px;
    }

    .header-actions {
        flex-wrap: wrap;
    }

    .btn-manage-link,
    .btn-signup {
        font-size: 11px;
        padding: 7px 12px;
    }

    /* 버튼들 세로 배치 */
    .form-actions {
        flex-direction: column;
    }

    .manage-actions {
        flex-direction: row;
        gap: 8px;
    }

    .btn-manage-action {
        flex: 1;
        min-width: auto;
        padding: 8px 12px;
        font-size: 12px;
    }

    .request-actions {
        flex-direction: column;
    }

    .btn-request-action {
        width: 100%;
    }

    /* 자동화 버튼 세로 배치 */
    .automation-buttons {
        flex-direction: column;
    }

    .btn-tutorial,
    .btn-use {
        width: 100%;
    }

    /* 강의 상세페이지 (lecture.html) 모바일 최적화 */
    .lecture-detail-section {
        padding: 32px 0 48px;
    }

    .lecture-detail-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .lecture-sidebar {
        position: static;
        order: 2;
    }

    .lecture-main {
        order: 1;
    }

    .lecture-header {
        padding: 20px;
    }

    .lecture-header-text .badge {
        padding: 4px 10px;
        font-size: 10px;
    }

    .lecture-header-text h1 {
        font-size: 20px;
        line-height: 1.3;
    }

    .lecture-header-text .description {
        font-size: 13px;
    }

    .lecture-video-container {
        border-radius: 12px;
    }

    .lecture-content-box {
        padding: 20px;
    }

    .lecture-content-box h3 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .lecture-content-text {
        font-size: 13px;
        line-height: 1.6;
    }

    /* 챕터 목록 모바일 */
    .chapter-list {
        padding: 16px;
    }

    .chapter-item {
        margin-bottom: 12px;
    }

    .chapter-header {
        padding: 14px;
        gap: 10px;
    }

    .chapter-number {
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .chapter-title {
        font-size: 14px;
        line-height: 1.3;
    }

    .chapter-toggle {
        width: 20px;
        height: 20px;
    }

    .lecture-list {
        padding: 8px 12px 12px;
    }

    .lecture-item {
        padding: 10px 12px;
        font-size: 13px;
    }

    .lecture-item-number {
        min-width: 20px;
        font-size: 12px;
    }

    .lecture-item-title {
        font-size: 13px;
    }

    .lecture-item-duration {
        font-size: 11px;
    }

    /* 회원가입 페이지 모바일 */
    .back-button-wrapper {
        margin-bottom: 16px;
    }

    .btn-back-to-login {
        font-size: 13px;
    }

    .step-indicator {
        padding: 10px;
        margin-bottom: 20px;
    }

    .step-text {
        font-size: 13px;
    }

    .info-section,
    .input-section {
        margin-bottom: 20px;
    }

    .info-title {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .info-text-group {
        padding: 10px 0;
    }

    .info-label,
    .info-value {
        font-size: 13px;
    }

    .terms-section {
        padding: 16px 0;
        gap: 10px;
        margin: 8px 0 20px 0;
    }

    .terms-checkbox {
        width: 16px;
        height: 16px;
    }

    .terms-text {
        font-size: 13px;
    }

    .button-group {
        flex-direction: column;
        gap: 10px;
    }

    .btn-secondary {
        padding: 14px;
        font-size: 14px;
    }

    /* 마이페이지 모바일 추가 */
    .mypage-section {
        padding: 40px 0 60px;
    }

    .mypage-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .mypage-sidebar {
        position: static;
    }

    .mypage-nav {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mypage-nav-item {
        border-bottom: none;
        border-right: 1px solid var(--border-color);
        flex-shrink: 0;
    }

    .mypage-nav-item:last-child {
        border-right: none;
    }

    .mypage-nav-link {
        padding: 14px 18px;
        font-size: 13px;
        white-space: nowrap;
    }

    .mypage-nav-link.active {
        border-left: none;
        border-bottom: 3px solid var(--primary-color);
    }

    .mypage-content {
        padding: 24px 20px;
    }

    .mypage-content-title {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .profile-info-label {
        font-size: 12px;
    }

    .profile-info-value {
        font-size: 14px;
        padding: 10px 14px;
    }

    .access-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .access-card {
        padding: 16px;
    }

    .access-item {
        min-height: 34px;
    }

    .access-label,
    .access-value {
        font-size: 12px;
    }

    .access-rights-title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    /* 멘티등록 페이지 모바일 */
    .form-label {
        font-size: 13px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 16px;
    }

    .radio-group {
        gap: 10px;
    }

    .radio-label {
        padding: 12px 14px;
    }

    .radio-label input[type="radio"] {
        width: 16px;
        height: 16px;
        margin-right: 10px;
    }

    .radio-text {
        font-size: 13px;
    }

    .file-input::file-selector-button {
        padding: 7px 14px;
        font-size: 12px;
    }

    .form-help-text {
        font-size: 11px;
    }

    .form-warning-text p {
        font-size: 11px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn-cancel,
    .btn-submit {
        padding: 14px;
        font-size: 14px;
        width: 100%;
    }

    /* 후기 관리 모바일 */
    .review-filter-tabs {
        gap: 6px;
        flex-wrap: wrap;
    }

    .review-filter-btn {
        padding: 7px 12px;
        font-size: 12px;
    }

    .review-manage-item {
        flex-direction: column;
        padding: 14px;
    }

    .review-manage-image {
        width: 100%;
        height: 160px;
    }

    .review-manage-header {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .review-manage-title {
        font-size: 13px;
        max-width: 100%;
    }

    .review-manage-author {
        font-size: 13px;
    }

    .review-manage-content {
        font-size: 12px;
    }

    .review-manage-actions {
        justify-content: flex-start;
    }

    /* DM 제안서 페이지 모바일 */
    .dm-proposal-container {
        padding: 0 16px 32px;
    }

    .dm-form-group {
        margin-bottom: 16px;
    }

    .dm-label {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .dm-input,
    .dm-select {
        padding: 12px 14px;
        font-size: 16px;
    }

    .dm-btn {
        padding: 14px;
        font-size: 14px;
    }

    .dm-usage-info {
        font-size: 12px;
    }

    .dm-proposal-content {
        padding: 16px;
        font-size: 13px;
        max-height: 400px;
    }

    .dm-proposal-notice {
        font-size: 12px;
        gap: 8px;
    }

    .dm-button-group {
        gap: 8px;
    }

    /* 상세제안서 페이지 모바일 */
    .detail-proposal-container {
        padding: 0 16px 32px;
    }

    .detail-form-section {
        padding: 18px 14px;
        margin-bottom: 20px;
    }

    .detail-section-title {
        font-size: 16px;
        flex-wrap: wrap;
        gap: 6px;
    }

    .detail-section-hint {
        font-size: 11px;
        flex-basis: 100%;
    }

    .detail-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .detail-form-group {
        margin-bottom: 14px;
    }

    .detail-label {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .detail-input,
    .detail-textarea {
        padding: 12px 14px;
        font-size: 16px;
    }

    .detail-textarea.notes {
        min-height: 150px;
    }

    .file-upload-area {
        padding: 20px 16px;
    }

    .file-upload-area i {
        font-size: 28px;
    }

    .file-upload-area p {
        font-size: 13px;
    }

    .submit-section {
        margin-top: 24px;
    }

    .submit-btn {
        width: 100%;
        padding: 16px;
        font-size: 15px;
    }

    /* 결과 섹션 모바일 */
    .result-section {
        max-width: 100%;
        padding: 0 16px;
        margin: 32px auto;
    }

    .result-card {
        padding: 32px 20px;
    }

    .result-icon {
        font-size: 50px;
        margin-bottom: 16px;
    }

    .result-title {
        font-size: 20px;
    }

    .result-message {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .result-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* 접근 제한 메시지 모바일 */
    .access-denied-page {
        padding: 48px 16px;
    }

    .access-denied-page .access-denied-icon {
        font-size: 52px;
        margin-bottom: 16px;
    }

    .access-denied-page .access-denied-title {
        font-size: 18px;
    }

    .access-denied-page .access-denied-message {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .access-denied-page .access-denied-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    /* 로딩 오버레이 모바일 */
    .spinner {
        width: 40px;
        height: 40px;
    }

    .loading-text {
        font-size: 14px;
    }
}