:root {
    --brand-obsidian: #1C1C1C;
    --brand-gold: #B8860B;
    --brand-champagne: #FEE9B0;
    --brand-bg: #FAFAFA;
}

* {
    box-sizing: border-box;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;

    font-family: "Inter", "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--brand-bg);
}

.elevation-1 {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06) !important;
    transition: box-shadow 0.15s ease !important;
}

.elevation-1:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08) !important;
}

.mud-table {
    border-collapse: separate;
    border-spacing: 0;
}

.mud-table-container {
    border-radius: 2px;
    overflow: hidden;
}

.mud-table-head {
    background-color: rgba(0, 0, 0, 0.02) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.mud-table-cell {
    padding: 12px 16px !important;
    font-size: 0.8125rem !important;
    line-height: 1.375rem !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mud-table-head .mud-table-cell {
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    color: rgba(0, 0, 0, 0.6) !important;
    padding: 10px 16px !important;
    background-color: rgba(0, 0, 0, 0.03) !important;
}

.mud-table-row:hover {
    background-color: rgba(0, 0, 0, 0.02) !important;
    transition: background-color 0.15s ease !important;
}

.mud-button-root {
    transition: all 0.15s ease !important;
    border-radius: 2px !important;
}

.mud-button-root:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.mud-button-root:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
}

.mud-input-control {
    border-radius: 2px !important;
}

.mud-input-control .mud-input-outlined {
    border-radius: 2px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
}

.mud-input-control .mud-input-outlined:focus-within {
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1) !important;
}

.mud-card {
    border-radius: 2px !important;
    overflow: hidden;
}

.mud-paper {
    border-radius: 2px !important;
}

.mud-grid {
    margin-bottom: 1.5rem;
}

.mud-item {
    padding: 0 0.5rem !important;
}

.mud-icon-button {
    transition: all 0.15s ease !important;
}

.mud-icon-button:hover {
    background-color: rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-1px);
}

.mud-chip {
    font-size: 0.75rem !important;
}

/* =========================================
   Blazor Reconnect (Premium Noir)
   ========================================= */
#components-reconnect-modal {
    max-width: 100vw !important;
    max-height: 100vh !important;
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    display: none;
}

.validation-summary-errors, .status-msg-error {
    background-color: transparent !important;
    color: #D32F2F !important; /* Premium Deep Red */
    border: 1px solid rgba(211, 47, 47, 0.3) !important;
    border-radius: 0px !important;
    padding: 12px !important;
    font-size: 0.75rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    display: block;
    text-align: center;
}

