/* AX Class - 관리자 모드 전용 스타일 */

/* ==================== Alpine.js 지원 ==================== */
[x-cloak] {
    display: none !important;
}

/* ==================== 관리자 컬러 시스템 ==================== */
:root {
    /* 기본 Primary Colors (새 브랜드 컬러) */
    --primary: #A52502;
    --primary-dark: #390D02;
    --primary-orange: #A52502; /* 기존 호환성 */
    --primary-pink: #A52502; /* 기존 호환성 */
    --secondary: #1C8394;
    --accent: #154B52;

    /* Admin 전용 Colors */
    --admin-primary: #1C8394; /* 청록색 - 관리자 액센트 */
    --admin-bg: #f8fafc; /* 밝은 회색 배경 */
    --admin-sidebar: #000B0D; /* 검은색 사이드바 */
    --admin-sidebar-hover: #154B52; /* 어두운 청록 */
    --admin-header: #ffffff;
    --admin-border: #e2e8f0;

    /* 상태 Colors */
    --status-success: #10b981;
    --status-warning: #f59e0b;
    --status-danger: #ef4444;
    --status-info: #1C8394;
}

/* ==================== Body 배경 ==================== */
body.admin-page {
    background-color: var(--admin-bg);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* ==================== 전체 레이아웃 ==================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: var(--admin-bg);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* ==================== 사이드바 ==================== */
.admin-sidebar {
    width: 240px;
    background-color: var(--admin-sidebar);
    color: white;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    min-height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.admin-sidebar::-webkit-scrollbar {
    width: 6px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.admin-sidebar-logo {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-sidebar-logo img {
    height: 32px;
}

.admin-sidebar-logo-text {
    font-size: 18px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.admin-sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-sidebar-footer {
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.admin-nav,
.admin-sidebar-menu {
    padding: 16px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.admin-nav-item,
.admin-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #cbd5e1;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
}

.admin-nav-item:hover,
.admin-menu-item:hover {
    background-color: var(--admin-sidebar-hover);
    color: white;
}

.admin-nav-item.active,
.admin-menu-item.active {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
    border-left: 3px solid var(--primary-orange);
    padding-left: 17px;
}

.admin-nav-icon,
.admin-menu-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.admin-nav-text {
    font-size: 14px;
}

.admin-menu-section {
    margin-top: 24px;
    padding: 0 20px 8px;
}

.admin-menu-section-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.admin-menu-submenu {
    margin-left: 32px;
}

.admin-menu-submenu .admin-menu-item {
    padding: 8px 20px;
    font-size: 14px;
}

/* ==================== 메인 컨텐츠 ==================== */
.admin-main {
    margin-left: 240px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
    max-width: calc(100vw - 240px);
}

/* ==================== 모바일 헤더 ==================== */
.admin-mobile-header {
    display: none;
    background-color: var(--admin-header);
    border-bottom: 1px solid var(--admin-border);
    padding: 12px 16px;
    align-items: center;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 1100;
}

.admin-hamburger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.admin-hamburger-line {
    width: 24px;
    height: 2px;
    background-color: #475569;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 1024px) {
    .admin-mobile-header {
        display: flex;
    }

    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }
}

/* ==================== 헤더 ==================== */
.admin-header {
    background-color: var(--admin-header);
    border-bottom: 1px solid var(--admin-border);
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 900;
    height: 64px;
    width: 100%;
    box-sizing: border-box;
}

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

.admin-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #475569;
}

.admin-sidebar-toggle svg {
    width: 24px;
    height: 24px;
}

.admin-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
}

.admin-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.admin-breadcrumb a:hover {
    color: var(--primary-orange);
}

.admin-breadcrumb-separator {
    color: #cbd5e1;
}

.admin-breadcrumb-current {
    color: #0f172a;
    font-weight: 600;
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.admin-header-notification {
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #475569;
    transition: color 0.2s;
}

.admin-header-notification:hover {
    color: var(--primary-orange);
}

.admin-header-notification svg {
    width: 20px;
    height: 20px;
}

.admin-header-notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background-color: var(--status-danger);
    border-radius: 50%;
    border: 2px solid white;
}

.admin-header-user {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.admin-header-user:hover {
    background-color: #f1f5f9;
}

.admin-header-user-avatar {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.admin-header-user-info {
    display: flex;
    flex-direction: column;
    min-width: 80px;
}

.admin-header-user-name {
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    white-space: nowrap;
}

.admin-header-user-role {
    font-size: 13px;
    color: #64748b;
    white-space: nowrap;
}

/* ==================== 컨텐츠 영역 ==================== */
.admin-content {
    flex: 1;
    padding: 32px;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

.admin-page-header {
    margin-bottom: 32px;
}

.admin-page-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.admin-page-description {
    font-size: 14px;
    color: #64748b;
}

/* ==================== 통계 카드 ==================== */
.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
    width: 100%;
    box-sizing: border-box;
}

.admin-stat-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--admin-border);
    transition: all 0.2s;
    box-sizing: border-box;
    overflow: hidden;
}

.admin-stat-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.admin-stat-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.admin-stat-card-title {
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
}

.admin-stat-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-stat-card-icon svg {
    width: 20px;
    height: 20px;
}

.admin-stat-card-icon.primary {
    background: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
}

.admin-stat-card-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--status-success);
}

.admin-stat-card-icon.info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--status-info);
}

