/* ═══════════════════════════════════════════
   OUWALA — Premium Dashboard Styles
   Inspirado no layout Crextio (Modern Bento)
   ═══════════════════════════════════════════ */

:root {
    --pd-bg: #E8E8E8;
    --pd-card-bg: #FFFFFF;
    --pd-primary: #2D2D2D; /* Charcoal */
    --pd-accent: #DC714D; /* Coral OUWALA */
    --pd-text-muted: #8E8E8E;
    --pd-radius: 32px;
    --pd-shadow: 0 10px 40px rgba(0,0,0,0.04);
    --pd-glass: rgba(255, 255, 255, 0.7);
    --pd-gradient: linear-gradient(135deg, #F0E8E4 0%, #FFFFFF 100%);
}

.premium-body, body {
    background: var(--pd-gradient) !important;
    min-height: 100vh;
    font-family: 'Outfit', 'Inter', sans-serif !important;
}

.refined-content-area, .app-content {
    margin-left: 0 !important;
    width: 100% !important;
    padding: 0 40px 100px 40px !important; /* Bottom padding for floating bar */
    flex: 1;
}

/* Dashboard Container */
.premium-dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    transition: max-width 0.5s ease;
}

.full-width .premium-dashboard-container {
    max-width: 100% !important;
}

/* Top Navigation Section (Main Bar) */
.premium-top-nav-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--pd-card-bg);
    padding: 12px 28px;
    border-radius: 100px;
    box-shadow: var(--pd-shadow);
    margin-bottom: 40px;
}

.premium-brand {
    display: flex;
    align-items: center;
}

.brand-divider {
    width: 1px;
    height: 24px;
    background: #E0E0E0;
    margin: 0 20px;
}

