
    * {
        box-sizing: border-box;
    }

    body {
        margin: 0;
        padding: 0;

        background: #0f1115;
        color: #f1f1f1;

        font-family:
            -apple-system,
            BlinkMacSystemFont,
            "Segoe UI",
            Roboto,
            Arial,
            sans-serif;
    }

    a {
        color: inherit;
    }

    .container {
        width: 96%;
        max-width: 1800px;
        margin: 30px auto;
    }


    /*
    |--------------------------------------------------------------------------
    | HEADER
    |--------------------------------------------------------------------------
    */

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;

        margin-bottom: 25px;
    }

    .header h1 {
        margin: 0;
        font-size: 28px;
    }

    .header-subtitle {
        margin-top: 5px;
        color: #999;
        font-size: 14px;
    }


    /*
    |--------------------------------------------------------------------------
    | STATS
    |--------------------------------------------------------------------------
    */

    .stats {
        display: grid;

        grid-template-columns:
            repeat(5, minmax(120px, 1fr));

        gap: 15px;

        margin-bottom: 25px;
    }

    .stat {
        background: #181b21;

        border-radius: 10px;

        padding: 18px;

        border: 1px solid #272b33;
    }

    .stat-label {
        color: #999;
        font-size: 13px;
        margin-bottom: 8px;
    }

    .stat-value {
        font-size: 28px;
        font-weight: 700;
    }

    .stat-ok {
        color: #00d26a;
    }

    .stat-down {
        color: #ff3030;
    }

    .stat-network {
        color: #ff9800;
    }

    .stat-ssl {
        color: #ff3030;
    }


    /*
    |--------------------------------------------------------------------------
    | SECTION
    |--------------------------------------------------------------------------
    */

    .section {
        margin-bottom: 30px;
    }

    .section-title {
        font-size: 19px;
        font-weight: 700;

        margin-bottom: 12px;
    }


    /*
    |--------------------------------------------------------------------------
    | TABLEAU
    |--------------------------------------------------------------------------
    */

    .monitor-table {
        background: #181b21;

        border: 1px solid #272b33;

        border-radius: 10px;

        overflow: hidden;
    }

    .table-header,
    .site-row {

        display: grid;

   grid-template-columns:
    minmax(220px, 1.7fr)
    125px
    80px
    110px
    125px
    125px
    110px
    135px;

        align-items: center;
    }

    .table-header {

        background: #20242c;

        color: #999;

        font-size: 12px;

        text-transform: uppercase;

        letter-spacing: .03em;

        padding: 13px 15px;
    }

    .site-row {

        position: relative;

        padding: 14px 15px;

        border-top: 1px solid #272b33;

        transition:
            background .2s ease;
    }

    .site-row:hover {
        background: #20242c;
    }

    .platform-group-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 16px 18px;
        margin-top: 10px;
        background: #19282B;
        border-left: 5px solid #18C5B5;
        border-top: 1px solid #31575A;
        border-bottom: 1px solid #31575A;
    }

    .platform-group-title {
        color: #FFFFFF;
        font-size: 15px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: .07em;
    }

    .platform-group-count {
        color: #FFFFFF;
        background: #244448;
        font-size: 12px;
        font-weight: 700;
        padding: 5px 10px;
        border: 1px solid #18A99D;
        border-radius: 999px;
        white-space: nowrap;
    }

    .site-name a {
        font-weight: 700;

        text-decoration: none;
    }

    .site-profile {
        display: inline-block;
        margin-left: 8px;
        padding: 3px 7px;
        border-radius: 5px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 0.3px;
        vertical-align: middle;
        white-space: nowrap;
    }

    .site-profile-vitrine {
        color: #555;
        background: #eeeeee;
        border: 1px solid #dddddd;
    }

    .site-profile-ecommerce {
        color: #087f76;
        background: #e1f7f4;
        border: 1px solid #8adbd1;
    }

    .site-url {
        margin-top: 4px;

        font-size: 12px;

        color: #777;

        word-break: break-all;
    }


    /*
    |--------------------------------------------------------------------------
    | STATUTS
    |--------------------------------------------------------------------------
    */

    .status-ok {
        color: #00d26a;
        font-weight: 700;
    }

    .status-down {
        color: #ff3030;
        font-weight: 700;
    }

    .status-network {
        color: #ff9800;
        font-weight: 700;
    }

    .status-ssl-error {
        color: #ff3030;
        font-weight: 700;
    }

    .status-none {
        color: #888;
    }


    /*
    |--------------------------------------------------------------------------
    | LIGNE DOWN
    |--------------------------------------------------------------------------
    */

    .site-row-down {

        background: rgba(255, 0, 0, 0.40) !important;

        border-left:
            4px solid #ff0000 !important;

        animation:
            monitor-blink 1s linear infinite !important;
    }

    @keyframes monitor-blink {

        0% {
            opacity: 1;
        }

        50% {
            opacity: .25;
        }

        100% {
            opacity: 1;
        }
    }
	
	
    /*
    |--------------------------------------------------------------------------
    | NETWORK ERROR
    |--------------------------------------------------------------------------
    */

    .site-row-network {

        background:
            rgba(255, 152, 0, .12);

        border-left:
            4px solid #ff9800;
    }


    /*
    |--------------------------------------------------------------------------
    | SSL ERROR
    |--------------------------------------------------------------------------
    */

    .site-row-ssl-error {

        background:
            rgba(255, 0, 0, .12);

        border-left:
            4px solid #ff0000;
    }


    /*
    |--------------------------------------------------------------------------
    | HTTP
    |--------------------------------------------------------------------------
    */

    .http-ok {
        color: #00d26a;
    }

    .http-error {
        color: #ff3030;
        font-weight: 700;
    }


    /*
    |--------------------------------------------------------------------------
    | TEMPS DE RÉPONSE
    |--------------------------------------------------------------------------
    |
    | < 1000 ms  = rapide
    | 1000-1999   = à surveiller
    | >= 2000 ms  = lent
    |
    */

    .response-fast {
        color: #00d26a;
    }

    .response-medium {
        color: #ff9800;
        font-weight: 700;
    }

    .response-slow {
        color: #ff3030;
        font-weight: 700;
    }


    /*
    |--------------------------------------------------------------------------
    | SSL
    |--------------------------------------------------------------------------
    */

    .ssl-cell {
        white-space: nowrap;
    }

    .ssl-ok {
        color: #00d26a;
    }

    .ssl-warning {
        color: #ff9800;
    }

    .ssl-critical {
        color: #ff3030;
        font-weight: 700;
    }

    .ssl-none {
        color: #777;
    }


    /*
    |--------------------------------------------------------------------------
    | SITEMAP
    |--------------------------------------------------------------------------
    */

    .sitemap-cell {
        white-space: nowrap;
    }

    .sitemap-ok {
        color: #00d26a;
    }

    .sitemap-none {
        color: #777;
    }

    .sitemap-error {
        color: #ff3030;
    }
	
	
	
	/*
|--------------------------------------------------------------------------
| MAIL
|--------------------------------------------------------------------------
*/