.admin-stat-card-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--status-warning);
}

.admin-stat-card-value {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
}

.admin-stat-card-trend {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
}

.admin-stat-card-trend.up {
    color: var(--status-success);
}

.admin-stat-card-trend.down {
    color: var(--status-danger);
}

.admin-stat-card-trend svg {
    width: 16px;
    height: 16px;
}

/* ==================== 카드 ==================== */
.admin-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--admin-border);
    padding: 24px;
    box-sizing: border-box;
    width: 100%;
}

.admin-card-header {
    padding: 0 0 20px 0;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
}

.admin-card-body {
    padding: 24px;
}

.admin-card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--admin-border);
    background-color: #f8fafc;
}

/* ==================== 버튼 ==================== */
.admin-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
}

.admin-btn svg {
    width: 16px;
    height: 16px;
}

.admin-btn-primary {
    background-color: var(--primary-orange);
    color: white;
}

.admin-btn-primary:hover {
    background-color: #ea580c;
}

.admin-btn-secondary {
    background-color: #f1f5f9;
    color: #475569;
}

.admin-btn-secondary:hover {
    background-color: #e2e8f0;
}

.admin-btn-success {
    background-color: var(--status-success);
    color: white;
}

.admin-btn-success:hover {
    background-color: #059669;
}

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

.admin-btn-danger:hover {
    background-color: #dc2626;
}

.admin-btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.admin-btn-lg {
    padding: 14px 28px;
    font-size: 16px;
}

/* ==================== 테이블 ==================== */
.admin-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

/* 컬럼이 많은 테이블용 (회원 관리 등) */
.admin-table-wide {
    min-width: 1000px;
}

.admin-table thead {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--admin-border);
}

.admin-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.admin-table td {
    padding: 16px;
    border-bottom: 1px solid var(--admin-border);
    font-size: 14px;
    color: #0f172a;
}

.admin-table tbody tr:hover {
    background-color: #f8fafc;
}

.admin-table-checkbox {
    width: 40px;
    text-align: center;
}

.admin-table-actions {
    width: 120px;
    text-align: right;
}

/* 테이블 셀 내용이 긴 경우 처리 */
.admin-table td[data-truncate] {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==================== 배지 ==================== */
.admin-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.admin-badge-primary {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
}

.admin-badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--status-success);
}

.admin-badge-warning {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--status-warning);
}

.admin-badge-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--status-danger);
}

.admin-badge-info {
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--status-info);
}

.admin-badge-neutral,
.admin-badge-default {
    background-color: #f1f5f9;
    color: #475569;
}

.admin-badge-birthday {
    background: linear-gradient(135deg, #ff6b9d 0%, #ffa06b 100%);
    color: white;
    font-weight: 700;
    animation: birthday-pulse 2s ease-in-out infinite;
}

/* ==================== 폼 ==================== */
.admin-form-group {
    margin-bottom: 20px;
}

.admin-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
}

.admin-form-label.required::after {
    content: '*';
    color: var(--status-danger);
    margin-left: 4px;
}

.admin-form-label-sm {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.admin-form-input,
.admin-form-select,
.admin-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.2s;
}