.system-brand, .school-brand {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

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

.premium-nav-actions .action-item {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--pd-primary);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.premium-nav-actions .action-item:hover {
    transform: translateY(-2px);
    background: #fff;
    color: var(--pd-accent);
    border-color: var(--pd-accent);
    box-shadow: 0 8px 20px rgba(220, 113, 77, 0.15);
}

.notification-bell {
    position: relative;
    background: var(--pd-gradient) !important;
}

.notification-bell i {
    transition: transform 0.3s ease;
}

.notification-bell:hover i {
    animation: bell-shake 0.5s ease-in-out;
}

@keyframes bell-shake {
    0% { transform: rotate(0); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
    85% { transform: rotate(-5deg); }
    100% { transform: rotate(0); }
}

.notif-badge-premium {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--pd-accent);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 113, 77, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(220, 113, 77, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(220, 113, 77, 0); }
}

.user-avatar-pill {
    margin-left: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 14px 2px 2px;
    border-radius: 100px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.user-avatar-pill:hover {
    background: var(--pd-accent);
    color: white;
    border-color: var(--pd-accent);
}

.user-avatar-pill::after {
    margin-left: 0 !important;
    font-size: 0.7rem;
    color: #666;
}

.premium-nav-pill {
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
    text-decoration: none;
}

.premium-nav-pill:hover {
    color: var(--pd-accent);
}

.premium-nav-pill.active {
    background: var(--pd-primary);
    color: white;
}

/* Notification Dropdown Styles */
.notification-dropdown {
    border-radius: 24px !important;
    width: 380px;
    padding: 0;
    margin-top: 12px !important;
    transform-origin: top right;
    animation: premiumDropdownShow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(0,0,0,0.05) !important;
}

@keyframes premiumDropdownShow {
    from { 
        opacity: 0; 
        transform: translateY(12px) scale(0.95); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.notif-header {
    background: #fafafa;
}

.notif-item {
    transition: all 0.2s;
    border-bottom: 1px solid #f5f5f5;
    position: relative;
}

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

.notif-item:hover {
    background: #fcfcfc;
}

.notif-item.unread {
    background: rgba(220, 113, 77, 0.04);
}

.notif-item.unread::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--pd-accent);
    border-radius: 50%;
}

.notif-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.notif-icon-circle.sistema { background: #E8F0FE; color: #1A73E8; }
.notif-icon-circle.bi_alerta { background: #FEF7E0; color: #FBBC04; }
.notif-icon-circle.horario_novo { background: #E6F4EA; color: #1E8E3E; }
.notif-icon-circle.default { background: #F1F3F4; color: #5F6368; }

.mark-read-btn {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pd-accent);
}

.mark-read-btn:hover {
    color: var(--pd-primary);
}

/* ═══════════════════════════════════════════ */
/* PREMIUM DOCK SYSTEM (AI & CHAT) */
/* ═══════════════════════════════════════════ */

.premium-dock-container {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1030;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    width: 320px; /* Base width */
}

.premium-dock-container.width-md {
    width: 380px; /* Standard for AI/Search */
}

.premium-dock-container.width-lg {
    width: 680px; /* Wide for Teams Messaging */
}

/* Redimensionamento Livre */
.dock-resizer {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 15px; /* Interactive zone */
    cursor: ew-resize;
    z-index: 100;
}

.resizer-left { left: -7px; }
.resizer-right { right: -7px; }

.premium-dock-container:hover .dock-pane,
.premium-dock-container.is-resizing .dock-pane {
    border: 2px solid transparent;
}

/* Visual Cue (Laranja quando aproxima cursor do limite) */
.premium-dock-container .dock-resizer:hover ~ .dock-panes-wrapper .dock-pane,
.premium-dock-container.is-resizing .dock-panes-wrapper .dock-pane {
    border: 2px solid var(--pd-accent) !important;
}

.premium-dock-container .dock-resizer:hover ~ .premium-floating-ai-bar,
.premium-dock-container.is-resizing .premium-floating-ai-bar {
    border-color: var(--pd-accent) !important;
}

/* The Bar itself */
.premium-floating-ai-bar {
    width: 100%;
    background: rgba(45, 45, 45, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.ai-bar-pill {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 15px;
    border-radius: 100px;
    color: #AAA;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
    white-space: nowrap;
}

.ai-bar-pill i { font-size: 1rem; }
.ai-bar-pill span { display: none; }

.ai-bar-pill:hover { color: white; background: rgba(255,255,255,0.05); }

.ai-bar-pill.active {
    background: var(--pd-accent);
    color: var(--pd-primary) !important;
}

.ai-bar-pill.active span { display: inline-block; }

/* Notifications */
.notification-badge {
    position: relative; /* Changed from absolute to flow relative to icons */
    margin-left: 5px;
    background: #FF4B4B;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 10px;
    display: inline-flex; /* Align with icon text */
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.2);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 75, 75, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(255, 75, 75, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 75, 75, 0); }
}

.notification-badge.mini {
    position: static;
    margin-left: auto;
    border: none;
    animation: none;
}

.unread-orange {
    background: rgba(220, 113, 77, 0.1) !important;
}
.unread-orange .text-dark {
    color: var(--pd-accent) !important;
}

.deleted-msg {
    font-style: italic;
    opacity: 0.6;
    background: #f8f9fa !important;
    color: #999 !important;
}

.ai-status-dot.d-none { display: none !important; }

/* Panes Logic */
.dock-panes-wrapper {
    width: 100%;
    margin-bottom: 12px;
    pointer-events: none;
}

.dock-pane {
    background: white;
    border-radius: 28px;
    width: 100%;
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    pointer-events: auto;
    display: flex;
    flex-direction: column;
}

.dock-pane.show {
    height: 600px;
    opacity: 1;
    margin-bottom: 8px;
}

/* Teams Layout Styles */
.teams-header { border-top-left-radius: 28px; border-top-right-radius: 28px; }
.teams-avatar-main {
    width: 40px; height: 40px; 
    border-radius: 8px; 
    background: var(--pd-primary); 
    color: var(--pd-accent);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
}
.teams-tab {
    font-size: 0.72rem;
    font-weight: 600;
    color: #666;
    padding-bottom: 4px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}
.teams-tab.active { color: var(--pd-primary); border-bottom-color: var(--pd-accent); }

.teams-chat-item {
    cursor: pointer;
    transition: background 0.2s;
    border-left: 3px solid transparent;
}
.teams-chat-item:hover { background: #E8EBF0; }
.teams-chat-item.active { background: white; border-left-color: var(--pd-accent); }

.avatar-circle-sm {
    width: 32px; height: 32px; 
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
}
.status-indicator {
    position: absolute; bottom: 0; right: 0;
    width: 10px; height: 10px;
    border-radius: 50%;
    border: 2px solid white;
}
.status-indicator.online { background: #22BB33; }
.status-indicator.busy { background: #CC0000; }
.status-indicator.away { background: #F0AD4E; }

.msg-author { font-size: 0.7rem; font-weight: 700; margin-bottom: 4px; color: #555; }
.msg-author .time { font-weight: 400; opacity: 0.6; margin-left: 5px; }

.msg-bubble {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.msg-bubble.incoming { background: #F3F2F1; color: #323130; }
.msg-bubble.outgoing { background: var(--pd-accent); color: white; }

.avatar-xs {
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 700;
}

.reaction-tag {
    position: absolute;
    bottom: -15px;
    right: 5px;
    background: white;
    padding: 1px 6px;
    border-radius: 10px;
    font-size: 0.65rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.teams-input-container:focus-within { border-color: var(--pd-accent) !important; }

/* Instagram-Style Components (Fallback/Mixed Support) */
.search-box-dock {
    background: #F2F2F2;
    padding: 8px 16px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-box-dock input {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
}
.search-box-dock i { color: #888; }

.status-avatar-wrapper {
    position: relative;
    width: 64px;
    height: 64px;
}
.status-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    padding: 3px;
    border: 2px solid #E0E0E0;
}
.status-avatar.me { border: none; padding: 0; }
.add-note {
    position: absolute;
    top: -5px;
    right: -5px;
    background: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.status-note {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.6rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.chat-item {
    transition: background 0.2s;
    cursor: pointer;
}
.chat-item:hover { background: #FAFAFA; }
.chat-avatar { width: 56px; height: 56px; border-radius: 50%; }
.unread-dot {
    width: 8px;
    height: 8px;
    background: #0095F6;
    border-radius: 50%;
}

/* AI Specific */
.ai-avatar-sq {
    width: 44px;
    height: 44px;
    background: var(--pd-primary);
    color: var(--pd-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.ai-msg {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.85rem;
    max-width: 85%;
}
.ai-msg.bot { background: #F2F2F2; align-self: flex-start; }
.ai-msg.user { background: var(--pd-primary); color: white; align-self: flex-end; }

.scrollable-custom {
    overflow-y: auto;
    flex-grow: 1;
}
.scrollable-custom::-webkit-scrollbar { width: 4px; }
.scrollable-custom::-webkit-scrollbar-thumb { background: #DDD; border-radius: 10px; }

.ai-status-dot {
    width: 8px;
    height: 8px;
    background: var(--pd-accent); /* Use Coral instead of Green for active AI? Or keep green? User usually likes brand colors. I'll use Coral. */
    border-radius: 50%;
    box-shadow: 0 0 10px var(--pd-accent);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

/* Welcome Header */
.premium-welcome {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 32px;
    color: var(--pd-primary);
}

/* Stats Row */
.premium-stats-group {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
}

.premium-stat-pill {
    background: var(--pd-card-bg);
    padding: 12px 24px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--pd-shadow);
}

.premium-stat-pill .icon {
    font-size: 1.25rem;
}

.premium-stat-pill .value {
    font-size: 1.5rem;
    font-weight: 700;
}

.premium-stat-pill .label {
    font-size: 0.75rem;
    color: var(--pd-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Cards Layout */
.premium-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: stretch;
}

.grid-col-left, .grid-col-middle, .grid-col-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.premium-card {
    background: var(--pd-card-bg);
    border-radius: var(--pd-radius);
    padding: 28px;
    box-shadow: var(--pd-shadow);
    position: relative;
    overflow: hidden;
}

/* Profile Card */
.profile-hero {
    grid-column: span 3;
    background: #E8EBF0;
    height: 400px;
    padding: 0;
    position: relative;
}

.profile-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-hero-info {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    padding: 16px;
    border-radius: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.profile-hero-info .name {
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
}

.profile-hero-info .role {
    font-size: 0.75rem;
    color: var(--pd-text-muted);
}

.profile-hero-info .badge {
    background: var(--pd-card-bg);
    color: var(--pd-primary);
    padding: 6px 12px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
}

/* Progress Section */
.progress-card {
    grid-column: span 3;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.progress-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.progress-header .main-val {
    font-size: 2.25rem;
    font-weight: 700;
}

.progress-bars {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 120px;
    margin-top: 32px;
}

.progress-bar-stack {
    flex: 1;
    background: #F1F1F1;
    border-radius: 100px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--pd-primary);
    transition: height 1s ease;
}

.progress-bar-fill.accent {
    background: var(--pd-accent);
}

/* Time Tracker Widget */
.time-tracker-card {
    grid-column: span 3;
}

.circle-progress {
    width: 150px;
    height: 150px;
    margin: 20px auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-progress svg {
    transform: rotate(-90deg);
}

.circle-progress .time-display {
    position: absolute;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
}

.circle-progress .time-label {
    font-size: 0.7rem;
    color: var(--pd-text-muted);
}

/* Onboarding Section */
.onboarding-card {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
}

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

.onboarding-progress-pills {
    display: flex;
    gap: 6px;
    margin-bottom: 32px;
}

.onboarding-progress-pill {
    height: 40px;
    border-radius: 12px;
    flex: 1;
    background: #F1F1F1;
    position: relative;
    overflow: hidden;
}

.onboarding-progress-pill.filled {
    background: var(--pd-accent);
}

.onboarding-progress-pill.active {
    background: var(--pd-primary);
}

.onboarding-task-box {
    background: var(--pd-primary);
    color: white;
    border-radius: 24px;
    padding: 24px;
    flex: 1;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.task-item.done {
    opacity: 1;
}

.task-item .check {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.task-item.done .check {
    background: var(--pd-accent);
    border-color: var(--pd-accent);
    color: var(--pd-primary);
}

/* Calendar Widget */
.calendar-card {
    grid-column: span 9;
}

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

.calendar-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-bottom: 40px;
}

.timeline-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 60px;
}

.timeline-day .name {
    font-size: 0.75rem;
    color: var(--pd-text-muted);
}

.timeline-day .date {
    font-weight: 700;
}

.timeline-day.active .date {
    background: var(--pd-accent);
    color: var(--pd-primary);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.event-bar {
    position: absolute;
    background: var(--pd-primary);
    color: white;
    padding: 12px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 12px;
    bottom: 0;
}

.event-bar img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid white;
}

/* Sidebar Adaptation */
.refined-body.premium-active #appSidebar {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.3) !important;
    margin: 20px;
    height: calc(100vh - 40px);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    z-index: 1050;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.refined-body.premium-active .refined-content-area {
    padding: 0;
    transition: all 0.5s ease;
}

.refined-body.premium-active .app-navbar {
    background: transparent !important;
    backdrop-filter: none !important;
    border-bottom: none !important;
    margin-top: 10px;
}

.refined-body.premium-active .sidebar-user {
    background: rgba(255,255,255,0.3) !important;
    border-radius: 20px;
    margin: 15px;
    border: none !important;
}

.refined-body.premium-active .refined-nav-link {
    color: #444 !important;
}

.refined-body.premium-active .refined-nav-link.active {
    background: var(--pd-primary) !important;
    color: white !important;
}

.refined-body.premium-active .sidebar-hide {
    color: #121212 !important;
}

.refined-body.premium-active .sidebar-section-title {
    color: #888 !important;
}

@media (max-width: 1200px) {
    .premium-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    .profile-hero, .progress-card, .time-tracker-card, .onboarding-card, .calendar-card {
        grid-column: span 1 !important;
    }
}

/* ═══════════════════════════════════════════ */
/* ACCORDION & LIST REFINEMENTS */
/* ═══════════════════════════════════════════ */

.accordion-button:not(.collapsed) {
    background-color: transparent !important;
    color: var(--pd-accent) !important;
    box-shadow: none !important;
}

.accordion-button:focus {
    box-shadow: none !important;
}

.accordion-button::after {
    background-size: 0.8rem;
    transition: transform 0.3s ease;
}

.hover-primary:hover {
    color: var(--pd-accent) !important;
    transform: translateX(3px);
}

.hover-primary {
    transition: all 0.2s ease;
}

.extra-small {
    font-size: 0.65rem;
}

.bg-success-subtle {
    background-color: rgba(25, 135, 84, 0.1) !important;
}

.bg-warning-subtle {
    background-color: rgba(255, 193, 7, 0.1) !important;
}

.bg-secondary-subtle {
    background-color: rgba(108, 117, 125, 0.1) !important;
}

/* ═══════════════════════════════════════════ */
/* FINANCE AREA REFINEMENTS */
/* ═══════════════════════════════════════════ */

.btn-white {
    background-color: white !important;
    color: var(--pd-primary) !important;
}

.btn-white:hover {
    background-color: #f8f9fa !important;
    transform: translateY(-2px);
}

.table th {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.table td {
    padding-top: 20px;
    padding-bottom: 20px;
}

code {
    background: rgba(255,255,255,0.1);
    padding: 2px 8px;
    border-radius: 4px;
}

.btn-ouwala {
    background: var(--pd-accent) !important;
    color: white !important;
    border: none !important;
}

.btn-ouwala:hover {
    background: #c56544 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 113, 77, 0.3) !important;
}

/* Premium Utilities */
.transition-all {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.hover-opacity-75:hover {
    opacity: 0.75;
}

.cursor-pointer {
    cursor: pointer;
}