.mail-cell {
    white-space: nowrap;
}

.mail-ok {
    color: #00d26a;
}

.mail-error {
    color: #ff3030;
    font-weight: 600;
}

.mail-none {
    color: #777;
}
	
	


    /*
    |--------------------------------------------------------------------------
    | ERREUR
    |--------------------------------------------------------------------------
    */

    .error-text {

        margin-top: 5px;

        color: #ff8b8b;

        font-size: 12px;

        line-height: 1.35;

        max-width: 500px;

        word-break: break-word;
    }


    /*
    |--------------------------------------------------------------------------
    | INCIDENTS
    |--------------------------------------------------------------------------
    */
	
	
	/* ONGLET INCIDENTS */

.incident-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.incident-tab {
    border: 1px solid #333;
    background: #1a1a1a;
    color: #aaa;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.incident-tab:hover {
    background: #252525;
    color: #fff;
}

.incident-tab.active {
    background: #2a2a2a;
    color: #fff;
    border-color: #555;
}

.incident-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 12px;
    background: #333;
    color: #ddd;
    font-size: 12px;
}

.incident-tab.active .incident-count {
    background: #444;
    color: #fff;
}

.incident-tab-content {
    animation: incidentFade 0.2s ease;
}

@keyframes incidentFade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
	

    .incident-list {
        display: grid;
        gap: 10px;
    }

    .incident {

        background: #181b21;

        border:
            1px solid #272b33;

        border-left:
            4px solid #ff3030;

        border-radius: 8px;

        padding: 14px 16px;
    }

    .incident.closed {
        border-left-color: #555;
    }

    .incident-title {
        font-weight: 700;
        margin-bottom: 5px;
    }

    .incident-meta {

        color: #999;

        font-size: 13px;

        line-height: 1.6;
    }

    .incident-error {

        margin-top: 8px;

        color: #ff8b8b;

        font-size: 13px;

        word-break: break-word;
    }

	
	/* BOUTON PURGE */

