/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


html {
    scroll-behavior: smooth;
}


body {

    background:
        linear-gradient(
            to bottom,
            #1e90ff 0%,
            #70a1ff 50%,
            #eccc68 100%
        );

    color: #ffffff;

    min-height: 100vh;

    padding: 2rem 1.5rem;

    position: relative;

    overflow-x: hidden;
}


body::before {

    content: '';

    position: fixed;

    top: -15%;
    left: -15%;

    width: 60vw;
    height: 60vw;

    background:
        radial-gradient(
            circle,
            rgba(255,255,255,0.25) 0%,
            rgba(255,255,255,0) 70%
        );

    z-index: 0;

    pointer-events: none;
}


/* =========================================================
   CLOUDS
========================================================= */

.clouds-container {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    pointer-events: none;
}


.custom-cloud {

    width: 220px;
    height: 65px;

    background: rgba(255,255,255,0.9);

    border-radius: 200px;

    position: relative;

    filter: blur(2px);

    box-shadow:
        0 15px 30px rgba(12,36,97,0.08),
        inset 0 -5px 15px rgba(112,161,255,0.2);
}


.custom-cloud::before {

    content: '';

    position: absolute;

    background: inherit;

    width: 110px;
    height: 110px;

    top: -55px;
    left: 35px;

    border-radius: 50%;
}


.custom-cloud::after {

    content: '';

    position: absolute;

    background: inherit;

    width: 80px;
    height: 80px;

    top: -40px;
    left: 110px;

    border-radius: 50%;
}


.cloud-small {
    transform: scale(0.7);
    opacity: 0.6;
}


.cloud-large {
    transform: scale(1.4);
    opacity: 0.85;
}


.cloud-huge {

    transform: scale(1.5);

    opacity: 0.45;

    filter: blur(3px);
}


.cloud-group-back {

    position: absolute;

    top: 8%;
    left: -400px;

    display: flex;

    gap: 300px;

    animation: jalanKanan 80s linear infinite;
}


.cloud-group-mid {

    position: absolute;

    top: 35%;
    right: -400px;

    display: flex;

    gap: 250px;

    animation: jalanLef 55s linear infinite;
}


.cloud-group-front {

    position: absolute;

    top: 22%;
    left: -500px;

    display: flex;

    animation: jalanKanan 35s linear infinite;
}


@keyframes jalanKanan {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(100vw + 900px));
    }
}


@keyframes jalanLef {

    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-100vw - 900px));
    }
}


/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {

    position: fixed;

    top: 20px;
    left: 20px;

    width: 250px;

    height: calc(100vh - 40px);

    background: rgba(255,255,255,0.28);

    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);

    border: 1px solid rgba(255,255,255,0.5);

    border-radius: 28px;

    box-shadow:
        0 15px 45px rgba(0,0,0,0.12);

    z-index: 1000;

    padding: 1.3rem;

    display: flex;

    flex-direction: column;

    transition: 0.35s ease;
}


.sidebar-logo {

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 0.5rem;

    margin-bottom: 1rem;
}


.mini-solar-icon {

    width: 45px;
    height: 45px;

    border-radius: 15px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #0c2461;

    font-size: 1.5rem;

    box-shadow:
        0 5px 15px rgba(12,36,97,0.3);
}


.sidebar-logo h2 {

    color: #0c2461;

    font-size: 0.9rem;

    font-weight: 900;

    line-height: 1.1;
}


.sidebar-logo span {

    color: #ffa801;

    font-size: 0.7rem;

    font-weight: 800;

    letter-spacing: 0.5px;
}


/* MENU */

.sidebar-menu {

    flex: 1;

    overflow-y: auto;

    padding-right: 3px;
}


.menu-label {

    color: #0c2461;

    font-size: 0.68rem;

    font-weight: 900;

    letter-spacing: 1px;

    margin: 1rem 0 0.45rem 0.6rem;
}


.menu-item {

    width: 100%;

    border: none;

    background: transparent;

    display: flex;

    align-items: center;

    gap: 0.8rem;

    padding: 0.72rem 0.8rem;

    margin-bottom: 0.25rem;

    border-radius: 13px;

    color: #0c2461;

    font-size: 0.88rem;

    font-weight: 700;

    cursor: pointer;

    text-align: left;

    transition: 0.25s ease;
}


