
/* Permission-based section hiding - IMPORTANT: These rules must be at the top */
.section-item[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}

.permission-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: absolute !important;
    left: -9999px !important;
}


@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Special+Gothic+Expanded+One&display=swap');

:root {
    --primary-bg: #0a0a0a;
    --secondary-bg: #1a1a1a;
    --accent-red: #8B0000;
    --accent-red-hover: #B22222;
    --text-primary: #ffffff;
    --text-secondary: #b2b2b2;
    --text-muted: #666666;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary-bg);
    color: var(--text-primary);
    height: 100vh;
    width: 100%;
    overflow-x: hidden;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(214, 48, 49, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(214, 48, 49, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

.app-container {
    display: flex !important;
    height: 100vh !important;
    width:  calc((100vw - env(safe-area-inset-left)) - env(right)) !important;
    min-height: 100vh !important;
    min-width:  calc((100vw - env(safe-area-inset-left)) - env(safe-area-inset-right)) !important;
    max-height: 100vh !important;
    max-width:  calc((100vw - env(safe-area-inset-left)) - env(right)) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    overflow: hidden !important;
    border: none !important;
    outline: none !important;
    gap: 0 !important;
}



/* Sidebar */
.sidebar {
    width: 280px;
    background: #0f0f0f;
    border-right: 1px solid var(--border-subtle);
    overflow: hidden;
    height: 100vh;
    display: none;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.25rem 1rem 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
    background: #0f0f0f;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.sidebar-header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    width: 100%;
    padding-left: 1.25rem;
}

.sidebar-logo-text {
    font-family: "New Rocker", system-ui;
    font-size: 2.1rem;
    font-weight: 400;
    background: linear-gradient(45deg, #740000, #fc0000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200%;
    animation: gradientShift 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0;
    display: block;
    cursor: pointer;
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.sidebar-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-nav {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: auto;
}

.nav-item {
    width: 100%;
    margin: 0 0 0.25rem 0;
    padding: 0.625rem 1.25rem;
    background: transparent;
    border: none;
    border-left: 3px solid transparent;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    position: relative;
    border-radius: 0;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #740000, #fc0000);
    transition: width 0.3s ease;
    z-index: -1;
    opacity: 0;
}

.nav-item:hover {
    color: var(--text-primary);
    border-left-color: #fc0000;
    padding-left: 1.5rem;
    background: linear-gradient(90deg, 
        rgba(116, 0, 0, 0.3), 
        rgba(252, 0, 0, 0.15),
        rgba(252, 0, 0, 0.05)
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 15px rgba(252, 0, 0, 0.3);
    transform: translateX(3px);
}

.nav-item:hover::before {
    width: 100%;
    opacity: 0.8;
}

.nav-item.active {
    color: #ffffff;
    border-left-color: #fc0000;
    background: linear-gradient(90deg, 
        rgba(116, 0, 0, 0.4), 
        rgba(252, 0, 0, 0.25),
        rgba(252, 0, 0, 0.1)
    );
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(252, 0, 0, 0.4);
    font-weight: 700;
    padding-left: 1.5rem;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(252, 0, 0, 0.5);
}

.nav-item.active::before {
    width: 100%;
    opacity: 1;
}

/* Main Content */
.main-content {
    flex: 1 !important;
    background: var(--primary-bg) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: 100vh !important;
    width: 100% !important;
    min-height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    border: none !important;
    outline: none !important;
    gap: 0 !important;
}

#section-content {
    min-height: 100vh !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    width: 100% !important;
    border: none !important;
    outline: none !important;
    gap: 0 !important;
}

/* === SAVE INDICATOR === */
.save-indicator {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 255, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.save-indicator.show {
    opacity: 1;
}

.save-indicator.error {
    background: rgba(255, 0, 0, 0.8);
}

/* === WELCOME SCREEN === */
.welcome-screen {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: center !important;
    padding: 2rem 2rem 0 2rem !important;
    position: relative !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #000000 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    border: none !important;
    outline: none !important;
    gap: 0 !important;
}

.welcome-screen::before {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(214, 48, 49, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse 4s ease-in-out infinite;
}

.welcome-screen::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    background: 
        url('assets/1.png'),
        #000000;
    background-size: contain;
    background-position: center bottom;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
    filter: brightness(0.7) contrast(1.1);
    overflow: hidden;
}

/* Realistic smoke effect */
.welcome-screen::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 200px 80px at 15% 100%, rgba(200, 200, 200, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 150px 100px at 35% 100%, rgba(180, 180, 180, 0.12) 0%, transparent 65%),
        radial-gradient(ellipse 180px 90px at 55% 100%, rgba(220, 220, 220, 0.1) 0%, transparent 75%),
        radial-gradient(ellipse 120px 110px at 75% 100%, rgba(190, 190, 190, 0.14) 0%, transparent 60%),
        radial-gradient(ellipse 160px 70px at 90% 100%, rgba(210, 210, 210, 0.08) 0%, transparent 80%);
    z-index: 2;
    animation: realisticSmoke 12s ease-in-out infinite;
    pointer-events: none;
    filter: blur(1px);
}

@keyframes realisticSmoke {
    0% {
        transform: translateY(0) scaleX(1) scaleY(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) scaleX(1.1) scaleY(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translateY(-40px) scaleX(1.3) scaleY(1.8);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-60px) scaleX(1.5) scaleY(2.2);
        opacity: 0.2;
    }
    100% {
        transform: translateY(-80px) scaleX(1.8) scaleY(2.8);
        opacity: 0.1;
    }
}

@keyframes pulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.6;
    }
}

.welcome-title {
    font-family: "New Rocker", system-ui;
    font-size: 4rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    position: relative;
    z-index: 10;
}

.fero-vero-text {
    background: linear-gradient(45deg, #740000, #fc0000);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200%;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { 
        background-position: 0% 50%; 
    }
    50% { 
        background-position: 100% 50%; 
    }
}

@keyframes titleGlow {
    0% { 
        filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.4));
    }
    100% { 
        filter: drop-shadow(0 0 12px rgba(255, 0, 0, 0.6)) drop-shadow(0 0 18px rgba(255, 0, 0, 0.2));
    }
}

@keyframes sidebarGlow {
    0% { 
        filter: drop-shadow(0 0 2px rgba(255, 0, 0, 0.3));
    }
    100% { 
        filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.4)) drop-shadow(0 0 10px rgba(255, 0, 0, 0.2));
    }
}