.incident-purge {
    border: 1px solid #5a3030;
    background: #24191b;
    color: #ff8b8b;
    padding: 10px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.incident-purge:hover {
    background: #3a2022;
    color: #ffb0b0;
    border-color: #7a3b3b;
}

.incident-purge:active {
    transform: scale(0.98);
}
	

    /*
    |--------------------------------------------------------------------------
    | VIDE
    |--------------------------------------------------------------------------
    */

    .empty {

        padding: 25px;

        text-align: center;

        color: #777;
    }


    /*
    |--------------------------------------------------------------------------
    | RESPONSIVE
    |--------------------------------------------------------------------------
    */

    @media (max-width: 1250px) {

        .table-header,
        .site-row {

grid-template-columns:
    minmax(220px, 1.5fr)
    105px
    80px
    105px
    115px
    115px
    110px;
        }

        .check-cell {
            display: none;
        }
    }


    @media (max-width: 900px) {

        .stats {
            grid-template-columns:
                repeat(2, 1fr);
        }

        .table-header,
        .site-row {

grid-template-columns:
    minmax(220px, 1.5fr)
    105px
    80px
    105px
    115px;
        }

        .check-cell {
            display: none;
        }

        .sitemap-cell {
            display: none;
        }
    }


    @media (max-width: 760px) {

        .container {
            width: 94%;
            margin: 20px auto;
        }

        .header {
            display: block;
        }

        .stats {
            grid-template-columns: 1fr 1fr;
        }

        .table-header {
            display: none;
        }

        .site-row {

            display: block;

            padding: 18px;
        }

        .site-name {
            margin-bottom: 12px;
        }

.status-cell,
.http-cell,
.response-cell,
.ssl-cell,
.sitemap-cell,
.mail-cell,
.check-cell {

    margin-top: 7px;

    display: block;
}
    }
	
	
	
/*
|--------------------------------------------------------------------------
| TRAFIC E-COMMERCE
|--------------------------------------------------------------------------
*/

.traffic-section {
    margin-top: 24px;
    padding: 22px;
    background: #181b21;
    color: #e5e7eb;
    border: 1px solid #272b33;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
}

.traffic-section h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.traffic-section p {
    margin-bottom: 18px;
    color: #999999;
}

.traffic-section p strong {
    color: #18C5B5;
    font-size: 24px;
}

.traffic-section table {
    width: 100%;
    border-collapse: collapse;
}

.traffic-section th {
    background: #20242c;
    color: #999999;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .03em;
}

.traffic-section td,
.traffic-section th {
    padding: 11px 12px !important;
}

.traffic-section td {
    color: #e5e7eb;
    border-top: 1px solid #272b33 !important;
}

.traffic-section tbody tr:nth-child(even) {
    background: #1c2027;
}

.traffic-section tbody tr:hover {
    background: #20242c;
}

/* Statuts des pics */

.traffic-status {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.traffic-peak {
    background: rgba(255, 48, 48, .12);
    color: #ff5555;
    border: 1px solid rgba(255, 48, 48, .45);
}

.traffic-normal {
    background: #19282B;
    color: #18C5B5;
    border: 1px solid #31575A;
}

.traffic-unknown {
    background: #20242c;
    color: #999999;
    border: 1px solid #373c46;
}

@media (max-width: 600px) {
    .traffic-section {
        padding: 14px;
    }

    .traffic-section table {
        font-size: 13px;
    }

    .traffic-section td,
    .traffic-section th {
        padding: 9px 7px !important;
    }
}

/* Statut des pics de trafic */
.traffic-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.traffic-peak {
    background: #7f1d1d;
    color: #fecaca;
    border: 1px solid #ef4444;
}

.traffic-normal {
    background: #14532d;
    color: #bbf7d0;
    border: 1px solid #22c55e;
}

.traffic-unknown {
    background: #374151;
    color: #d1d5db;
    border: 1px solid #6b7280;
}
