﻿/* =========================================
   RADZEN DARK MODE THEME
   ========================================= */

:root {
    /* Backgrounds */
    --rz-base-background: #1e1e1e;
    --rz-surface-background: #252526;
    --rz-panel-background: #2d2d2d;
    /* Text */
    --rz-text-color: #e2e2e2;
    --rz-secondary-text: #b5b5b5;
    /* Borders */
    --rz-border: #3c3c3c;
    /* Primary Accent (Blue) */
    --rz-primary: #3b82f6;
    --rz-primary-light: #60a5fa;
    --rz-primary-dark: #1d4ed8;
    /* Status Colors */
    --rz-success: #22c55e;
    --rz-warning: #facc15;
    --rz-danger: #ef4444;
    /* Controls */
    --rz-input-background: #2b2b2b;
    --rz-input-text: #ffffff;
    --rz-card-background: #2a2a2a;
    --rz-border-radius: 8px;
}

/* Card custom look */
RadzenCard, .rz-card {
    background: var(--rz-card-background) !important;
    color: var(--rz-text-color) !important;
}

/* KPI cards styling */
.kpi-title {
    font-size: 0.9rem;
    color: var(--rz-primary-text);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.kpi-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--rz-primary);
}

.app-title-uppercase {
    font-size: 1.35rem; /* nicely sized for a top bar */
    font-weight: 800; /* bold, strong title presence */
    letter-spacing: 2px; /* tracking for clean, all-caps look */
    margin-left: 12px; /* spacing from hamburger icon */
    color: var(--rz-text-color); /* supports light/dark themes */
    text-transform: uppercase; /* enforce caps even if label changes */
}

.dialog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
}

.col {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

/* Make RadzenTabView stretch properly */
.rz-tabview {
    display: flex !important;
    flex-direction: column !important;
    min-height: 0 !important;
}

.rz-tabview-panels {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.rz-tabview-panel {
    flex: 1 1 auto !important;
    min-height: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Fullscreen background */
.splash-background {
    height: 100vh;
    width: 100vw;
    overflow: hidden; /* prevents scrollbars */
    background-color: #000; /* solid black background */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: fixed; /* full-screen without scrolling */
    inset: 0; /* align to viewport edges */
}

/* Centered splash content */
.splash-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Logo sizing */
.splash-logo {
    width: 580px;
    height: auto;
    margin-bottom: 0px;
}

/* App title override to look great in the splash */
.splash-title {
    font-size: 3rem; /* bigger than header */
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
    color: #ffffff;
}

/* Login text */
.splash-login {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    opacity: 0.85;
    margin-top: -100px;
}

    .splash-login:hover {
        opacity: 1;
    }

html, body {
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden; /* FULL SCREEN lock */
    height: 100%;
    width: 100%;
}