.welcome-subtitle {
    font-size: 1.25rem;
    color: #ffffff;
    max-width: 900px;
    margin: 0.5rem auto 0.2rem;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    position: relative;
    z-index: 10;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--accent-red);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background: var(--accent-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(139, 0, 0, 0.5);
}

/* Features Grid */
.features-section {
    margin: 0 !important;
    position: relative !important;
    z-index: 10 !important;
    flex: 1 !important;
    flex-direction: column !important;
    border: none !important;
    outline: none !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    margin-top: 3rem !important;
}

.features-title {
    display: none !important;
}

.features-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 1rem 2rem !important;
    margin: 0 auto !important;
    max-width: 1000px !important;
    height:  !important;
    overflow: visible !important;
    padding: 0 1rem !important;
    flex: 1 !important;
    border: none !important;
    outline: none !important;
    box-sizing: border-box !important;
}

/* Ensure PC version gets proper grid layout */
@media (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        gap: 1rem 2rem !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
        max-width: 1000px !important;
    }
}

/* PC Desktop - 5 columns */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(5, 1fr) !important;
        max-width: 1200px !important;
        gap: 1rem 2rem !important;
        padding: 0 2rem !important;
        margin: 0 auto !important;
    }
}

/* Tablet - 3 columns */
@media (min-width: 769px) and (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem 2rem !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
        max-width: 800px !important;
    }
}