.admin-form-input:focus,
.admin-form-select:focus,
.admin-form-textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.admin-form-textarea {
    min-height: 120px;
    resize: vertical;
}

.admin-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    color: #64748b;
}

/* ==================== 필터 바 ==================== */
.admin-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--admin-border);
}

.admin-filter-item {
    flex: 1;
    min-width: 200px;
}

/* ==================== 페이지네이션 ==================== */
.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
}

.admin-pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    background: white;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.admin-pagination-btn:hover {
    background-color: #f1f5f9;
}

.admin-pagination-btn.active {
    background-color: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

.admin-pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==================== 모달 ==================== */
.admin-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.admin-modal {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

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

.admin-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.admin-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #64748b;
}

.admin-modal-close:hover {
    color: #0f172a;
}

.admin-modal-body {
    padding: 24px;
}

.admin-modal-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--admin-border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ==================== 반응형 (모바일) ==================== */
@media (max-width: 1024px) {
    .admin-sidebar {
        transform: translateX(-100%);
    }

    .admin-sidebar.open {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
        max-width: 100vw;
        width: 100%;
    }

    .admin-sidebar-toggle {
        display: block;
    }

    .admin-content {
        padding: 20px;
        width: 100%;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .admin-header {
        padding: 12px 12px;
    }

    .admin-breadcrumb {
        display: none;
    }

    .admin-header-user-info {
        display: none;
    }

    .admin-content {
        padding: 16px 12px;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .admin-stat-card {
        padding: 14px;
    }

    .admin-stat-card-title {
        font-size: 13px;
    }

    .admin-stat-card-value {
        font-size: 24px;
    }

    .admin-stat-card-icon {
        width: 36px;
        height: 36px;
    }

    .admin-stat-card-icon svg {
        width: 18px;
        height: 18px;
    }

    .admin-stat-card-trend {
        font-size: 12px;
    }

    .admin-filter-bar {
        flex-direction: column;
    }

    .admin-filter-item {
        width: 100%;
    }
}

/* ==================== 차트 컨테이너 ==================== */
.admin-chart-container {
    position: relative;
    height: 300px;
    margin-top: 20px;
}

/* ==================== 빈 상태 ==================== */
.admin-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
}

.admin-empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.3;
}

.admin-empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.admin-empty-state-description {
    font-size: 15px;
    margin-bottom: 20px;
}

/* ==================== 로딩 스피너 ==================== */
.admin-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(249, 115, 22, 0.2);
    border-top-color: var(--primary-orange);
    border-radius: 50%;
    animation: admin-spin 0.8s linear infinite;
}

@keyframes admin-spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== 유틸리티 클래스 ==================== */
/* Flex Layouts */
.admin-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

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

.admin-flex-center {
    display: flex;
    align-items: center;
}

.admin-flex-gap-6 {
    display: flex;
    gap: 6px;
}

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

.admin-flex-gap-10 {
    display: flex;
    gap: 10px;
}

.admin-flex-gap-12 {
    display: flex;
    gap: 12px;
}

.admin-flex-end {
    display: flex;
    justify-content: flex-end;
}

.admin-flex-align-end {
    display: flex;
    align-items: flex-end;
}

/* Grid Layouts */
.admin-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .admin-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

.admin-grid-gap-16 {
    display: grid;
    gap: 16px;
}

