 :root {
            --fatec-red-primary: rgb(178,0,0);
            --fatec-red-bright: #ff161f;
            --fatec-red-dark: #842519;
            --fatec-black: #1a1a1a;
            /* Slightly darkened menus as requested */
            --fatec-sidebar-bg: #f2f4f7; 
            --fatec-navbar-bg: #f2f4f7;
            --fatec-white: #ffffff;
            --fatec-gray-dark: rgb(102,102,102);
            --fatec-gray: #808080;
            --fatec-gray-light: #f8f9fa; 
            --sidebar-width: 260px;
            --navbar-height: 70px;
            --border-radius: 12px;
            --transition-speed: 0.25s;
        }

        body {
            font-family: 'Inter', sans-serif;
            background-color: var(--fatec-gray-light);
            margin: 0;
            color: var(--fatec-black);
            overflow-x: hidden;
        }

        /* Sidebar Styling - Slightly Darkened */
        #sidebar {
            width: var(--sidebar-width);
            height: 100vh;
            position: fixed;
            left: 0;
            top: 0;
            background-color: var(--fatec-sidebar-bg);
            color: var(--fatec-black);
            transition: all var(--transition-speed) ease;
            z-index: 1050;
            border-right: 1px solid rgba(0,0,0,0.08);
        }

        #sidebar.collapsed {
            left: calc(var(--sidebar-width) * -1);
        }

        .sidebar-header {
            height: var(--navbar-height);
            padding: 0 25px;
            display: flex;
            align-items: center;
            gap: 12px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            text-decoration: none;
            color: var(--fatec-black);
            transition: background 0.2s;
        }
        
        .sidebar-header:hover {
            background-color: rgba(0,0,0,0.02);
        }

        .sidebar-header span {
            font-weight: 700;
            font-size: 1.1rem;
            letter-spacing: -0.5px;
        }

        .sidebar-user {
            padding: 25px;
            display: flex;
            align-items: center;
            gap: 15px;
            transition: background 0.2s;
            cursor: pointer;
        }
        
        .sidebar-user:hover {
            background-color: rgba(0,0,0,0.03);
        }

        .user-avatar {
            width: 45px;
            height: 45px;
            border-radius: 12px;
            background-color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--fatec-red-primary);
            border: 1px solid rgba(0,0,0,0.08);
            transition: all 0.2s;
        }
        
        .sidebar-user:hover .user-avatar {
            transform: scale(1.05);
            border-color: var(--fatec-red-primary);
        }

        .user-info .name {
            font-weight: 600;
            font-size: 0.9rem;
            display: block;
        }

        .user-info .role {
            font-size: 0.75rem;
            color: var(--fatec-gray);
        }

        .sidebar-menu {
            padding: 10px 15px;
            list-style: none;
            margin: 0;
        }

        .menu-header {
            padding: 20px 10px 10px;
            font-size: 0.7rem;
            text-transform: uppercase;
            font-weight: 700;
            color: var(--fatec-gray);
            letter-spacing: 1px;
        }

        .menu-item {
            margin-bottom: 5px;
        }

        .menu-link {
            display: flex;
            align-items: center;
            padding: 12px 15px;
            color: var(--fatec-gray-dark);
            text-decoration: none;
            border-radius: 10px;
            transition: all 0.2s ease;
            gap: 12px;
            font-weight: 500;
            font-size: 0.9rem;
        }

        /* Evident Hover on Menu Links */
        .menu-link:hover {
            background-color: rgba(178, 0, 0, 0.08);
            color: var(--fatec-red-primary);
            transform: translateX(6px);
            font-weight: 600;
        }

        .menu-link.active {
            background-color: rgba(178, 0, 0, 0.1);
            color: var(--fatec-red-primary);
            font-weight: 700;
        }

        .menu-link i {
            width: 20px;
            height: 20px;
            transition: transform 0.2s;
        }
        
        .menu-link:hover i {
            transform: scale(1.15);
        }

        /* Navbar Styling - Slightly Darkened */
        #navbar {
            height: var(--navbar-height);
            background-color: var(--fatec-navbar-bg);
            position: fixed;
            top: 0;
            right: 0;
            left: var(--sidebar-width);
            transition: all var(--transition-speed) ease;
            z-index: 1040;
            display: flex;
            align-items: center;
            padding: 0 30px;
            justify-content: space-between;
            border-bottom: 1px solid rgba(0,0,0,0.08);
        }

        #navbar.expanded {
            left: 0;
        }

        .nav-btn {
            background: none;
            border: none;
            color: var(--fatec-gray-dark);
            padding: 10px;
            border-radius: 10px;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Evident Hover on Navbar Buttons */
        .nav-btn:hover {
            background-color: rgba(0,0,0,0.05);
            color: var(--fatec-red-primary);
            transform: scale(1.1);
        }

        /* Content Wrapper */
        #content-wrapper {
            margin-left: var(--sidebar-width);
            padding-top: var(--navbar-height);
            transition: all var(--transition-speed) ease;
            min-height: 100vh;
        }

        #content-wrapper.expanded {
            margin-left: 0;
        }

        .content-header {
            padding: 30px 40px 10px;
        }

        .page-title {
            font-size: 1.5rem;
            font-weight: 700;
            position: relative;
            display: inline-block;
            margin-bottom: 20px;
        }

        .page-title::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 60%;
            height: 3px;
            background-color: var(--fatec-red-primary);
            border-radius: 2px;
        }

        .content {
            padding: 20px 40px 40px;
        }

        /* Stat Cards - Evident Hover */
        .stat-card {
            background: #fff;
            border-radius: var(--border-radius);
            padding: 25px;
            border: 1px solid rgba(0,0,0,0.05);
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            cursor: pointer;
        }

        .stat-card:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 35px rgba(0,0,0,0.08);
            border-color: rgba(178, 0, 0, 0.2);
        }

        .stat-icon {
            width: 50px;
            height: 50px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: rgba(178, 0, 0, 0.08);
            color: var(--fatec-red-primary);
            transition: all 0.3s ease;
        }
        
        .stat-card:hover .stat-icon {
            background-color: var(--fatec-red-primary);
            color: #fff;
            transform: rotate(10deg);
        }

        .stat-value {
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0;
        }

        .stat-label {
            font-size: 0.8rem;
            color: var(--fatec-gray);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-weight: 600;
        }

        /* Cards */
        .card {
            background: #fff;
            border-radius: var(--border-radius);
            border: 1px solid rgba(0,0,0,0.05);
            box-shadow: 0 4px 15px rgba(0,0,0,0.03);
            margin-bottom: 25px;
            overflow: hidden;
            transition: all 0.3s ease;
        }
        
        .card:hover {
            box-shadow: 0 8px 25px rgba(0,0,0,0.06);
        }

        .card-header {
            background: transparent;
            padding: 20px 25px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .card-title {
            font-size: 1.1rem;
            font-weight: 700;
            margin: 0;
            color: var(--fatec-black);
        }

        .card-body {
            padding: 25px;
        }

        /* Comunicados - Evident Hover */
        .comunicado-item {
            border-left: 4px solid var(--fatec-red-primary);
            background-color: #fff;
            padding: 15px 20px;
            margin-bottom: 15px;
            border-radius: 0 8px 8px 0;
            box-shadow: 0 2px 10px rgba(0,0,0,0.02);
            transition: all 0.2s ease;
            cursor: pointer;
            border-top: 1px solid rgba(0,0,0,0.02);
            border-right: 1px solid rgba(0,0,0,0.02);
            border-bottom: 1px solid rgba(0,0,0,0.02);
        }

        .comunicado-item:hover {
            background-color: var(--fatec-gray-light);
            transform: translateX(10px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .comunicado-title {
            font-weight: 700;
            color: var(--fatec-red-primary);
            margin-bottom: 5px;
            font-size: 0.95rem;
        }

        .comunicado-text {
            font-size: 0.85rem;
            color: var(--fatec-gray-dark);
            margin: 0;
        }

        /* Buttons - Evident Hover */
        .btn-fatec {
            background-color: var(--fatec-red-primary);
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 10px 24px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.2s ease;
            box-shadow: 0 4px 10px rgba(178, 0, 0, 0.2);
        }

        .btn-fatec:hover {
            background-color: var(--fatec-red-bright);
            color: #fff;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(178, 0, 0, 0.3);
        }

        /* Submenu Styling */
        .submenu {
            list-style: none;
            padding: 0 0 0 45px;
            margin: 0;
            display: none;
            overflow: hidden;
        }

        .menu-item.active-dropdown .submenu {
            display: block;
            animation: slideDown 0.3s ease-out;
        }

        @keyframes slideDown {
            from { opacity: 0; transform: translateY(-10px); }
            to { opacity: 1; transform: translateY(0); }
        }

        .submenu-link {
            display: block;
            padding: 8px 15px;
            color: var(--fatec-gray);
            text-decoration: none;
            font-size: 0.85rem;
            transition: all 0.2s ease;
            border-radius: 8px;
            margin-bottom: 2px;
            font-weight: 500;
        }

        .submenu-link:hover {
            color: var(--fatec-red-primary);
            background-color: rgba(178, 0, 0, 0.05);
            transform: translateX(5px);
        }

        .dropdown-arrow {
            margin-left: auto;
            transition: transform 0.3s ease;
        }

        .menu-item.active-dropdown .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* Sidebar Overlay for Mobile */
        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            z-index: 1045;
            display: none;
            backdrop-filter: blur(2px);
            transition: all 0.3s ease;
        }

        @media (max-width: 992px) {
            #sidebar.active ~ .sidebar-overlay {
                display: block;
            }
        }

        /* Scrollbar */
        ::-webkit-scrollbar { width: 6px; }
        ::-webkit-scrollbar-track { background: var(--fatec-gray-light); }
        ::-webkit-scrollbar-thumb { background: #d1d1d1; border-radius: 10px; }
        ::-webkit-scrollbar-thumb:hover { background: var(--fatec-gray); }

        @media (max-width: 992px) {
            #sidebar { left: calc(var(--sidebar-width) * -1); }
            #sidebar.active { left: 0; }
            #navbar { left: 0; }
            #content-wrapper { margin-left: 0; }
        }


        /* ------------------------------------ */
        input::placeholder{
            font-size: 14px;
        }