/* ============================================
   전역 관리자 페이지 스타일
   ============================================ */

.admin-page {
    background-color: #f8fafc;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.6;
}

.admin-page * {
    box-sizing: border-box;
}


/* ============================================
   Admin Topbar (상단바)
   ============================================ */

.admin-page .admin-topbar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
}

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

.admin-page .admin-topbar-logo {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
}

.admin-page .admin-topbar-title {
    font-size: 16px;
    font-weight: 600;
    color: #475569;
    margin: 0;
}

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

.admin-page .admin-topbar-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #64748b;
    text-decoration: none;
    transition: background-color 0.2s;
    position: relative;
}

.admin-page .admin-topbar-icon:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.admin-page .admin-topbar-icon .badge {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    border: 2px solid #ffffff;
}

.admin-page .admin-topbar-user {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    border-radius: 6px;
    text-decoration: none;
    color: #1e293b;
    transition: background-color 0.2s;
}

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

.admin-page .admin-topbar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.admin-page .admin-topbar-user-name {
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
}

/* ============================================
   Admin Top Navigation (상단 네비게이션)
   ============================================ */

.admin-page .admin-topnav {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    position: sticky;
    top: 60px;
    z-index: 999;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.02);
}

.admin-page .admin-topnav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 24px;
}

.admin-page .admin-topnav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0;
    overflow-x: auto;
}

.admin-page .admin-topnav-menu-item {
    margin: 0;
    position: relative;
}

.admin-page .admin-topnav-menu-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    color: #64748b;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s, color 0.2s;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.admin-page .admin-topnav-menu-link:hover {
    background-color: #f8fafc;
    color: #1e293b;
}

.admin-page .admin-topnav-menu-link.active {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
    font-weight: 600;
    background-color: #f8fafc;
}

.admin-page .admin-topnav-menu-link .menu-icon {
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

.admin-page .admin-topnav-menu-link .menu-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-page .admin-topnav-divider {
    width: 1px;
    height: 24px;
    background: #e2e8f0;
    margin: 0 8px;
}

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: #f8fbff;
    border-top: 1px solid #dde5f2;
    margin-top: 2rem;
    padding: 2.5rem 0 1.5rem;
}

.site-footer .container {
    max-width: 1100px;
}

.site-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    align-items: flex-start;
}

.site-footer-brand-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.site-footer-brand-desc {
    margin-bottom: 1rem;
    color: #64748b;
    font-size: 0.95rem;
}

.site-footer-socials {
    display: flex;
    gap: 0.5rem;
}

.site-footer-social {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #94a3b8;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-footer-social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.site-footer-social--blog {
    background: linear-gradient(135deg, #10b981, #059669);
}

.site-footer-social--youtube {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.site-footer-social--insta {
    background: linear-gradient(135deg, #f97316, #ec4899 60%, #8b5cf6);
}

.site-footer-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.15);
}

.site-footer-column-title {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.site-footer-column a {
    display: block;
    margin-bottom: 0.35rem;
    color: #475569;
    font-size: 0.95rem;
}

.site-footer-column a:hover {
    color: var(--accent-color);
}

.site-footer-bottom {
    border-top: 1px solid #e2e8f0;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}