.menu-item:hover {

    background: rgba(255,255,255,0.5);

    transform: translateX(3px);
}


.menu-item.active {

    background: #0c2461;

    color: #ffffff;

    box-shadow:
        0 5px 18px rgba(12,36,97,0.25);
}


.menu-item span:first-child {

    width: 22px;

    text-align: center;

    font-size: 1.05rem;
}


/* LANGUAGE */

.language-box {

    background: rgba(255,255,255,0.35);

    border: 1px solid rgba(255,255,255,0.45);

    padding: 0.55rem;

    border-radius: 13px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 0.45rem;

    color: #0c2461;

    margin-top: 1rem;
}


.language-btn {

    border: none;

    background: transparent;

    color: #0c2461;

    font-weight: 800;

    cursor: pointer;

    padding: 0.3rem 0.5rem;

    border-radius: 7px;
}


.active-lang {

    background: #0c2461;

    color: white;
}


/* FOOTER SIDEBAR */

.sidebar-footer {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 0.5rem;

    color: #0c2461;

    font-size: 0.75rem;

    font-weight: 700;

    padding-top: 0.8rem;
}


/* =========================================================
   MAIN CONTAINER
========================================================= */

.dashboard-container {

    max-width: 1200px;

    margin-left: 290px;
    margin-right: 0;

    position: relative;

    z-index: 2;
}


/* =========================================================
   CLOCK
========================================================= */

.clock-panel {

    position: fixed;

    top: 15px;
    right: 15px;

    background: rgba(12,36,97,0.95);

    color: #ffa801;

    font-family: 'Courier New', Courier, monospace;

    font-size: 1rem;

    font-weight: 800;

    padding: 8px 16px;

    border-radius: 10px;

    box-shadow:
        0 4px 15px rgba(0,0,0,0.2);

    z-index: 1100;

    letter-spacing: 1px;
}


/* =========================================================
   HEADER
========================================================= */

header {

    margin-bottom: 3rem;

    background: rgba(255,255,255,0.15);

    padding: 2rem;

    border-radius: 24px;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.3);

    box-shadow:
        0 8px 32px rgba(0,0,0,0.05);
}


.header-main-row {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 2rem;

    position: relative;

    padding-top: 1.5rem;
}


.header-logo {

    width: auto;

    height: 130px;

    max-width: 160px;

    object-fit: contain;

    filter:
        drop-shadow(0 6px 12px rgba(0,0,0,0.2));

    transition: 0.3s ease;

    margin-top: 2rem;
}


.header-logo:hover {

    transform: scale(1.05);
}


.header-text-center {

    flex: 1;

    text-align: center;
}


.school-badge {

    display: inline-flex;

    align-items: center;

    background: #0c2461;

    padding: 0.5rem 1.5rem;

    border-radius: 50px;

    margin-bottom: 1rem;

    box-shadow:
        0 4px 15px rgba(12,36,97,0.3);
}


.school-name {

    font-size: 0.9rem;

    font-weight: 800;

    color: white;

    letter-spacing: 1.5px;
}


.badge-separator {

    color: #ffa801;

    margin: 0 0.8rem;

    font-weight: bold;
}


.major-name {

    font-size: 0.85rem;

    font-weight: 700;

    color: #ffa801;

    letter-spacing: 1px;
}


header h1.shimmer-text {

    font-size: 2.6rem;

    font-weight: 800;

    letter-spacing: 1px;

    margin-top: 0.5rem;

    margin-bottom: 0.5rem;

    text-shadow:
        0 4px 10px rgba(0,0,0,0.2);

    background:
        linear-gradient(
            to right,
            #ffffff 30%,
            #fff2cc 50%,
            #ffffff 70%
        );

    background-size: 200% auto;

    background-clip: text;

    -webkit-background-clip: text;

    -webkit-text-fill-color: transparent;

    animation:
        kilauTeksBaru 3s linear infinite;
}


@keyframes kilauTeksBaru {

    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 200% center;
    }
}


.subtitle {

    color: #ffffff;

    margin-top: 0.3rem;

    font-size: 1.1rem;

    font-weight: 500;
}


/* STATUS */

.system-status-bar {

    display: flex;

    justify-content: center;

    gap: 2rem;

    margin-top: 1.5rem;

    font-size: 0.95rem;
}