.admin-stats-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .admin-stats-grid-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 400px) {
    .admin-stats-grid-compact {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Text Styles */
.admin-info-label {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 4px;
}

.admin-info-value {
    font-weight: 600;
    font-size: 14px;
    color: #0f172a;
}

.admin-text-secondary {
    font-size: 13px;
    color: #64748b;
}

.admin-text-primary {
    font-weight: 600;
    color: #f97316;
}

.admin-text-sm {
    font-size: 14px;
}

/* Spacing Utilities */
.admin-m-0 {
    margin: 0;
}

.admin-mb-8 {
    margin-bottom: 8px;
}

.admin-mb-24 {
    margin-bottom: 24px;
}

.admin-mb-32 {
    margin-bottom: 32px;
}

.admin-p-0 {
    padding: 0;
}

/* Component Utilities */
.admin-card-body-nopad {
    padding: 0;
}

.admin-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
    position: relative;
}

.admin-user-avatar-lg {
    width: 36px;
    height: 36px;
    font-size: 14px;
}

/* 생일 아바타 - 애니메이션 테두리 */
.admin-birthday-avatar {
    border: 3px solid transparent;
    background-image:
        linear-gradient(white, white),
        linear-gradient(135deg, #ff6b9d, #ffa06b, #ffd93d, #6bcf7f, #4facfe, #ff6b9d);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    animation: birthday-spin 3s linear infinite;
}

.admin-birthday-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: birthday-bounce 1s ease-in-out infinite;
}

.admin-icon-sm {
    width: 14px;
    height: 14px;
}

.admin-icon-md {
    width: 16px;
    height: 16px;
}

.admin-progress-bar {
    flex: 1;
    background: #e2e8f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
}

.admin-progress-fill {
    background: #f97316;
    height: 100%;
    transition: width 0.3s ease;
}

.admin-badge-icon.danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Width Utilities */
.admin-w-auto {
    width: auto;
}

.admin-w-100 {
    width: 100px;
}

.admin-w-120 {
    width: 120px;
}

.admin-flex-1 {
    flex: 1;
}

/* ==================== 대시보드 전용 ==================== */
.admin-dashboard-recent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1024px) {
    .admin-dashboard-recent-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        min-width: 0;
    }
}

/* ==================== 모바일 카드 UI ==================== */
.admin-mobile-card-list {
    display: none; /* 기본적으로 숨김 (PC에서) */
    flex-direction: column;
    gap: 12px;
}

.admin-mobile-card {
    background: white;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.2s;
    max-width: 100%;
    overflow: hidden;
}

.admin-mobile-card:active {
    background-color: #f8fafc;
}

.admin-mobile-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--admin-border);
}

.admin-mobile-card-title {
    font-weight: 700;
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 4px;
    word-break: break-word;
    flex: 1;
    min-width: 0;
}

.admin-mobile-card-subtitle {
    font-size: 14px;
    color: #64748b;
}

.admin-mobile-card-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.admin-mobile-card-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
}

.admin-mobile-card-label {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    flex-shrink: 0;
    min-width: 75px;
    max-width: 90px;
}

.admin-mobile-card-value {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
    word-break: break-word;
    overflow-wrap: break-word;
    flex: 1;
    min-width: 0;
}

.admin-mobile-card-actions {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--admin-border);
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

/* ==================== 반응형 유틸리티 클래스 ==================== */
/* 기본: PC에서는 hide-mobile을 보이고, show-mobile을 숨김 */
.hide-mobile {
    display: block;
}

.show-mobile {
    display: none;
}

/* PC에서 숨기고 모바일에서 보이기 */
.hide-desktop {
    display: none;
}

/* ==================== 반응형 미디어 쿼리 ==================== */
/* 모바일 전용 스타일 */
@media (max-width: 640px) {
    .hide-mobile {
        display: none !important;
    }

    .show-mobile {
        display: block;
    }
}

