/* Основной layout */
.main-layout {
    display: flex;
    align-items: flex-start;
    max-width: 1560px;
    margin: 0 auto;
    width: 100%;
    min-height: 100dvh;
    position: relative;
}

/* ЛЕВЫЙ САЙДБАР */
.left-sidebar {
    width: 260px;
    min-width: 260px;
    background: rgba(12, 17, 28, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 200;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 4px;
}

.sidebar-logo i {
    font-size: 2rem;
    background: linear-gradient(135deg, #4884ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-logo span {
    font-size: 1.3rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4884ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 14px;
    border: 0.5px solid rgba(255, 255, 255, 0.05);
}

.sidebar-title {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #5a7fb5;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-title i {
    font-size: 0.8rem;
    color: #4884ff;
}

.profile-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 16px;
    background: rgba(72, 132, 255, 0.05);
    border: 0.5px solid rgba(72, 132, 255, 0.15);
    margin-bottom: 12px;
    cursor: pointer;
    transition: 0.2s;
}

.profile-mini:hover {
    background: rgba(72, 132, 255, 0.1);
}

.profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d6d, #ff8c42);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    box-shadow: 0 0 20px rgba(255, 77, 109, 0.3);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info .name {
    font-weight: 500;
    font-size: 0.9rem;
}

.profile-info .status {
    font-size: 0.7rem;
    color: #3acf6b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.profile-info .status .dot {
    width: 6px;
    height: 6px;
    background: #3acf6b;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.user-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(72, 132, 255, 0.05);
    border: 0.5px solid rgba(72, 132, 255, 0.15);
    margin-bottom: 12px;
    transition: 0.2s;
}

.user-card .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d6d, #ff8c42);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.user-card .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-card .online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #3acf6b;
    border-radius: 50%;
    border: 2px solid #0c111c;
}

.user-card .info .name {
    font-weight: 500;
    font-size: 0.9rem;
}

.user-card .info .status {
    font-size: 0.7rem;
    color: #3acf6b;
    display: flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
}

.user-card .info .status .dot {
    width: 6px;
    height: 6px;
    background: #3acf6b;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 14px;
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.85rem;
    transition: 0.2s;
    font-weight: 400;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(72, 132, 255, 0.1);
    color: #fff;
}

.nav-item i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.nav-badge {
    margin-left: auto;
    background: #ff4d6d;
    color: white;
    border-radius: 10px;
    padding: 2px 7px;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
    line-height: 1.3;
}

.sidebar-link-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.sidebar-link-chip {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    color: #b0c4de;
    text-decoration: none;
    font-size: 0.72rem;
    transition: 0.2s;
    position: relative;
}

.sidebar-link-chip:hover {
    background: rgba(72, 132, 255, 0.1);
    color: #fff;
}

.chip-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: #ff4d6d;
    border-radius: 8px;
    font-size: 0.55rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-link-all {
    margin-left: auto;
    font-size: 0.65rem;
    color: #4884ff;
    text-decoration: none !important;
    border: none;
    box-shadow: none;
}

.sidebar-link-all:hover {
    text-decoration: none !important;
    opacity: 0.85;
}

.sidebar-tip-text {
    font-size: 0.75rem;
    opacity: 0.6;
    line-height: 1.45;
    margin: 0;
}

.sidebar-tips {
    background: rgba(255, 179, 71, 0.04);
    border-color: rgba(255, 179, 71, 0.15) !important;
}

.quick-action-btn {
    position: relative;
}

.stats-mini {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.left-sidebar .stats-mini .stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    border: 0.5px solid rgba(255, 255, 255, 0.05);
}

.left-sidebar .stats-mini .stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4884ff;
}

.left-sidebar .stats-mini .stat-label {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-top: 2px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 10px;
    text-align: center;
    border: 0.5px solid rgba(255, 255, 255, 0.05);
}

.stat-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #4884ff;
}

.stat-label {
    font-size: 0.65rem;
    opacity: 0.6;
    margin-top: 2px;
}

/* ЦЕНТР */
.center-content {
    flex: 1 1 0;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 900px;
    min-width: 0;
}