.status-indicator {

    background: rgba(12,36,97,0.85);

    padding: 0.4rem 1.2rem;

    border-radius: 50px;

    display: flex;

    align-items: center;

    gap: 0.5rem;
}


.dot {

    width: 10px;
    height: 10px;

    border-radius: 50%;

    display: inline-block;
}


.pulse-green {

    background-color: #2ecc71;

    box-shadow:
        0 0 12px #2ecc71;

    animation:
        kedipLampu 1.8s infinite ease-in-out;
}


@keyframes kedipLampu {

    0% {
        opacity: 0.4;
        box-shadow: 0 0 4px #2ecc71;
    }

    50% {
        opacity: 1;
        box-shadow: 0 0 16px #2ecc71;
    }

    100% {
        opacity: 0.4;
        box-shadow: 0 0 4px #2ecc71;
    }
}


/* =========================================================
   PAGES
========================================================= */

.page {

    display: none;

    animation: pageIn 0.35s ease;
}


.page.active-page {

    display: block;
}


@keyframes pageIn {

    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.page-header {

    display: flex;

    align-items: center;

    gap: 1rem;

    margin-bottom: 1.8rem;

    color: #0c2461;
}


.page-header > span {

    width: 55px;
    height: 55px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,0.45);

    border: 1px solid rgba(255,255,255,0.6);

    border-radius: 18px;

    font-size: 1.8rem;

    backdrop-filter: blur(15px);
}


.page-header h1 {

    font-size: 2rem;

    font-weight: 850;
}


.page-header p {

    color: #17365d;

    font-weight: 600;

    margin-top: 0.2rem;
}


/* =========================================================
   SECTION TITLE
========================================================= */

.section-title {

    font-size: 1.3rem;

    font-weight: 700;

    color: #0c2461;

    margin: 2.5rem 0 1.2rem;

    letter-spacing: 0.5px;
}


/* =========================================================
   GRID
========================================================= */

.grid-container {

    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(240px, 1fr));

    gap: 1.5rem;
}


.control-grid {

    grid-template-columns:
        repeat(auto-fit, minmax(300px, 1fr));
}


/* =========================================================
   CARD
========================================================= */

.card {

    background-color: rgba(255,255,255,0.45);

    backdrop-filter: blur(25px) saturate(160%);

    -webkit-backdrop-filter: blur(25px) saturate(160%);

    border-radius: 24px;

    padding: 1.8rem;

    box-shadow:
        0 10px 35px rgba(0,0,0,0.06);

    border:
        1px solid rgba(255,255,255,0.5);

    transition:
        all 0.3s cubic-bezier(0.16,1,0.3,1);

    display: flex;

    flex-direction: column;

    justify-content: space-between;
}


.card:hover {

    transform: translateY(-6px);

    background-color: rgba(255,255,255,0.6);

    box-shadow:
        0 15px 45px rgba(0,0,0,0.12);
}


.card-header {

    display: flex;

    align-items: center;

    gap: 0.8rem;

    margin-bottom: 1rem;
}


.card-icon {

    font-size: 1.6rem;
}


.card-header h3 {

    font-size: 1.05rem;

    color: #0c2461;

    font-weight: 700;
}


.card-value {

    font-size: 2.5rem;

    font-weight: 800;

    color: #0a3d62;

    margin-bottom: 0.5rem;
}


.card-value .unit {

    font-size: 1.15rem;

    font-weight: 600;

    color: #1e3d59;
}


.card-text-detail {

    font-size: 1.05rem;

    color: #0c2461;

    font-weight: 700;

    background: rgba(255,255,255,0.3);

    padding: 0.4rem;

    border-radius: 10px;

    text-align: center;
}


/* STATUS */

.card-status {

    display: inline-block;

    align-self: flex-start;

    padding: 0.4rem 1rem;

    border-radius: 10px;

    font-size: 0.85rem;

    font-weight: 700;
}


.status-normal {

    background-color: #05c46b;

    color: white;
}


.status-kotor {

    background-color: #e74c3c;

    color: white;
}


.status-cerah {

    background-color: #f1c40f;

    color: #0c2461;
}


.status-on {

    background-color: #05c46b;

    color: white;

    border: 2px solid #2ecc71;

    animation: pulseGlow 2s infinite;
}