/* Brutalist Button Styles */
.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 110px;
    background-color: #121212;
    border: 4px solid;
    border-image: linear-gradient(45deg, #740000, #fc0000) 1;
    border-radius: 12px;
    box-shadow: 6px 6px 0px #740000;
    color: var(--text-primary);
    font-weight: bold;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0;
}

.feature-card::before,
.feature-card::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(139, 0, 0, 0.3),
        transparent
    );
    transition: 0.6s;
}

.feature-card::before {
    left: -100%;
}

.feature-card::after {
    left: 100%;
}

.dashboard-card {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.dashboard-card:hover {
    background-color: var(--secondary-bg);
    border-image: linear-gradient(45deg, #fc0000, #740000) 1;
    transform: translate(-5px, -5px) rotate(0.5deg);
    box-shadow: 8px 8px 0 #fc0000, 12px 12px 20px rgba(252, 0, 0, 0.4);
    z-index: 10;
}

.dashboard-card:hover::before {
    animation: swipeRight 1.5s infinite;
}

.dashboard-card:hover::after {
    animation: swipeLeft 1.5s infinite;
}

@keyframes swipeRight {
    100% {
        transform: translateX(200%) skew(-45deg);
    }
}

@keyframes swipeLeft {
    100% {
        transform: translateX(-200%) skew(-45deg);
    }
}

.feature-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 3;
    font-size: 2rem;
    margin-bottom: 0.2rem;
}

.dashboard-card:hover .feature-number {
    transform: translateY(-5px);
    font-size: 1.8rem;
    animation: spin-and-zoom 4s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.feature-card h3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    text-align: center;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 15;
    font-size: 0.875rem;
    font-family: "Special Gothic Expanded One", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
}

.dashboard-card:hover h3 {
    opacity: 1;
    max-height: 60px;
    margin-top: 8px;
}

.dashboard-card:active .feature-number,
.dashboard-card:active h3 {
    transform: scale(0.95);
}

@keyframes spin-and-zoom {
    0% {
        transform: translateY(-5px) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-5px) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translateY(-5px) rotate(360deg) scale(1);
    }
}

.feature-card p {
    display: none;
}

/* Feature icons styling */
.feature-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: brightness(1.3) contrast(1.2);
}

/* Section Not Found */
.section-not-found {
    text-align: center;
    padding: 4rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-not-found h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-not-found p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
}

/* All section loader styles with spinning circles removed */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-red);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red-hover);
}

/* Version Text Styles */
.version-text {
    font-family: "Special Gothic Expanded One", sans-serif;
    font-size: 10px;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: absolute;
    right: -30px;
    bottom: 9px;
    display: block;
}

/* Welcome title container for better positioning */
.welcome-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
    line-height: 1.1;
    position: relative;
    z-index: 10;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
    }

    .welcome-title {
        font-size: 3rem;
    }
}

/* PC and Tablet styles - preserved and enhanced */
@media (min-width: 1100px){
    .sidebar {
        width: 280px;
        position: relative;
        height: 100vh;
        background: #0f0f0f;
        border-right: 1px solid var(--border-subtle);
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }

    .main-content {
        flex: 1;
        background: var(--primary-bg);
        overflow-y: auto;
        overflow-x: hidden;
        height: 100vh;
        width: 100%;
        min-height: 100vh;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        position: relative;
    }

    .welcome-screen {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding: 2rem 2rem 0 2rem;
        position: relative;
        overflow-y: auto;
        overflow-x: hidden;
        background: #000000;
        margin: 0;
        box-sizing: border-box;
        width: 100%;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 0.5rem;
        margin: 0.5rem auto 0 auto;
        max-width: 1400px;
        height: auto;
        overflow: visible;
        padding: 0.5rem 2rem 0 2rem;
        flex: 1;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: 2rem;
    }

    .welcome-subtitle {
        font-size: 1rem;
    }

    .features-section {
        margin-top: 3rem;
    }

    .features-title {
        font-size: 1.75rem;
    }
}