/* Input error state */
.form-input.invalid {
    border-color: #D32F2F !important;
    background-color: rgba(211, 47, 47, 0.02) !important;
}
.components-reconnect-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 450px;
    background-color: #000000;
    color: var(--brand-champagne);
    border: 1px solid var(--brand-champagne);
    border-radius: 0px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    padding: 2.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.components-rejoining-animation div {
    width: 12px;
    height: 12px;
    background-color: var(--brand-champagne);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

/* =========================================
   Auth Layout (Split Container)
   ========================================= */
.split-container {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

.brand-section {
    flex: 1;
    background: linear-gradient(rgba(0, 0, 0, 0.85), rgba(28, 36, 64, 0.6)), url('img/bg-image.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding-left: 8%;
}

.brand-logo-large {
    color: var(--brand-champagne);
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: 5px;
    border-left: 8px solid var(--brand-champagne);
    padding-left: 30px;
    text-transform: uppercase;
    max-width: 800px;
    line-height: 1.1;
}

.login-section {
    background: #FFFFFF;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    width: 100%;
    max-width: 550px;
    flex-shrink: 0;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    text-align: center;
}

.brand-logo-small {
    color: var(--brand-obsidian);
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 14px;
    border: 1px solid #E0E0E0;
    border-radius: 0px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

    .form-input:focus {
        outline: none;
        border-color: var(--brand-gold);
        box-shadow: 0 0 0 1px var(--brand-gold);
    }

.btn-signin {
    width: 100%;
    background-color: var(--brand-obsidian);
    color: var(--brand-champagne);
    padding: 16px;
    border: 1px solid var(--brand-gold);
    border-radius: 0px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
}

    .btn-signin:hover {
        background-color: #000000;
        box-shadow: 0 5px 15px rgba(184, 134, 11, 0.2);
    }
/* Gold Accent Classes */
.gold-text {
    color: #B8860B; /* Primary Metallic Gold */
}

.border-gold-top {
    border-top: 3px solid #B8860B !important;
}

.border-gold-left {
    border-left: 4px solid #B8860B !important;
    background-color: var(--mud-palette-surface) !important;
}

/* Luxury Table Styling */
.spec-table .mud-table-head {
    background-color: #1C1C1C; /* Obsidian Slate */
}

    .spec-table .mud-table-head .mud-th {
        color: #FEE9B0 !important; /* Champagne Gold Header Text */
        font-weight: 600;
        text-transform: uppercase;
        font-size: 0.75rem;
    }

/* Summary Footer styling */
.summary-footer {
    background-color: var(--mud-palette-background-grey);
    border-top: 1px solid var(--mud-palette-divider);
}

/* Form Polish */
.mud-input-gold .mud-input-slot {
    color: #B8860B !important;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Overriding MudExpansionPanels for enterprise look */
.mud-expand-panel {
    border: 1px solid var(--mud-palette-divider);
    margin-bottom: 8px;
}


/* lead details */
/* Text Colors */
.obsidian-text {
    color: #1C1C1C;
}

.gold-text {
    color: #B8860B;
}

/* Border Accents */
.border-gold-top {
    border-top: 3px solid #B8860B !important;
}

.border-gold-left {
    border-left: 4px solid #B8860B !important;
    background-color: #FFFFFF !important;
}

/* Luxury Tabs */
.sosms-tabs .mud-tabs-toolbar {
    background-color: #1C1C1C !important; /* Obsidian Slate */
    border-radius: 4px 4px 0 0;
}

.sosms-tabs .mud-tab {
    color: #FEE9B0 !important; /* Champagne Gold text */
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 600;
}

.sosms-tabs .mud-tab-active {
    color: #FFFFFF !important;
    background-color: rgba(184, 134, 11, 0.2); /* Subtle Gold highlight */
}

.sosms-tabs .mud-tabs-slider {
    background-color: #B8860B !important; /* Gold slider */
}

/* Grid/Paper Adjustments */
.mud-paper-outlined {
    border: 1px solid rgba(184, 134, 11, 0.15) !important;
}
@media (max-width: 900px) {
    .split-container {
        flex-direction: column;
    }

    .brand-section {
        height: 200px;
        padding-left: 0;
        justify-content: center;
    }

    .brand-logo-large {
        font-size: 1.5rem;
        border-left-width: 4px;
        padding-left: 15px;
        text-align: center;
    }

    .login-section {
        max-width: 100%;
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* --- SEMANTIC PILLS (AWARDS CENTRAL THEME) --- */

.pill-warning {
    background-color: #FEE9B0; /* Champagne Gold (Tertiary) */
    color: #856404;
    padding: 15px;
    border-radius: 2px; /* Matching your LayoutProperties */
    border: 1px solid #B8860B; /* Deep Metallic Gold (Primary) */
    text-align: left;
    margin-bottom: 10px;
    font-size: 0.8125rem; /* Matching your DefaultTypography */
}

.pill-error {
    background-color: #fce4e4; /* Light Crimson */
    color: #c62828;
    padding: 15px;
    border-radius: 2px;
    border: 1px solid #f44336;
    text-align: left;
    margin-bottom: 10px;
    font-size: 0.8125rem;
}

.pill-success {
    background-color: #e8f5e9; /* Light Mint */
    color: #2e7d32;
    padding: 15px;
    border-radius: 2px;
    border: 1px solid #4caf50;
    text-align: left;
    margin-bottom: 10px;
    font-size: 0.8125rem;
}

.pill-info {
    background-color: #e3f2fd; /* Light Azure */
    color: #1565c0;
    padding: 15px;
    border-radius: 2px;
    border: 1px solid #2196f3;
    text-align: left;
    margin-bottom: 10px;
    font-size: 0.8125rem;
}
.pill-default {
    background-color: #E0E0E0;
    color: #1C1C1C;
    padding: 15px;
    border-radius: 2px;
    border: 1px solid #FEE9B0;
    text-align: left;
    margin-bottom: 10px;
    font-size: 0.8125rem;
}



.validation-message-form {
    position: relative;
    list-style: none;
    padding: 8px 12px;
    border-left: 4px solid #be3638;
    color: #be3638;
    background-color: rgba(232, 136, 138, 0.1);
    margin-top: 6px;
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: left;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

    .validation-message-form .close-btn {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #be3638;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
    }