.status-off {

    background-color: #718093;

    color: #f5f6fa;

    border: 2px solid #a4b0be;
}


@keyframes pulseGlow {

    0% {
        box-shadow: 0 0 0 0 rgba(5,196,107,0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(5,196,107,0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(5,196,107,0);
    }
}


/* =========================================================
   GLASS PANEL
========================================================= */

.glass-panel {

    background: rgba(255,255,255,0.42);

    backdrop-filter: blur(25px);

    border:
        1px solid rgba(255,255,255,0.55);

    border-radius: 24px;

    padding: 1.5rem;

    box-shadow:
        0 10px 35px rgba(0,0,0,0.06);
}


.dashboard-two-column {

    display: grid;

    grid-template-columns:
        1.6fr 1fr;

    gap: 1.5rem;

    margin-top: 1.8rem;
}


.panel-title {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 1.2rem;
}


.panel-title h3 {

    color: #0c2461;

    font-size: 1.05rem;
}


.live-badge {

    background: #05c46b;

    color: white;

    padding: 0.3rem 0.7rem;

    border-radius: 50px;

    font-size: 0.7rem;

    font-weight: 800;
}


.chart-panel canvas {

    max-height: 280px;
}


.large-panel {

    margin-top: 1.5rem;
}


.large-panel canvas {

    max-height: 350px;
}


/* =========================================================
   SYSTEM STATUS
========================================================= */

.system-status-list {

    display: flex;

    flex-direction: column;

    gap: 0.3rem;
}


.status-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 0.8rem;

    border-bottom:
        1px solid rgba(12,36,97,0.08);

    color: #0c2461;

    font-size: 0.85rem;

    font-weight: 650;
}


.green-text {
    color: #05a65b;
}


.gray-text {
    color: #718093;
}


/* =========================================================
   LOG
========================================================= */

.log-container {

    margin-top: 3rem;

    background: rgba(12,36,97,0.9);

    padding: 1.5rem;

    border-radius: 20px;

    box-shadow:
        0 10px 30px rgba(0,0,0,0.15);
}


.log-container h3 {

    font-size: 1.1rem;

    color: #ffa801;

    margin-bottom: 0.8rem;
}


.log-box {

    max-height: 150px;

    overflow-y: auto;

    font-family:
        'Courier New', Courier, monospace;

    font-size: 0.85rem;

    color: #e2e8f0;

    line-height: 1.6;
}


.log-box p {

    border-bottom:
        1px solid rgba(255,255,255,0.05);

    padding: 0.3rem 0;
}


/* =========================================================
   DETAIL SENSOR
========================================================= */

.detail-card {

    align-items: center;

    text-align: center;

    min-height: 210px;
}


.big-icon {

    font-size: 2.5rem;

    margin-bottom: 0.5rem;
}


.detail-card h3 {

    color: #0c2461;

    margin-bottom: 0.7rem;
}


.detail-card strong {

    color: #0a3d62;

    font-size: 2rem;

    margin-bottom: 0.8rem;
}


.status-pill {

    display: inline-block;

    padding: 0.4rem 0.8rem;

    border-radius: 50px;

    font-size: 0.75rem;

    font-weight: 800;
}


.status-pill.green {

    background: #05c46b;

    color: white;
}


.status-pill.red {

    background: #e74c3c;

    color: white;
}


.status-pill.yellow {

    background: #f1c40f;

    color: #0c2461;
}


.status-pill.blue {

    background: #3498db;

    color: white;
}


/* =========================================================
   SOLAR
========================================================= */

.solar-layout {

    display: grid;

    grid-template-columns: 1.2fr 1fr;

    gap: 1.5rem;
}


.solar-visual {

    background: rgba(255,255,255,0.35);

    backdrop-filter: blur(20px);

    border:
        1px solid rgba(255,255,255,0.5);

    border-radius: 25px;

    padding: 2rem;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;
}


.solar-panel-illustration {

    width: 90%;

    max-width: 500px;

    aspect-ratio: 1.5;

    background:
        linear-gradient(
            135deg,
            #0c2461,
            #1e5b91
        );

    border:
        8px solid #dfe6e9;

    border-radius: 10px;

    transform: perspective(500px) rotateX(8deg);

    box-shadow:
        0 20px 35px rgba(12,36,97,0.3);

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 3px;

    padding: 4px;
}


.panel-cell {

    background:
        linear-gradient(
            135deg,
            #0984e3,
            #0652dd
        );

    border:
        1px solid rgba(255,255,255,0.35);
}


.solar-status {

    margin-top: 1.5rem;

    color: #0c2461;

    font-weight: 800;

    display: flex;

    gap: 0.5rem;

    align-items: center;
}


.solar-info {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1rem;
}


.mini-stat {

    background: rgba(255,255,255,0.42);

    backdrop-filter: blur(20px);

    border:
        1px solid rgba(255,255,255,0.5);

    border-radius: 20px;

    padding: 1.3rem;

    color: #0c2461;

    display: flex;

    flex-direction: column;

    gap: 0.5rem;
}


.mini-stat span {

    font-size: 0.8rem;

    font-weight: 700;
}


.mini-stat strong {

    font-size: 1.6rem;

    color: #0a3d62;
}


/* =========================================================
   CLEANING
========================================================= */

.cleaning-status {

    background:
        rgba(255,255,255,0.4);

    backdrop-filter: blur(25px);

    border:
        1px solid rgba(255,255,255,0.55);

    border-radius: 25px;

    padding: 2rem;

    margin-bottom: 1.5rem;

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 2rem;

    align-items: center;
}


.cleaning-main {

    text-align: center;

    color: #0c2461;
}


.cleaning-icon {

    font-size: 4rem;

    display: block;

    margin-bottom: 0.5rem;
}


.cleaning-main h2 {

    font-size: 1.5rem;

    margin-bottom: 0.7rem;
}


.cleaning-info {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1rem;
}


.cleaning-info div {

    background:
        rgba(255,255,255,0.35);

    padding: 1rem;

    border-radius: 15px;

    color: #0c2461;
}


.cleaning-info span {

    display: block;

    font-size: 0.75rem;

    font-weight: 700;

    margin-bottom: 0.3rem;
}


.cleaning-info strong {

    font-size: 1.2rem;
}


/* =========================================================
   ACTUATOR
========================================================= */

.mode-selector {

    background: rgba(255,255,255,0.4);

    backdrop-filter: blur(20px);

    border:
        1px solid rgba(255,255,255,0.5);

    border-radius: 20px;

    padding: 1rem;

    display: flex;

    align-items: center;

    gap: 0.7rem;

    margin-bottom: 1.5rem;

    color: #0c2461;

    font-weight: 800;
}


.mode-button {

    border: none;

    background: rgba(255,255,255,0.4);

    color: #0c2461;

    padding: 0.7rem 1rem;

    border-radius: 12px;

    font-weight: 800;

    cursor: pointer;
}


.mode-button.active {

    background: #0c2461;

    color: white;
}


.manual-buttons {

    display: flex;

    gap: 0.7rem;

    margin: 1rem 0;
}


.control-button {

    flex: 1;

    border: none;

    padding: 0.8rem;

    border-radius: 12px;

    color: white;

    font-weight: 800;

    cursor: pointer;

    transition: 0.2s;
}


.control-button:hover {

    transform: translateY(-2px);
}


.green-button {

    background: #05c46b;
}


.red-button {

    background: #e74c3c;
}


.speed-range {

    width: 100%;

    accent-color: #0c2461;

    margin-top: 0.8rem;
}


.actuator-control-card label {

    color: #0c2461;

    font-size: 0.85rem;

    font-weight: 800;
}


.speed-value {

    text-align: center;

    color: #0c2461;

    font-weight: 800;

    margin-top: 0.3rem;
}


/* =========================================================
   ANALYTICS
========================================================= */

.analytics-grid {

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    gap: 1rem;
}


.analytics-card {

    background:
        rgba(255,255,255,0.42);

    backdrop-filter: blur(20px);

    border:
        1px solid rgba(255,255,255,0.5);

    border-radius: 20px;

    padding: 1.3rem;

    color: #0c2461;
}


.analytics-card span {

    font-size: 1.7rem;
}


.analytics-card p {

    font-size: 0.8rem;

    font-weight: 700;

    margin: 0.4rem 0;
}


.analytics-card strong {

    font-size: 1.7rem;

    color: #0a3d62;
}


.period-buttons {

    display: flex;

    gap: 0.3rem;
}


.period {

    border: none;

    background:
        rgba(255,255,255,0.4);

    padding: 0.4rem 0.7rem;

    border-radius: 8px;

    color: #0c2461;

    font-weight: 700;

    cursor: pointer;
}


.period.active {

    background: #0c2461;

    color: white;
}


/* =========================================================
   HISTORY
========================================================= */

.history-container {

    display: flex;

    flex-direction: column;

    gap: 0.8rem;
}


.history-item {

    background:
        rgba(255,255,255,0.42);

    backdrop-filter: blur(20px);

    border:
        1px solid rgba(255,255,255,0.5);

    border-radius: 18px;

    padding: 1rem 1.3rem;

    display: grid;

    grid-template-columns: 50px 1fr auto;

    align-items: center;

    gap: 1rem;

    color: #0c2461;
}


.history-icon {

    width: 42px;
    height: 42px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 12px;
}


.history-icon.green {
    background: rgba(5,196,107,0.2);
}


.history-icon.blue {
    background: rgba(52,152,219,0.2);
}


.history-icon.yellow {
    background: rgba(241,196,15,0.25);
}


.history-icon.red {
    background: rgba(231,76,60,0.2);
}


.history-item strong {

    font-size: 0.95rem;
}


.history-item p {

    font-size: 0.78rem;

    margin-top: 0.2rem;

    color: #52657a;
}


.history-item time {

    font-family:
        'Courier New', monospace;

    font-weight: 800;
}


/* =========================================================
   NOTIFICATIONS
========================================================= */

.notification-list {

    display: flex;

    flex-direction: column;

    gap: 1rem;
}


.notification {

    display: flex;

    gap: 1rem;

    align-items: flex-start;

    background:
        rgba(255,255,255,0.42);

    backdrop-filter: blur(20px);

    border:
        1px solid rgba(255,255,255,0.5);

    padding: 1.2rem;

    border-radius: 18px;

    color: #0c2461;
}


.notification > span {

    font-size: 1.5rem;
}


.notification strong {

    font-size: 1rem;
}


.notification p {

    margin-top: 0.2rem;

    font-size: 0.85rem;
}


.notification small {

    display: block;

    margin-top: 0.4rem;

    opacity: 0.7;
}


/* =========================================================
   IOT
========================================================= */

.iot-card {

    background:
        rgba(255,255,255,0.42);

    backdrop-filter: blur(25px);

    border:
        1px solid rgba(255,255,255,0.5);

    border-radius: 25px;

    padding: 2rem;

    display: grid;

    grid-template-columns: 1fr 2fr;

    gap: 2rem;

    align-items: center;
}


.iot-main-status {

    text-align: center;

    color: #0c2461;
}


.connection-circle {

    width: 100px;
    height: 100px;

    margin: auto;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 3rem;

    background: rgba(5,196,107,0.18);

    box-shadow:
        0 0 0 12px rgba(5,196,107,0.07);
}


.iot-main-status h2 {

    font-size: 1.2rem;

    margin: 1rem 0 0.7rem;
}


.iot-details {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1rem;
}


.iot-details div {

    background:
        rgba(255,255,255,0.35);

    padding: 1rem;

    border-radius: 15px;

    color: #0c2461;
}


.iot-details span {

    display: block;

    font-size: 0.75rem;

    font-weight: 700;
}


.iot-details strong {

    display: block;

    margin-top: 0.3rem;
}


/* =========================================================
   SETTINGS
========================================================= */

.settings-container {

    background:
        rgba(255,255,255,0.42);

    backdrop-filter: blur(25px);

    border:
        1px solid rgba(255,255,255,0.5);

    border-radius: 25px;

    overflow: hidden;
}


.setting-row {

    padding: 1.3rem 1.5rem;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 1rem;

    border-bottom:
        1px solid rgba(12,36,97,0.08);

    color: #0c2461;
}


.setting-row:last-child {
    border-bottom: none;
}


.setting-row strong {

    font-size: 0.95rem;
}


.setting-row p {

    font-size: 0.78rem;

    margin-top: 0.2rem;

    color: #52657a;
}


.setting-language {

    display: flex;

    gap: 0.4rem;
}


.setting-lang {

    border: none;

    background:
        rgba(255,255,255,0.5);

    padding: 0.6rem 0.8rem;

    border-radius: 10px;

    color: #0c2461;

    font-weight: 700;

    cursor: pointer;
}


.setting-lang.active {

    background: #0c2461;

    color: white;
}


.setting-select {

    border: none;

    padding: 0.6rem;

    border-radius: 10px;

    color: #0c2461;

    font-weight: 700;
}


/* SWITCH */

.switch input {

    display: none;
}


.switch span {

    display: block;

    width: 48px;
    height: 25px;

    background: #718093;

    border-radius: 50px;

    position: relative;

    cursor: pointer;
}


.switch span::after {

    content: '';

    position: absolute;

    width: 19px;
    height: 19px;

    background: white;

    border-radius: 50%;

    top: 3px;
    left: 3px;

    transition: 0.25s;
}


.switch input:checked + span {

    background: #05c46b;
}


.switch input:checked + span::after {

    left: 26px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-card {

    background:
        rgba(255,255,255,0.42);

    backdrop-filter: blur(25px);

    border:
        1px solid rgba(255,255,255,0.5);

    border-radius: 28px;

    padding: 3rem;

    text-align: center;

    color: #0c2461;
}


.about-icon {

    font-size: 4rem;

    margin-bottom: 1rem;
}


.about-card h1 {

    font-size: 2rem;

    color: #0c2461;
}


.about-subtitle {

    margin-top: 0.5rem;

    color: #52657a;

    font-weight: 600;
}


.about-divider {

    height: 1px;

    background:
        rgba(12,36,97,0.12);

    margin: 2rem 0;
}


.about-info {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 1rem;
}


.about-info div {

    background:
        rgba(255,255,255,0.35);

    padding: 1rem;

    border-radius: 15px;
}


.about-info span {

    display: block;

    font-size: 0.75rem;

    font-weight: 700;

    margin-bottom: 0.4rem;
}


.about-info strong {

    font-size: 0.9rem;
}


/* =========================================================
   MOBILE
========================================================= */

.mobile-menu-btn {

    display: none;

    position: fixed;

    top: 15px;
    left: 15px;

    width: 45px;
    height: 45px;

    border: none;

    border-radius: 12px;

    background: #0c2461;

    color: white;

    font-size: 1.4rem;

    z-index: 1200;

    cursor: pointer;
}


.sidebar-overlay {

    display: none;
}


@media (max-width: 1000px) {

    .sidebar {

        transform: translateX(-120%);
    }


    .sidebar.open {

        transform: translateX(0);
    }


    .dashboard-container {

        margin-left: 0;

        width: 100%;
    }


    .mobile-menu-btn {

        display: block;
    }


    .sidebar-overlay {

        position: fixed;

        inset: 0;

        background: rgba(12,36,97,0.2);

        backdrop-filter: blur(3px);

        z-index: 900;
    }


    .sidebar-overlay.show {

        display: block;
    }


    .dashboard-two-column,
    .solar-layout,
    .iot-card,
    .cleaning-status {

        grid-template-columns: 1fr;
    }


    .analytics-grid {

        grid-template-columns: 1fr 1fr;
    }
}


@media (max-width: 768px) {

    body {

        padding: 1rem;
    }


    header {

        padding: 1.3rem;

        margin-top: 3.5rem;
    }


    .header-main-row {

        flex-direction: column;
    }


    .header-logo {

        height: 100px;

        margin-top: 1rem;
    }


    header h1.shimmer-text {

        font-size: 1.8rem;
    }


    .school-badge {

        flex-direction: column;

        gap: 0.2rem;

        padding: 0.6rem 1rem;
    }


    .badge-separator {

        display: none;
    }


    .system-status-bar {

        flex-direction: column;

        gap: 0.5rem;

        align-items: center;
    }


    .clock-panel {

        right: 12px;
    }


    .analytics-grid {

        grid-template-columns: 1fr;
    }


    .about-info {

        grid-template-columns: 1fr;
    }


    .solar-info {

        grid-template-columns: 1fr;
    }


    .history-item {

        grid-template-columns: 40px 1fr;

    }


    .history-item time {

        grid-column: 2;
    }


    .setting-row {

        align-items: flex-start;

        flex-direction: column;
    }


    .period-buttons {

        flex-wrap: wrap;
    }
}