:root {
    --Primary_Color: #2563EB;
    --Primary_Light: #DBEAFE;
    --Secondary_Color: #64748B;
    --Background_Color: #F8FAFC;
    --Surface_Color: #FFFFFF;
    --Text_Primary: #1E293B;
    --Text_Secondary: #475569;
    --Border_Color: #E2E8F0;
    --Success_Color: #10B981;
    --Error_Color: #EF4444;
    --Overlay_Color: rgba(0, 0, 0, 0.65);
    --Sidebar_Width: 260px;
}

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

body, html {
    height: 100%;
    width: 100%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--Text_Primary);
    line-height: 1.5;
    overflow: hidden; /* Main page scroll is handled by content body */
    background-color: var(--Background_Color);
}

/* Landing Page Styles */
.Landing_Wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('../assets/pasted-20260204-200305-388a4105.jpg') no-repeat center center;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    overflow: hidden;
}

.Landing_Wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--Overlay_Color);
    z-index: 1;
}

.Landing_Header {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.Logo_Pill {
    background: white;
    padding: 8px 24px 8px 10px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.Logo_Circle {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.Logo_Circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.Logo_Text {
    text-align: left;
}

.Logo_Title {
    color: #0F172A;
    font-weight: 700;
    font-size: 0.8rem;
    line-height: 1.2;
    text-transform: uppercase;
}

.Logo_Subtitle {
    color: #64748B;
    font-size: 0.65rem;
    font-weight: 500;
}

.Landing_Content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
    animation: fadeInScale 0.8s ease-out;
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.Landing_Title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.Landing_Description {
    font-size: clamp(0.9rem, 2.5vw, 1.15rem);
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
}

.Btn_Landing_Login {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--Primary_Color);
    padding: 16px 45px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.Btn_Landing_Login:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px -5px rgba(0, 0, 0, 0.4);
    background: #f8fafc;
}

.Landing_Footer {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 2;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.6);
    padding: 0 20px;
}

/* Modal Styles */
.Modal_Overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    z-index: 100;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.Modal_Overlay.Active {
    display: flex;
}

.Login_Card {
    background: var(--Surface_Color);
    border-radius: 12px;
    width: 100%;
    max-width: 440px;
    padding: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: slideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.Btn_Close_Modal {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--Secondary_Color);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s;
}

.Btn_Close_Modal:hover {
    background: #e2e8f0;
    color: var(--Text_Primary);
}

.Login_Card .Title_Large {
    font-size: 1.85rem;
    color: var(--Text_Primary);
    margin-bottom: 8px;
    text-align: left;
    font-weight: 800;
}

.Login_Card .Text_Muted {
    text-align: left;
    margin-bottom: 32px;
    color: var(--Text_Secondary);
}

/* Form Styles */
.Form_Group {
    margin-bottom: 20px;
}

.Label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--Text_Primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.Input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--Border_Color);
    border-radius: 8px;
    font-size: 0.95rem;
    background: #F8FAFC;
    transition: all 0.2s;
    font-family: inherit;
}

