@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap');

body {
    background: url('./solar-background-dl.jpg') no-repeat center center fixed;
    background-size: cover;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,1);
}

body::before {
    content: "";
    position: fixed;
    transform: scale(1.0);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: inherit;
    filter: blur(4px) brightness(80%);
    z-index: 0;
}

h5 {
    font-size: 1.4rem;
    font-weight: 500;
}

p {
    margin-bottom: 0.5rem;
}

.container {
    position: relative;
    z-index: 1;
}

.glass-card {
    /*background: rgba(0, 29, 101, 0.4);*/
    border-radius: 18px;
    filter: contrast(1.3);
    backdrop-filter: blur(40px) saturate(120%) brightness(100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.18), 0 2px 6px 0 rgba(0,0,0,0.10);
    transition: box-shadow 0.3s;
    text-align: center;
}

.glass-card:hover {
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.25), 0 2px 8px 0 rgba(0,0,0,0.13);
}

.row.g-4 {
    margin-bottom: 0;
}

.row.mt-4 {
    margin-top: 0 !important;
}

.dashboard-header {
    color: #fff;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 12px rgba(31,38,135,0.10);
}

.secondary-text {
    color: #fff;
    opacity: 0.55;
    text-shadow: 0 1px 6px rgba(31,38,135,0.06);
}

.dashboard-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.dashboard-grid .row {
    width: 100%;
    max-width: 1000px;
    margin-left: 0;
    margin-right: 0;
}

.dashboard-grid .col-md-6, .dashboard-grid .col-12 {
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.dashboard-grid .glass-card {
    width: 95%;
    margin: 0 0.75rem;
}

@media (max-width: 992px) {
    .dashboard-grid .row {
        max-width: 100%;
    }
    .dashboard-grid .glass-card {
        width: 100%;
        margin: 0 0.25rem;
    }
}

@media (max-width: 768px) {
    .dashboard-grid .row {
        flex-direction: column;
        align-items: center;
    }
    .dashboard-grid .col-md-6, .dashboard-grid .col-12 {
        margin-bottom: 1.5rem;
    }
    .col-md-6, .col-12 {
        margin-bottom: 1.5rem;
    }
}

.value-indicator-red {
    color: #fa2020 !important;
}
.value-indicator-orange {
    color: #ff9900 !important;
}
.value-indicator-light-green {
  color: #92fd7e !important;
}
.value-indicator-green {
  color: #00ff00 !important;
}