/* Animation utilities */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

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

/* All original loader styles completely removed - only section-specific loaders used */

/* Lexend Font Class */
.lexend-font {
    font-family: "Lexend", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

/* Focus styles for accessibility */
.nav-item:focus {
    outline: none;
}

.cta-button:focus {
    outline: 2px solid var(--accent-red);
    outline-offset: 2px;
}


/* Universal Notification System - Consistent Design */
.save-indicator,
.fv-notification,
.czm-notification,
.update-notification,
.notification {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: linear-gradient(90deg, #740000, #fc0000) !important;
    color: white !important;
    padding: 12px 25px !important;
    border: none !important;
    border-radius: 0px !important;
    font-size: 12px !important;
    font-family: "Special Gothic Expanded One", sans-serif !important;
    font-weight: 600 !important;
text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    z-index: 10000 !important;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3) !important;
    pointer-events: none !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
}

/* Error notifications use darker red gradient */
.save-indicator.error,
.fv-notification.error,
.czm-notification.error,
.notification.error,
.notification-error {
    background: linear-gradient(90deg, #8B0000, #FF0000) !important;
}

/* Success notifications keep the main gradient */
.save-indicator.success,
.fv-notification.success,
.czm-notification.success,
.notification.success,
.notification-success {
    background: linear-gradient(90deg, #740000, #fc0000) !important;
}

/* Info notifications also use main gradient */
.save-indicator.info,
.fv-notification.info,
.czm-notification.info,
.notification.info,
.notification-info {
    background: linear-gradient(90deg, #740000, #fc0000) !important;
}

/* Stack multiple notifications */
.fv-notification:nth-child(2),
.czm-notification:nth-child(2),
.notification:nth-child(2) {
    top: 60px !important;
}

.fv-notification:nth-child(3),
.czm-notification:nth-child(3),
.notification:nth-child(3) {
    top: 100px !important;
}

/* Enhanced section containers for better auto-save detection */
.section-container {
    min-height: 100vh;
    width: 100%;
}

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



.sidebar-user-info {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px !important;
    background: rgba(15, 15, 15, 0.9) !important;
    border-top: 1px solid #333 !important;
    margin-top: auto !important;
    flex-shrink: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.user-name {
    font-family: "Special Gothic Expanded One", sans-serif !important;
    font-size: 0.9rem !important;
    color: #fc0000 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
}

.logout-btn {
    background: transparent !important;
    border: 1px solid #666 !important;
    color: #888 !important;
    padding: 8px 15px !important;
    font-family: "Special Gothic Expanded One", sans-serif !important;
    font-size: 0.7rem !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.logout-btn:hover {
    border-color: #fc0000 !important;
    color: #fc0000 !important;
    background: rgba(252, 0, 0, 0.05) !important;
}

.feature-card {
    width: 100%;
    height: 110px;
    background-color: #121212;
    border: 4px solid;
    border-image: linear-gradient(45deg, #740000, #fc0000) 1;
    border-radius: 12px;
    box-shadow: 6px 6px 0px #740000;
    color: var(--text-primary);
    font-weight: bold;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin: 0;
}
/* Tablet - 3 columns */
@media (min-width: 769px) and (max-width: 1199px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 1rem 2rem !important;
        padding: 0 1rem !important;
        margin: 0 auto !important;
        max-width: 800px !important;
    }
}

/* Mobile styles - Single column */
@media (max-width: 768px) {
    .features-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.4rem !important;
        padding: 0.25rem !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }
        .feature-card {
        width: 100% !important;
        max-width: 100% !important;
        height: 110px !important;
        font-size: 0.75rem !important;
        padding: 0.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        border-width: 3px !important;
        box-shadow: 4px 4px 0px #740000 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}