.Input:focus {
    outline: none;
    border-color: var(--Primary_Color);
    background: white;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.Button_Primary {
    width: 100%;
    padding: 16px;
    background-color: var(--Primary_Color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.Button_Primary:hover {
    background-color: #1D4ED8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Dashboard Layout */
.Dashboard_Container {
    display: flex;
    width: 100%;
    height: 100vh;
}

.Sidebar {
    width: var(--Sidebar_Width);
    background: white;
    border-right: 1px solid var(--Border_Color);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.Sidebar_Header {
    padding: 24px;
    border-bottom: 1px solid var(--Border_Color);
}

.Sidebar_Nav {
    padding: 20px 0;
    flex: 1;
    overflow-y: auto;
}

.Nav_Item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: var(--Text_Secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.Nav_Item:hover {
    background: #F1F5F9;
    color: var(--Primary_Color);
}

.Nav_Item.Active {
    background: var(--Primary_Light);
    color: var(--Primary_Color);
    border-right: 4px solid var(--Primary_Color);
}

.Main_Content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.Top_Bar {
    height: 70px;
    background: white;
    border-bottom: 1px solid var(--Border_Color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    flex-shrink: 0;
}

.Search_Box {
    display: flex;
    align-items: center;
    background: #F1F5F9;
    border-radius: 8px;
    padding: 8px 16px;
    width: 100%;
    max-width: 400px;
}

.Search_Box input {
    background: transparent;
    border: none;
    outline: none;
    padding: 4px 8px;
    width: 100%;
    font-family: inherit;
}

.Top_Bar_Actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

.Content_Body {
    flex: 1;
    padding: 32px;
    overflow-y: auto;
}

.Page_Title_Section {
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.Page_Title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--Text_Primary);
}

.Page_Subtitle {
    color: var(--Text_Secondary);
    font-size: 0.95rem;
}

/* Stat Cards */
.Stat_Cards_Grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.Stat_Card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.Stat_Label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--Text_Secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.Stat_Value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--Text_Primary);
}

.Stat_Trend {
    font-size: 0.85rem;
    font-weight: 600;
}

.Trend_Up { color: var(--Success_Color); }
.Trend_Down { color: var(--Error_Color); }

/* Dashboard Grid */
.Dashboard_Grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.Card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    padding: 24px;
    margin-bottom: 24px;
}

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

.Card_Title {
    font-size: 1.15rem;
    font-weight: 700;
}

/* Table Styles */
.Table_Wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--Border_Color);
    color: var(--Text_Secondary);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

td {
    padding: 16px 12px;
    border-bottom: 1px solid var(--Border_Color);
    font-size: 0.95rem;
}

.Badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.Badge_Success { background: #DCFCE7; color: #166534; }
.Badge_Warning { background: #FEF9C3; color: #854D0E; }
.Badge_Danger { background: #FEE2E2; color: #991B1B; }

/* Accordion / Collapsible */
.Accordion_Item {
    margin-bottom: 16px;
    border: 1px solid var(--Border_Color);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.Accordion_Header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: background 0.2s;
}

.Accordion_Header:hover {
    background: #F8FAFC;
}

.Accordion_Header h3 {
    font-size: 1.15rem;
    color: var(--Primary_Color);
    font-weight: 700;
}

.Accordion_Icon {
    transition: transform 0.3s;
    color: var(--Primary_Color);
}

.Accordion_Content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    padding: 0 24px;
}

.Accordion_Item.Active .Accordion_Content {
    max-height: 2000px; /* Large enough to fit content */
    padding: 24px;
    border-top: 1px solid var(--Border_Color);
}

.Accordion_Item.Active .Accordion_Icon {
    transform: rotate(180deg);
}

/* List Items */
.Data_List {
    display: flex;
    flex-direction: column;
}

.Data_Row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--Border_Color);
}

.Data_Row:last-child {
    border-bottom: none;
}

.Data_Label {
    font-weight: 500;
    color: var(--Text_Secondary);
}

.Data_Value {
    font-weight: 600;
    color: var(--Text_Primary);
}

@media (max-width: 1024px) {
    .Dashboard_Grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .Sidebar {
        display: none;
    }
    
    .Top_Bar {
        padding: 0 20px;
    }
    
    .Search_Box {
        display: none;
    }
}

/* Custom Utilities */
.Text_Muted { color: var(--Text_Secondary); }

.Select {
    padding: 8px 16px;
    border: 1px solid var(--Border_Color);
    border-radius: 8px;
    background: white;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--Text_Primary);
    outline: none;
}

/* Breakdown & Summary Cards */
.Summary_Breakdowns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.Breakdown_Card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--Border_Color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.Breakdown_Title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--Primary_Color);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--Primary_Light);
    padding-bottom: 8px;
}

.Breakdown_Item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
}

.Breakdown_Item:last-child {
    border-bottom: none;
}

/* Filter Bar */
.Filter_Bar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--Border_Color);
    display: grid;
    grid-template-columns: 2fr repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
    align-items: flex-end;
}

.Filter_Group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--Text_Secondary);
    margin-bottom: 8px;
}

.Search_Input_Wrapper {
    position: relative;
}

.Search_Input_Wrapper i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--Text_Secondary);
}

.Search_Input_Wrapper .Input {
    padding-left: 38px;
}

.Button_Secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #4F46E5;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.Button_Secondary:hover {
    background: #4338CA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.2);
}
