/* ==========================================================================
   Goformance - Global Styles & Design System
   ========================================================================== */

/* Typography & Base */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9ff;
    color: #0b1c30;
}

.font-display {
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* Glassmorphism & Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(211, 228, 254, 0.6);
    box-shadow: 0 10px 30px -5px rgba(0, 102, 136, 0.05);
}

.glass-card-dark {
    background: linear-gradient(135deg, #004d67 0%, #006688 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 35px rgba(0, 77, 103, 0.2);
}

.glass-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(211, 228, 254, 0.8);
}

.ai-glow {
    background: linear-gradient(135deg, rgba(107, 60, 203, 0.08) 0%, rgba(0, 194, 255, 0.12) 100%);
    border: 1px solid rgba(133, 88, 229, 0.25);
}

/* Custom Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 136, 0.2);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 136, 0.4);
}

/* Sidebar Navigation & Accordions */
.sidebar-accordion-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.55rem 0.9rem;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: all 0.2s ease;
    cursor: pointer;
    border-radius: 0.6rem;
    border: none;
    background: transparent;
}

.sidebar-accordion-title:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 0.45rem 0.9rem 0.45rem 1.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    font-weight: 500;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.sidebar-active {
    background: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-content.open {
    max-height: 800px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
}

.rotate-chevron {
    transform: rotate(180deg);
}

/* Animations & Transitions */
.badge-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

/* Modals */
.modal-backdrop {
    background-color: rgba(11, 28, 48, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

/* Smooth transitions & Animations for Planning and Approval Cards */
.post-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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