@media (max-width: 1024px) {
    /* 테이블 숨기기 */
    .admin-table-wrapper.hide-mobile {
        display: none;
    }

    /* 모바일 카드 보이기 */
    .admin-mobile-card-list {
        display: flex;
    }

    /* hide-desktop 클래스가 있는 요소 보이기 */
    .hide-desktop {
        display: block;
    }

    /* 카드 바디 안의 모바일 카드 리스트에 패딩 추가 */
    .admin-card-body .admin-mobile-card-list {
        padding: 16px;
    }

    /* 통계 카드 2열로 변경 */
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 2열 그리드를 1열로 변경 */
    .admin-content > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 640px) {
    /* 카드 바디 안의 모바일 카드 리스트 패딩 감소 */
    .admin-card-body .admin-mobile-card-list {
        padding: 10px;
        gap: 10px;
    }

    /* 모바일 카드 패딩 조정 */
    .admin-mobile-card {
        padding: 12px;
    }

    /* 모바일 카드 헤더 간격 줄이기 */
    .admin-mobile-card-header {
        gap: 8px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    /* 모바일 카드 바디 간격 줄이기 */
    .admin-mobile-card-body {
        gap: 8px;
    }

    /* 모바일에서 배지 크기 조정 */
    .admin-badge {
        padding: 3px 10px;
        font-size: 12px;
    }

    /* 모바일 카드 제목 폰트 크기 조정 */
    .admin-mobile-card-title {
        font-size: 14px;
    }

    /* 통계 카드 2열 유지, 간격만 조정 */
    .admin-stats-grid {
        gap: 8px;
    }

    .admin-stat-card {
        padding: 12px;
    }

    .admin-stat-card-value {
        font-size: 22px;
    }

    .admin-stat-card-trend {
        font-size: 11px;
    }

    /* 필터 바 간격 조정 */
    .admin-filter-bar {
        padding: 16px;
        gap: 10px;
    }

    /* 페이지 헤더 */
    .admin-page-title {
        font-size: 22px;
    }

    .admin-page-description {
        font-size: 13px;
    }

    /* 모바일에서 라벨 최소 너비 줄이기 */
    .admin-mobile-card-label {
        min-width: 65px;
        max-width: 80px;
        font-size: 13px;
    }

    /* 모바일에서 카드 행 간격 줄이기 */
    .admin-mobile-card-row {
        gap: 6px;
    }

    /* 액션 버튼 전체 너비 */
    .admin-mobile-card-actions .admin-btn {
        flex: 1;
    }
}

/* 매우 작은 화면 (400px 이하) 추가 최적화 - 통계 카드 1열 */
@media (max-width: 400px) {
    .admin-header {
        padding: 10px 8px;
    }

    .admin-content {
        padding: 12px 8px;
    }

    .admin-header-right {
        gap: 8px;
    }

    .admin-header-notification {
        padding: 6px;
    }

    .admin-header-user {
        padding: 6px 8px;
    }

    .admin-header-user-avatar {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    /* 매우 작은 화면에서는 통계 카드 1열로 */
    .admin-stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 20px;
    }

    .admin-stat-card {
        padding: 16px;
    }

    .admin-stat-card-value {
        font-size: 26px;
    }

    .admin-stat-card-icon {
        width: 38px;
        height: 38px;
    }

    .admin-stat-card-icon svg {
        width: 19px;
        height: 19px;
    }

    .admin-page-header {
        margin-bottom: 20px;
    }

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

    .admin-card-header {
        padding: 0 0 16px 0;
    }

    .admin-card-body {
        padding: 16px;
    }

    .admin-dashboard-recent-grid {
        gap: 12px;
        margin-bottom: 20px;
    }
}

/* ==================== 모달 ==================== */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.admin-modal {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

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

.admin-modal-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.admin-modal-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-modal-close:hover {
    background: #f3f4f6;
    color: #1f2937;
}

.admin-modal-body {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
}

.admin-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid var(--admin-border);
    background: #f9fafb;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.admin-form-hint {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.required::after {
    content: " *";
    color: #ef4444;
}

/* 모달 애니메이션 */
.admin-modal-overlay {
    animation: fadeIn 0.2s ease-out;
}

.admin-modal {
    animation: slideUp 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

/* 생일 애니메이션 */
@keyframes birthday-spin {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes birthday-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

@keyframes birthday-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .admin-modal {
        max-width: 100%;
        max-height: 95vh;
    }

    .admin-modal-header,
    .admin-modal-body,
    .admin-modal-footer {
        padding: 16px;
    }
}

/* ==================== 유틸리티 클래스 ==================== */

/* 아이콘 */
.admin-icon-star {
    width: 16px;
    height: 16px;
    color: #f59e0b;
}

/* Flex 유틸리티 */
.admin-flex-gap-4 {
    display: flex;
    gap: 4px;
}

.admin-flex-gap-12 {
    display: flex;
    gap: 12px;
}

.admin-flex-align-start {
    align-items: flex-start;
}

.admin-flex-align-center {
    align-items: center;
}

.admin-flex-align-end {
    align-items: flex-end;
}

.admin-flex-1 {
    flex: 1;
}

/* Margin */
.admin-mt-12 {
    margin-top: 12px;
}

/* Width & Min-width */
.admin-min-w-0 {
    min-width: 0;
}

.admin-w-auto {
    width: auto;
}

.admin-w-120 {
    width: 120px;
}

.admin-m-0 {
    margin: 0;
}

/* 버튼 Extra Small */
.admin-btn-xs {
    padding: 4px 12px;
    font-size: 13px;
    line-height: 1.4;
}

.admin-btn-xs svg {
    width: 14px;
    height: 14px;
}

/* 테이블 썸네일 */
.admin-table-thumbnail {
    width: 64px;
    height: 40px;
    object-fit: cover;
    border-radius: 4px;
}

/* 테이블 링크 */
.admin-table-link {
    color: #3b82f6;
    font-weight: 500;
    text-decoration: none;
}

.admin-table-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* 모바일 카드 썸네일 */
.admin-mobile-card-thumbnail {
    width: 80px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

/* 모바일 카드 제목 & 부제목 */
.admin-mobile-card-title {
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.4;
    margin: 0;
}

.admin-mobile-card-subtitle {
    font-size: 13px;
    color: #64748b;
    margin-top: 4px;
}

/* 모바일 카드 행 */
.admin-mobile-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.admin-mobile-card-row:last-child {
    border-bottom: none;
}

/* Select Small */
.admin-select-sm {
    padding: 6px 12px;
    font-size: 13px;
}

/* ==================== 추가 유틸리티 클래스 (강의 상세 페이지용) ==================== */

/* Icon Variations */
.admin-icon-star-sm {
    width: 14px;
    height: 14px;
    color: #f59e0b;
}

.admin-icon-video {
    width: 20px;
    height: 20px;
    color: #64748b;
}

/* Text Color Utilities */
.admin-text-yellow {
    color: #f59e0b;
}

.admin-text-gray {
    color: #9ca3af;
}

.admin-text-base {
    font-size: 14px;
}

.admin-text-link {
    color: #3b82f6;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
}

.admin-text-link:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* Width & Sizing */
.admin-w-full {
    width: 100%;
}

.admin-rounded-lg {
    border-radius: 8px;
}

/* Spacing */
.admin-ml-8 {
    margin-left: 8px;
}

.admin-gap-24 {
    gap: 24px;
}

/* Flex Direction */
.admin-flex-col {
    display: flex;
    flex-direction: column;
}

/* Grid Layouts */
.admin-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

@media (max-width: 1024px) {
    .admin-grid-2col {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.admin-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .admin-grid-3col {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* List Styles */
.admin-list-disc {
    list-style-type: disc;
    padding-left: 20px;
}

.admin-list-disc li {
    margin-bottom: 4px;
    color: #475569;
    font-size: 14px;
}

/* List Group Component */
.admin-list-group {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.admin-list-item {
    padding: 16px;
    border-bottom: 1px solid var(--admin-border);
    transition: background-color 0.2s;
}

.admin-list-item:last-child {
    border-bottom: none;
}

.admin-list-item:hover {
    background-color: #f8fafc;
}

.admin-list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.admin-list-item-title {
    font-weight: 600;
    color: #0f172a;
    font-size: 14px;
}

.admin-list-item-meta {
    font-size: 13px;
    color: #64748b;
}

.admin-list-item-comment {
    font-size: 14px;
    color: #475569;
    margin: 8px 0;
    line-height: 1.5;
}

.admin-list-item-date {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 4px;
}

.admin-list-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

/* Tag Input Component */
.admin-tag-input-container {
    width: 100%;
}

.admin-tag-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    background: white;
    transition: all 0.2s;
}

.admin-tag-list:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.admin-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, var(--primary-orange), var(--primary-pink));
    color: white;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.admin-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    padding: 0;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.admin-tag-remove:hover {
    background: rgba(255, 255, 255, 0.3);
}

.admin-tag-remove svg {
    width: 10px;
    height: 10px;
    color: white;
}

.admin-tag-input {
    flex: 1;
    min-width: 150px;
    border: none;
    outline: none;
    padding: 4px;
    font-size: 14px;
    background: transparent;
}

.admin-tag-input::placeholder {
    color: #94a3b8;
}

/* Toast UI Editor Customization */
.toastui-editor-defaultUI {
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    overflow: hidden;
}

.toastui-editor-defaultUI-toolbar {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--admin-border);
    padding: 8px;
}

.toastui-editor-toolbar-group {
    display: flex;
    gap: 4px;
}

.toastui-editor-toolbar-icons {
    border: none;
    background: transparent;
    padding: 6px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.toastui-editor-toolbar-icons:hover {
    background-color: #e2e8f0;
}

.toastui-editor-toolbar-icons.active {
    background-color: rgba(249, 115, 22, 0.1);
    color: var(--primary-orange);
}

.toastui-editor-md-container,
.toastui-editor-ww-container {
    background: white;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.toastui-editor-md-container .toastui-editor,
.toastui-editor-ww-container .toastui-editor {
    font-size: 14px;
    line-height: 1.6;
    color: #0f172a;
}

.toastui-editor-md-preview {
    padding: 16px;
}

.toastui-editor-md-preview h1,
.toastui-editor-md-preview h2,
.toastui-editor-md-preview h3,
.toastui-editor-md-preview h4 {
    color: #0f172a;
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 12px;
}

.toastui-editor-md-preview h1 {
    font-size: 28px;
    border-bottom: 2px solid var(--admin-border);
    padding-bottom: 8px;
}

.toastui-editor-md-preview h2 {
    font-size: 24px;
    border-bottom: 1px solid var(--admin-border);
    padding-bottom: 6px;
}

.toastui-editor-md-preview h3 {
    font-size: 20px;
}

.toastui-editor-md-preview h4 {
    font-size: 16px;
}

.toastui-editor-md-preview a {
    color: var(--primary-orange);
    text-decoration: none;
}

.toastui-editor-md-preview a:hover {
    text-decoration: underline;
}

.toastui-editor-md-preview code {
    background-color: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #dc2626;
}

.toastui-editor-md-preview pre {
    background-color: #1e293b;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 8px;
    overflow-x: auto;
}

.toastui-editor-md-preview pre code {
    background: none;
    color: inherit;
    padding: 0;
}

.toastui-editor-md-preview blockquote {
    border-left: 4px solid var(--primary-orange);
    padding-left: 16px;
    margin: 16px 0;
    color: #64748b;
    font-style: italic;
}

.toastui-editor-md-preview ul,
.toastui-editor-md-preview ol {
    padding-left: 24px;
    margin: 12px 0;
}

.toastui-editor-md-preview li {
    margin: 6px 0;
}

.toastui-editor-md-preview table {
    border-collapse: collapse;
    width: 100%;
    margin: 16px 0;
}

.toastui-editor-md-preview table th,
.toastui-editor-md-preview table td {
    border: 1px solid var(--admin-border);
    padding: 8px 12px;
}

.toastui-editor-md-preview table th {
    background-color: #f8fafc;
    font-weight: 600;
}

.toastui-editor-md-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}

.toastui-editor-md-preview hr {
    border: none;
    border-top: 2px solid var(--admin-border);
    margin: 24px 0;
}

/* 에디터 포커스 스타일 */
.toastui-editor-defaultUI:focus-within {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* 이미지 업로드 드롭존 */
.toastui-editor-popup {
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toastui-editor-popup-body {
    padding: 16px;
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .toastui-editor-defaultUI {
        font-size: 13px;
    }

    .toastui-editor-md-preview {
        padding: 12px;
    }

    .toastui-editor-md-tab-section {
        flex-wrap: wrap;
    }
}

/* Curriculum Section Styles */
.admin-curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.admin-curriculum-section {
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.admin-curriculum-section-header {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-curriculum-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    flex: 1;
}

.admin-curriculum-lectures {
    display: flex;
    flex-direction: column;
}

.admin-curriculum-lecture {
    padding: 12px 20px;
    border-bottom: 1px solid var(--admin-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: background-color 0.2s;
}

.admin-curriculum-lecture:last-child {
    border-bottom: none;
}

.admin-curriculum-lecture:hover {
    background-color: #f8fafc;
}

.admin-curriculum-lecture-number {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
    min-width: 30px;
}

.admin-curriculum-lecture-title {
    flex: 1;
    font-size: 14px;
    color: #0f172a;
}

.admin-curriculum-lecture-duration {
    font-size: 13px;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 드래그 앤 드롭 효과 */
.sortable-ghost {
    opacity: 0.4;
    background: #f1f5f9;
}

.drag-handle-chapter:hover,
.drag-handle-lecture:hover {
    color: #64748b;
}

.drag-handle-chapter:active,
.drag-handle-lecture:active {
    cursor: grabbing;
}

/* ==================== 모달 스타일 ==================== */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-modal-container {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

.admin-modal-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.admin-modal-close {
    padding: 4px;
    border: none;
    background: none;
    cursor: pointer;
    color: #64748b;
    transition: color 0.2s;
}

.admin-modal-close:hover {
    color: #334155;
}

/* ==================== 강사 관리 전용 스타일 ==================== */

/* 프로필 이미지 */
.admin-profile-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--admin-border);
}

/* 정보 행 */
.admin-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-size: 14px;
}

/* 리뷰 리스트 */
.admin-review-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* 유틸리티 클래스 */
.admin-ml-8 {
    margin-left: 8px;
}

.admin-mr-4 {
    margin-right: 4px;
}

.admin-flex-1 {
    flex: 1;
}

.admin-flex-col {
    display: flex;
    flex-direction: column;
}

.admin-flex-wrap {
    display: flex;
    flex-wrap: wrap;
}

.admin-gap-8 {
    gap: 8px;
}

.admin-gap-12 {
    gap: 12px;
}

.admin-gap-16 {
    gap: 16px;
}

.admin-gap-24 {
    gap: 24px;
}

.admin-mb-4 {
    margin-bottom: 4px;
}

.admin-mb-8 {
    margin-bottom: 8px;
}

.admin-mb-12 {
    margin-bottom: 12px;
}

.admin-mb-16 {
    margin-bottom: 16px;
}

.admin-mb-24 {
    margin-bottom: 24px;
}

.admin-text-center {
    text-align: center;
}

.admin-text-right {
    text-align: right;
}

.admin-font-medium {
    font-weight: 500;
}

/* 텍스트 색상 */
.admin-text-success {
    color: var(--status-success);
}

.admin-text-danger {
    color: var(--status-danger);
}

.admin-text-muted {
    color: #94a3b8;
}

.admin-text-primary {
    color: var(--primary-orange);
}

/* 링크 */
.admin-link {
    color: var(--admin-primary);
    text-decoration: none;
    font-weight: 500;
}

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

/* 리스트 */
.admin-list-disc {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
}

.admin-list-disc li {
    padding: 8px 0;
    color: #475569;
    border-bottom: 1px solid #e2e8f0;
}

.admin-list-disc li:last-child {
    border-bottom: none;
}

/* 리뷰 아이템 구분선 */
.admin-review-item {
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.admin-review-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* 구분선 */
.admin-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 24px 0;
}

/* ==================== 상세 페이지 반응형 그리드 ==================== */
.admin-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* 데스크톱: 2열 그리드 (2:1 비율) */
@media (min-width: 1024px) {
    .admin-detail-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* ==================== 유틸리티 클래스 ==================== */
/* Cursor */
.admin-cursor-pointer {
    cursor: pointer;
}

/* Font Weight */
.admin-font-semibold {
    font-weight: 600;
}

/* Text Align */
.admin-text-center {
    text-align: center;
}

/* Text Size */
.admin-text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Flex Between */
.admin-flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Margin */
.admin-mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.admin-mb-4 {
    margin-bottom: 1rem;
}

.admin-mb-8 {
    margin-bottom: 0.5rem;
}

.admin-mb-12 {
    margin-bottom: 0.75rem;
}

.admin-mb-16 {
    margin-bottom: 1rem;
}

.admin-mt-4 {
    margin-top: 0.25rem;
}

/* Padding */
.admin-py-32 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

/* ==================== Alert 알림 메시지 ==================== */
.admin-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid;
}

.admin-alert-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.admin-alert-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.admin-alert-message {
    font-size: 14px;
    margin: 0;
}

/* Alert Danger (빨간색 - 오류) */
.admin-alert-danger {
    background-color: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.admin-alert-danger .admin-alert-icon {
    color: #ef4444;
}

/* Alert Success (초록색 - 성공) */
.admin-alert-success {
    background-color: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.admin-alert-success .admin-alert-icon {
    color: #22c55e;
}

/* Alert Warning (노란색 - 경고) */
.admin-alert-warning {
    background-color: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.admin-alert-warning .admin-alert-icon {
    color: #f59e0b;
}

/* Alert Info (파란색 - 정보) */
.admin-alert-info {
    background-color: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

.admin-alert-info .admin-alert-icon {
    color: #3b82f6;
}