/* ПРАВЫЙ САЙДБАР */
.right-sidebar {
    width: 320px;
    min-width: 320px;
    background: rgba(12, 17, 28, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: sticky;
    top: 0;
    align-self: flex-start;
    max-height: 100vh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    z-index: 100;
}

.balance-card {
    background: linear-gradient(135deg, rgba(72, 132, 255, 0.12), rgba(168, 85, 247, 0.08));
    border: 0.5px solid rgba(72, 132, 255, 0.2);
    border-radius: 20px;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.balance-card::after {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(72, 132, 255, 0.2), transparent 70%);
    pointer-events: none;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.balance-amount span {
    font-size: 1rem;
    opacity: 0.6;
    font-weight: 400;
}

.balance-label {
    font-size: 0.7rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

.balance-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    position: relative;
    z-index: 1;
}

.notification-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 0.5px solid rgba(255, 255, 255, 0.04);
    font-size: 0.78rem;
    transition: 0.2s;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit;
    box-shadow: none;
}

a.notification-item,
a.notification-item:hover,
a.notification-item:focus {
    text-decoration: none !important;
    color: inherit;
    border-bottom: none;
}

.notification-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.notification-item.unread {
    border-left: 2px solid #4884ff;
    background: rgba(72, 132, 255, 0.03);
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.notification-icon.info {
    background: rgba(72, 132, 255, 0.15);
    color: #4884ff;
}

.notification-icon.success {
    background: rgba(58, 207, 107, 0.15);
    color: #3acf6b;
}

.notification-icon.warning {
    background: rgba(255, 179, 71, 0.15);
    color: #ffb347;
}

.notification-time {
    font-size: 0.65rem;
    opacity: 0.4;
    margin-top: 2px;
}

.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.quick-action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 0.5px solid rgba(255, 255, 255, 0.06);
    color: #c8d4e8;
    font-size: 0.78rem;
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
}

.quick-action-btn:hover {
    background: rgba(72, 132, 255, 0.08);
    border-color: rgba(72, 132, 255, 0.25);
    color: #fff;
}

.quick-action-btn i {
    font-size: 1rem;
}

.chart-mini {
    height: 60px;
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-top: 8px;
}

.chart-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, #4884ff, rgba(72, 132, 255, 0.2));
    transition: height 0.3s;
    min-height: 4px;
}

/* Mobile header */
.mobile-header {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(12, 17, 28, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 250;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    color: #e8ecf2;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: 0.2s;
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-logo {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4884ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-header-actions {
    display: flex;
    gap: 8px;
}

.mobile-icon-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    color: #e8ecf2;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    position: relative;
}

.mobile-icon-btn:hover {
    background: rgba(72, 132, 255, 0.1);
}

.mobile-icon-btn .badge-dot {
    display: none;
}

.has-badge {
    position: relative;
}

.notify-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    background: #ff4d6d;
    border: 2px solid #0c111c;
    border-radius: 10px;
    font-size: 0.58rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 77, 109, 0.45);
    pointer-events: none;
}

/* Мобильная навигация */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(12, 17, 28, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
    justify-content: space-around;
    align-items: center;
    gap: 2px;
}

.mobile-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    border-radius: 12px;
    color: #7a8faa;
    text-decoration: none;
    font-size: 0.6rem;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    min-width: 0;
    position: relative;
}

.mobile-nav-item i {
    font-size: 1.1rem;
}

.mobile-nav-item.active,
.mobile-nav-item:hover {
    color: #fff;
    background: rgba(72, 132, 255, 0.12);
}

.mobile-nav-item .nav-dot {
    position: absolute;
    top: 4px;
    right: 12px;
    width: 6px;
    height: 6px;
    background: #ff4d6d;
    border-radius: 50%;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 150;
}

.sidebar-overlay.show {
    display: block;
}

/* Header */
.header {
    background: rgba(12, 17, 28, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.back-btn {
    background: none;
    border: none;
    color: #b0c4de;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 10px;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.header-logo {
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4884ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #4884ff, #6a5acd);
    color: white;
    box-shadow: 0 4px 16px rgba(72, 132, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(72, 132, 255, 0.5);
}

.btn-outline {
    background: transparent;
    border: 0.5px solid rgba(72, 132, 255, 0.4);
    color: #4884ff;
}

.btn-outline:hover {
    background: rgba(72, 132, 255, 0.1);
}

.btn-ghost {
    background: transparent;
    color: #b0c4de;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.75rem;
    border-radius: 10px;
}

.btn-icon {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}


.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 480px;
    margin: 0 20px;
}

.header-search { width: 100%; }
.header-search input { width: 100%; }

.header-icon-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 0.5px solid rgba(255, 255, 255, 0.08);
    color: #e8ecf2;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    position: relative;
}

.header-icon-btn:hover { background: rgba(72, 132, 255, 0.1); }

.header-icon-btn .badge-dot { display: none; }

.header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff4d6d, #ff8c42);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    overflow: hidden;
    transition: 0.2s;
}

.header-avatar:hover { transform: scale(1.05); }
.header-avatar img { width: 100%; height: 100%; object-fit: cover; }

.top-executor-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    transition: 0.2s;
}

