/* Malaysia National Day Theme - Vibrant Festive Merdeka Style */
:root {
    --primary-color: #af0c1e;
    /* Vibrant Patriotic Red */
    --secondary-color: #153e7e;
    /* Deep Merdeka Blue */
    --accent-color: #af0c1e;
    --bg-light: #f4f4f4;
    --navbar-bg: #ffffff;
    --sidebar-bg: #153e7e;
    --text-dark: #1a1a1a;
    --text-muted: #666666;
    --card-header-bg: #af0c1e;
    --border-color: #dddddd;
    --merdeka-blue: #153e7e;
    --merdeka-red: #af0c1e;
    --merdeka-yellow: #ffcc00;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

/* Navbar */
.navbar {
    background-color: var(--navbar-bg) !important;
    border-bottom: 2px solid #eeeeee;
    height: 60px;
    padding: 0 1.5rem;
}

.navbar-brand {
    color: var(--merdeka-blue) !important;
    font-weight: 700;
}

/* Sidebar - Deep Blue & White */
.bg-light.border-right.min-vh-100 {
    background-color: var(--sidebar-bg) !important;
    border-right: none !important;
}

.list-group-item-action {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    padding: 12px 20px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.list-group-item-action i {
    width: 20px;
    margin-right: 12px;
}

.list-group-item-action:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: white !important;
}

.list-group-item-action.active {
    background-color: rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    box-shadow: inset 4px 0 0 white;
}

/* Welcome Card - Festive Banner Style */
.welcome-card {
    background-color: #ffffff !important;
    border: 1px solid #eeeeee !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    min-height: 120px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.welcome-card::before {
    content: '\f024';
    /* Flag icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: -20px;
    bottom: -30px;
    font-size: 160px;
    color: rgba(21, 62, 126, 0.08);
    /* Faded Blue Flag */
    transform: rotate(15deg);
}

.welcome-card::after {
    content: '\f5d0';
    /* Flower icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: -20px;
    font-size: 120px;
    color: rgba(175, 12, 30, 0.08);
    /* Faded Red Hibiscus */
}

.welcome-card .card-title {
    color: var(--merdeka-blue);
    font-size: 2.2rem;
    font-weight: 700;
}

.welcome-card .card-title span {
    color: var(--merdeka-red);
}

/* Red Section Headers */
.card-header-styled {
    background-color: var(--merdeka-red) !important;
    color: white !important;
    padding: 10px 15px;
    font-weight: 700;
    text-transform: capitalize;
    border: none !important;
}

.card {
    border: 1px solid #dddddd !important;
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

/* Announcement Item Icons (Right Aligned in reference) */
.announcement-icon-right {
    float: right;
    font-size: 1.5rem;
    opacity: 0.9;
}

.fa-merdeka-flag {
    color: var(--merdeka-red);
}

.fa-merdeka-hibiscus {
    color: var(--merdeka-red);
}

/* Buttons */
.btn-primary {
    background-color: var(--merdeka-red) !important;
    border: none !important;
    font-weight: 600;
}

.btn-outline-primary {
    color: var(--merdeka-red) !important;
    border-color: var(--merdeka-red) !important;
}

.btn-outline-primary:hover {
    background-color: var(--merdeka-red) !important;
    color: white !important;
}