/* =========================================================
   MATERIEL DASHBOARD
========================================================= */

.materiel-dashboard {

    background: #020817;

    padding: 0 1.5rem 1.5rem;

}

/* =========================================================
   GRID
========================================================= */

.materiel-dashboard__grid {

    display: grid;

    grid-template-columns: 1fr 340px;

    gap: 16px;

    align-items: start;

}

/* =========================================================
   LEFT / RIGHT
========================================================= */

.materiel-dashboard__left,
.materiel-dashboard__right {

    display: flex;

    flex-direction: column;

    gap: 16px;

}

/* =========================================================
   PANEL
========================================================= */

.materiel-dashboard__panel {

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: 18px;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.015),
            rgba(255,255,255,0.005)
        );

    padding: 16px;

    box-shadow:
        0 0 0 1px rgba(255,255,255,0.02),
        0 16px 40px rgba(0,0,0,0.24);

}

/* =========================================================
   TITLE
========================================================= */

.materiel-dashboard__title {

    font-size: 15px;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 18px;

}

/* =========================================================
   TYPES
========================================================= */

.materiel-dashboard__types {

    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 12px;

}

/* =========================================================
   TYPE CARD
========================================================= */

.materiel-dashboard__type {

    padding: 16px 14px;

    border-radius: 16px;

    border: 1px solid rgba(255,255,255,0.05);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.015),
            rgba(255,255,255,0.005)
        );

    min-height: 170px;

}

.materiel-dashboard__type svg {

    width: 34px;
    height: 34px;

    stroke: #3b82f6;

    stroke-width: 1.8;

    margin-bottom: 16px;

}

.materiel-dashboard__type h3 {

    font-size: 13px;

    line-height: 1.4;

    font-weight: 700;

    color: #ffffff;

    margin-bottom: 10px;

}

.materiel-dashboard__type p {

    font-size: 11px;

    line-height: 1.8;

    color: rgba(255,255,255,0.70);

}

/* =========================================================
   BOTTOM
========================================================= */

.materiel-dashboard__bottom {

    display: grid;

    grid-template-columns: 1.1fr .9fr;

    gap: 16px;

}

/* =========================================================
   HEADER
========================================================= */

.materiel-dashboard__header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 16px;

}

.materiel-dashboard__header a {

    font-size: 11px;

    color: #3b82f6;

}

/* =========================================================
   TABLE
========================================================= */

.materiel-dashboard__table {

    display: flex;

    flex-direction: column;

}

/* =========================================================
   ROW
========================================================= */

.materiel-dashboard__row {

    display: grid;

    grid-template-columns: 2fr 1.2fr .8fr 1fr;

    gap: 12px;

    align-items: center;

    padding: 11px 0;

    border-bottom: 1px solid rgba(255,255,255,0.05);

    font-size: 11px;

    color: rgba(255,255,255,0.82);

}

.materiel-dashboard__row--head {

    font-size: 10px;

    text-transform: uppercase;

    color: rgba(255,255,255,0.40);

}

/* =========================================================
   DOT
========================================================= */

.dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    display: inline-block;

    margin-right: 8px;

}

.dot.red {

    background: #ef4444;

}

.dot.orange {

    background: #f59e0b;

}

.dot.green {

    background: #22c55e;

}

.dot.lime {

    background: #84cc16;

}

/* =========================================================
   STATUS
========================================================= */

.status {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 4px 8px;

    border-radius: 999px;

    font-size: 10px;

    font-weight: 700;

}

.status.green {

    background: rgba(34,197,94,0.14);

    color: #22c55e;

}

.status.orange {

    background: rgba(245,158,11,0.14);

    color: #f59e0b;

}

/* =========================================================
   HARDWARE
========================================================= */

.materiel-dashboard__hardware {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

}

/* =========================================================
   CIRCLE
========================================================= */

.materiel-dashboard__circle {

    width: 170px;
    height: 170px;

    border-radius: 50%;

    border: 10px solid #4ade80;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    position: relative;

}