.top-executor-row:hover { background: rgba(255, 255, 255, 0.03); }
.top-executor-row a { flex: 1; color: #b0c4de; text-decoration: none; }
.top-executor-row a:hover { color: #4884ff; }
.top-executor-row .medal { font-size: 1rem; }
.top-executor-row .count { opacity: 0.5; font-size: 0.7rem; }

.nav-item.admin-link { color: #ffb347; }
.nav-item.admin-link:hover,
.nav-item.admin-link.active {
    background: rgba(255, 179, 71, 0.1);
    color: #ffb347;
}

/* Desktop header скрыт — навигация в левом сайдбаре (как в шаблоне) */
.main-site-header {
    display: none !important;
}

.hidden-mobile { display: flex; }

.center-content.wide { max-width: 1100px; }

.standalone-page .main-layout,
.standalone-page .mobile-header,
.standalone-page .mobile-bottom-nav { display: none !important; }

@media (min-width: 1025px) {
    .mobile-header { display: none !important; }
    .mobile-bottom-nav { display: none !important; }
}


/* Адаптивность */
@media (max-width: 1200px) {
    .left-sidebar { width: 220px; min-width: 220px; }
    .right-sidebar { width: 260px; min-width: 260px; }
    .center-content { padding: 16px; }
    .hero-section h1 { font-size: 2rem; }
}

@media (max-width: 1024px) {
    .hidden-mobile { display: none !important; }
    .main-site-header { display: none !important; }

    .left-sidebar,
    .right-sidebar {
        display: none;
    }

    .left-sidebar.mobile-open {
        display: flex;
        position: fixed;
        left: 0;
        top: 0;
        bottom: 0;
        width: min(86vw, 300px);
        height: 100dvh;
        max-height: 100dvh;
        padding-top: max(12px, env(safe-area-inset-top));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        box-shadow: 4px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 400;
    }

    .mobile-header {
        display: flex;
        position: sticky;
        top: 0;
        z-index: 250;
    }

    .mobile-bottom-nav {
        display: flex;
        padding-bottom: max(6px, env(safe-area-inset-bottom));
    }

    .main-layout {
        max-width: 100%;
        min-height: calc(100dvh - 52px);
        padding-bottom: calc(68px + env(safe-area-inset-bottom));
    }

    .center-content {
        max-width: 100%;
        width: 100%;
        padding: 10px 12px;
        padding-bottom: calc(78px + env(safe-area-inset-bottom)) !important;
        gap: 12px;
    }

    .hero-section {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    .hero-stats {
        gap: 16px;
    }

    .hero-stat .hs-value {
        font-size: 1.2rem;
    }

    .search-box input {
        width: 140px;
    }

    .task-price-row {
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 1.3rem;
    }
    .hero-subtitle {
        font-size: 0.9rem;
    }
    .hero-stats {
        gap: 12px;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .task-header {
        flex-direction: column;
    }
    .task-meta {
        gap: 10px;
    }
    .section-header {
        flex-direction: column;
        align-items: stretch;
    }
    .search-box {
        width: 100%;
    }
    .search-box input {
        width: 100%;
    }
    .filter-pill {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    .categories-row {
        gap: 6px;
    }
    .category-card {
        padding: 8px 12px;
        font-size: 0.72rem;
    }
}

/* Site logo (брендинг из админки) */
.site-logo,
.sidebar-site-logo,
.header-site-logo,
.mobile-site-logo,
.auth-site-logo,
.create-site-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.site-logo-img {
    display: block;
    object-fit: contain;
    max-height: 36px;
    max-width: 160px;
    width: auto;
    height: auto;
}

.sidebar-site-logo .site-logo-img { max-height: 32px; max-width: 140px; }
.mobile-site-logo .site-logo-img { max-height: 28px; max-width: 120px; }
.mobile-site-logo .site-logo-icon { font-size: 1.2rem; }
.create-site-logo .site-logo-img { max-height: 26px; }
.header-site-logo .site-logo-img { max-height: 30px; }
.auth-site-logo .site-logo-img { max-height: 48px; max-width: 200px; }

.site-logo-icon {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #4884ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: linear-gradient(135deg, #4884ff, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sidebar-site-logo .site-logo-text { font-size: 1.15rem; }
.mobile-site-logo .site-logo-text { font-size: 1rem; }
.create-site-logo .site-logo-text { font-size: 0.95rem; }

.site-logo-tagline {
    display: block;
    font-size: 0.72rem;
    opacity: 0.55;
    font-weight: 400;
    -webkit-text-fill-color: initial;
    color: #8892a4;
    margin-top: 2px;
}

.auth-site-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-decoration: none !important;
    cursor: default;
    pointer-events: none;
}

.mobile-logo {
    flex: 1;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}

.mobile-site-logo.mobile-logo {
    flex: 1;
    justify-content: center;
}

.sidebar-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 77, 109, 0.08);
    border: 0.5px solid rgba(255, 77, 109, 0.2);
    color: #ff8fa3;
    font-size: 0.82rem;
    text-decoration: none !important;
    transition: 0.2s;
}

.sidebar-logout-btn:hover {
    background: rgba(255, 77, 109, 0.15);
    color: #ff4d6d;
    text-decoration: none !important;
}

/* User avatar (global) */
.user-avatar {
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(72, 132, 255, 0.2), rgba(168, 85, 247, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
}
.user-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.user-avatar-sm { width: 32px; height: 32px; font-size: 0.75rem; }
.user-avatar-md { width: 44px; height: 44px; font-size: 0.9rem; }
.user-avatar-lg { width: 72px; height: 72px; font-size: 1.2rem; }
.user-avatar-fallback { font-weight: 700; color: #4884ff; }
