/* =====================================================================
   🎨 XCERNO DIVISION DESIGN SYSTEM - GLOBAL LIGHT CORPORATE STYLES
   ===================================================================== */
body.light-corporate-theme {
    background-color: #F3F6F9;
    color: #242D35;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Base card housing layout parameters */
.portal-container.clear-portal-card {
    background-color: #FFFFFF;
    border: 1px solid #E0E4E6;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(26, 37, 44, 0.05);
    width: 100%;
    max-width: 680px; /* Expands setup framework card boundaries broad */
    padding: 36px;
    margin: 50px auto;
    box-sizing: border-box;
    text-align: left;
}

.portal-header {
    text-align: center;
    margin-bottom: 24px;
    border-bottom: 1px solid #E9EDF0;
    padding-bottom: 16px;
}

.banner-logo {
    display: block;
    margin: 0 auto 12px auto;
    height: auto !important;
    max-height: none !important;
    width: 240px !important;
    object-fit: contain;
}

/* Vertical Field Forms Stack Parameters */
.form-input-group {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    margin-bottom: 16px !important;
    box-sizing: border-box;
}

.form-input-group label {
    display: block !important;
    text-align: left !important;
    font-weight: bold;
    color: #1A252C;
    margin-bottom: 6px !important;
    font-size: 13px;
}

.form-input-group input, 
.form-input-group select {
    display: block !important;
    width: 100% !important;
    height: 40px !important;
    padding: 8px 12px !important;
    background-color: #FFFFFF;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    color: #333333;
    font-size: 14px;
    box-sizing: border-box !important;
    outline: none;
}

.tab-navigation-bar {
    display: flex;
    background-color: #E9EDF0;
    border-radius: 6px;
    padding: 4px;
    margin-bottom: 24px;
    gap: 4px;
}

.nav-tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    color: #5A6A75;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
    border-radius: 4px;
    height: 38px;
}

.nav-tab-btn.active-tab {
    color: #007ACC;
    background-color: #FFFFFF;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.hidden-pane { display: none !important; }

/* =====================================================================
   📊 MAIN LONG-TERM DESKTOP DASHBOARD CORE HOUSING STYLES
   ===================================================================== */
.dashboard-layout {
    display: flex !important;
    gap: 28px !important;
    max-width: 1240px !important;
    margin: 40px auto !important;
    padding: 0 24px !important;
    box-sizing: border-box !important;
    align-items: flex-start !important;
}

.sidebar-menu {
    width: 290px !important;
    min-width: 290px !important;
    background: #FFFFFF !important;
    border: 1px solid #DCE3E6 !important;
    border-radius: 6px !important;
    padding: 24px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    min-height: 560px !important;
}

.sidebar-menu div a.menu-item-row {
    display: block !important;
    width: 100% !important;
    padding: 12px 14px !important;
    text-decoration: none !important;
    color: #242D35 !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    margin-bottom: 10px !important; /* Breathing space between rows */
    font-size: 13px !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease-in-out;
}

.sidebar-menu div a.menu-item-row:hover, 
.sidebar-menu div a.menu-active {
    background-color: #E9EDF0 !important;
    color: #007ACC !important;
}

.password-field-wrapper {
    display: flex !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mask-toggle-btn {
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    transform: translateY(-50%) !important; /* Centers button vertically inside box */
    background: transparent !important;
    border: none !important;
    color: #777777 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    outline: none !important;
    z-index: 10 !important;
    padding: 0 !important;
    margin: 0 !important;
}

.workspace-canvas {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #DCE3E6;
    border-radius: 6px;
    padding: 28px;
    box-sizing: border-box;
}

/* Master Data Ledger Layout Specifications */
table { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 13px; }
th, td { border: 1px solid #DCE3E6; padding: 12px; text-align: left; }
th { background-color: #F3F6F9; color: #1A252C; font-weight: bold; }

/* Global Action Button Definitions */
.submit-action-btn.long-btn {
    background-color: #007ACC;
    color: white;
    height: 42px;
    font-weight: bold;
    font-size: 14px;
    margin-top: 10px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    width: 100%;
}

/* =====================================================================
   🎛️ RE-DESIGNED COMPACT ROW CONTROL ACTION BUTTON CLASSES
   ===================================================================== */
.row-btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px !important;
    padding: 0 12px !important;
    font-size: 11px !important;
    font-weight: bold !important;
    border-radius: 4px !important;
    cursor: pointer;
    background: #FFFFFF;
    box-sizing: border-box;
    transition: all 0.2s ease-in-out;
}

/* Warning Amber: Swap Machine Button */
.btn-swap-machine { border: 1px solid #E65100 !important; color: #E65100 !important; }
.btn-swap-machine:hover { background-color: #FFF3E0 !important; }

/* Corporate Blue: Modify Dates Button */
.btn-modify-dates { border: 1px solid #007ACC !important; color: #007ACC !important; margin: 0 6px !important; }
.btn-modify-dates:hover { background-color: #E1F5FE !important; }

/* Warning Professional Red: Cancel Button */
.btn-cancel-license { border: 1px solid #E53935 !important; color: #E53935 !important; }
.btn-cancel-license:hover { background-color: #FFEBEE !important; }

/* Notification Feedback Badges */
.status-feedback-banner { margin-top: 16px; padding: 12px; border-radius: 4px; font-size: 13px; font-weight: bold; text-align: center; }
.banner-error { background-color: #FDF2F2; border: 1px solid #F8B4B4; color: #C81E1E; }
.banner-success { background-color: #EDFDF5; border: 1px solid #9AE6B4; color: #03543F; }

@media screen and (max-width: 768px) {
    .dashboard-layout { flex-direction: column; }
    .sidebar-menu { width: 100% !important; min-height: auto; }
}