.materiel-dashboard__circle::before {

    content: "";

    position: absolute;

    inset: -10px;

    border-radius: 50%;

    border-top: 10px solid #facc15;

    border-right: 10px solid #ef4444;

    border-left: 10px solid transparent;

    border-bottom: 10px solid transparent;

    transform: rotate(-30deg);

}

.materiel-dashboard__circle strong {

    display: block;

    font-size: 38px;

    line-height: 1;

    font-weight: 800;

    color: #ffffff;

    margin-bottom: 6px;

}

.materiel-dashboard__circle span {

    font-size: 11px;

    color: rgba(255,255,255,0.70);

}

/* =========================================================
   STATS
========================================================= */

.materiel-dashboard__stats {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

.materiel-dashboard__stats div {

    display: flex;

    flex-direction: column;

    gap: 4px;

    font-size: 12px;

    color: #ffffff;

}

.materiel-dashboard__stats small {

    font-size: 10px;

    color: rgba(255,255,255,0.60);

}

/* =========================================================
   CTA
========================================================= */

.materiel-dashboard__cta {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 20px;

    border-radius: 18px;

    border: 1px solid rgba(255,255,255,0.05);

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,0.015),
            rgba(255,255,255,0.005)
        );

}

.materiel-dashboard__cta-left {

    display: flex;

    align-items: center;

    gap: 16px;

}

.materiel-dashboard__cta-icon {

    width: 56px;
    height: 56px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    background:
        radial-gradient(
            circle at center,
            rgba(37,99,235,0.16),
            transparent 70%
        );

    border: 1px solid rgba(37,99,235,0.14);

}

.materiel-dashboard__cta-icon svg {

    width: 26px;
    height: 26px;

    stroke: #3b82f6;

}

.materiel-dashboard__cta h3 {

    font-size: 16px;

    font-weight: 700;

    color: #ffffff;

    margin-bottom: 6px;

}

.materiel-dashboard__cta p {

    font-size: 12px;

    line-height: 1.8;

    color: rgba(255,255,255,0.70);

}

/* =========================================================
   BUTTON
========================================================= */

.materiel-dashboard__button {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    min-width: 210px;

    padding: 14px 22px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            #2563eb,
            #1d4ed8
        );

    color: #ffffff;

    font-size: 14px;

    font-weight: 600;

    box-shadow:
        0 14px 28px rgba(37,99,235,0.24);

}

/* =========================================================
   BENEFITS
========================================================= */

.materiel-dashboard__benefits {

    display: flex;

    flex-direction: column;

    gap: 18px;

}

/* =========================================================
   BENEFIT
========================================================= */

.materiel-dashboard__benefit {

    display: flex;

    align-items: flex-start;

    gap: 12px;

}

.materiel-dashboard__benefit-icon {

    width: 44px;
    height: 44px;

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;

    flex-shrink: 0;

    border: 1px solid rgba(37,99,235,0.14);

    background:
        radial-gradient(
            circle at center,
            rgba(37,99,235,0.14),
            transparent 70%
        );

}

.materiel-dashboard__benefit-icon svg {

    width: 20px;
    height: 20px;

    stroke: #3b82f6;

}

.materiel-dashboard__benefit h3 {

    font-size: 13px;

    font-weight: 700;

    color: #ffffff;

    margin-bottom: 4px;

}

.materiel-dashboard__benefit p {

    font-size: 11px;

    line-height: 1.7;

    color: rgba(255,255,255,0.68);

}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1400px) {

    .materiel-dashboard__types {

        grid-template-columns: repeat(3, 1fr);

    }

}

@media (max-width: 1200px) {

    .materiel-dashboard__grid {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 992px) {

    .materiel-dashboard__bottom {

        grid-template-columns: 1fr;

    }

}

@media (max-width: 768px) {

    .materiel-dashboard {

        padding: 0 1rem 1rem;

    }

    .materiel-dashboard__types {

        grid-template-columns: 1fr;

    }

    .materiel-dashboard__hardware {

        flex-direction: column;

    }

    .materiel-dashboard__cta {

        flex-direction: column;

        align-items: flex-start;

    }

    .materiel-dashboard__button {

        width: 100%;

    }

}