* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #050816;
    --bg-card: rgba(255, 255, 255, 0.08);
    --blue: #2563eb;
    --cyan: #38bdf8;
    --green: #22c55e;
    --white: #ffffff;
    --gray: #cbd5e1;
    --text: #e5e7eb;
    --border: rgba(255, 255, 255, 0.14);
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.35), transparent 35%),
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 30%),
        var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
}

/* HEADER */

header {
    padding: 22px 60px;
    background: rgba(5, 8, 22, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.brand h1 {
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--white);
}

.brand span {
    color: var(--cyan);
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

nav a {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

nav a:hover {
    color: var(--cyan);
}

.dashboard-btn {
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: white !important;
    padding: 11px 18px;
    border-radius: 999px;
}

/* MAIN */

main {
    padding: 60px;
}

/* HERO */

.hero {
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.12),
        rgba(255, 255, 255, 0.04)
    );
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 60px;
    margin-bottom: 45px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.hero h1,
.hero h2 {
    font-size: 48px;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 22px;
}

.hero p {
    max-width: 750px;
    font-size: 18px;
    color: var(--gray);
    line-height: 1.7;
}

.hero-logo {
    width: 260px;
    filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.45));
}

.hero-btn,
.btn {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    color: white;
    text-decoration: none;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

/* STATS */

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 55px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(12px);
}

.stat-card h2 {
    font-size: 38px;
    color: var(--cyan);
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--gray);
}

/* SECTIONS */

.services h2,
.section-title {
    font-size: 32px;
    margin-bottom: 25px;
    color: var(--white);
}

.cards,
.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 26px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.22);
    transition: 0.25s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: rgba(56, 189, 248, 0.55);
}

.card h3 {
    font-size: 22px;
    margin-bottom: 14px;
    color: var(--cyan);
}

.card h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 10px;
}

.card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 8px;
}

.card a {
    display: inline-block;
    margin-top: 18px;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.25);
    border: 1px solid rgba(56, 189, 248, 0.35);
    color: var(--white);
    text-decoration: none;
}

.number {
    font-size: 46px !important;
    color: var(--cyan) !important;
    font-weight: bold;
}

/* FORMS */

form {
    max-width: 650px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 35px;
    backdrop-filter: blur(14px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

label {
    display: block;
    margin-top: 18px;
    margin-bottom: 8px;
    color: var(--white);
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-size: 16px;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #94a3b8;
}

select option {
    background: #0f172a;
    color: white;
}

button {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--green), var(--cyan));
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

/* RESULTS */

.result,
.table-box,
.info-box,
.success-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    margin-top: 30px;
    backdrop-filter: blur(14px);
}

.result h3,
.table-box h3 {
    color: var(--cyan);
    margin-bottom: 18px;
}

.result p,
.result li {
    color: var(--gray);
    line-height: 1.7;
}

.result ul {
    margin-left: 22px;
    margin-top: 12px;
}

.badge {
    display: inline-block;
    margin: 6px;
    padding: 9px 14px;
    background: rgba(56, 189, 248, 0.14);
    border: 1px solid rgba(56, 189, 248, 0.5);
    color: var(--cyan);
    border-radius: 999px;
    font-weight: bold;
}

.info-box {
    border-left: 5px solid #f97316;
    color: #fed7aa;
}

.success-box {
    border-left: 5px solid var(--green);
    color: #bbf7d0;
}

/* TABLES */

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
}

th,
td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    text-align: left;
}

th {
    color: var(--cyan);
    background: rgba(255, 255, 255, 0.05);
}

td {
    color: var(--gray);
}

/* FOOTER */

footer {
    margin-top: 80px;
    padding: 45px 60px;
    background: rgba(5, 8, 22, 0.95);
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

footer h3,
footer h4 {
    color: var(--white);
    margin-bottom: 15px;
}

footer p {
    color: var(--gray);
    line-height: 1.7;
}

/* RESPONSIVE */

@media (max-width: 900px) {
    header {
        padding: 20px;
    }

    .topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    nav {
        flex-wrap: wrap;
    }

    main {
        padding: 25px;
    }

    .hero {
        padding: 35px;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero h1,
    .hero h2 {
        font-size: 34px;
    }

    .hero-logo {
        width: 190px;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* ==========================
   FOUNDER SECTION
========================== */

.founder-section {
    margin-top: 40px;
    margin-bottom: 50px;
}

.founder-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.founder-card h2 {
    color: #38bdf8;
    margin-bottom: 20px;
}

.founder-card p {
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.founder-badge {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg,#2563eb,#38bdf8);
    color: white;
    font-weight: bold;
}

/* ==========================
   COMPANY LOOK
========================== */

.hero h1 {
    font-size: 54px;
    font-weight: 800;
}

.hero p {
    font-size: 19px;
}

.stat-card {
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-8px);
}

.card:hover {
    transform: translateY(-10px);
}

.brand h1 {
    font-size: 34px;
    font-weight: 800;
}

.brand span {
    letter-spacing: 3px;
}

.hero-btn {
    font-size: 17px;
    font-weight: bold;
}
/* ==========================
   SOLUTIONS PAGE
========================== */

.solution-list {
    margin-top: 15px;
    margin-bottom: 20px;
    padding-left: 20px;
}

.solution-list li {
    margin-bottom: 8px;
    color: #cbd5e1;
}

.solution-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 20px;
    border-radius: 999px;
    text-decoration: none;
    background: linear-gradient(
        135deg,
        #2563eb,
        #38bdf8
    );
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.solution-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(56,189,248,0.4);
}
/* ==========================
   SCANNER PAGE
========================== */

.scanner-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.scan-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scan-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 25px;
    backdrop-filter: blur(12px);
}

.scan-card h4 {
    color: #38bdf8;
    margin-bottom: 15px;
}

.scan-card p {
    color: #cbd5e1;
    line-height: 1.7;
}

.scan-card ul {
    margin-top: 10px;
    margin-bottom: 15px;
    margin-left: 20px;
}

.scan-card li {
    margin-bottom: 6px;
    color: #cbd5e1;
}

@media(max-width:900px){

    .scanner-layout{
        grid-template-columns: 1fr;
    }

}
/* ==========================
   PORTS RESULT TABLE
========================== */

.ports-table {
    margin-top: 20px;
}
/* ALERTS */

.alert {
    max-width: 650px;
    padding: 18px;
    border-radius: 14px;
    margin-bottom: 25px;
    font-weight: bold;
}

.alert.error {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fecaca;
}

.alert.success {
    background: rgba(34, 197, 94, 0.18);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #bbf7d0;
}
/* ==========================
   HISTORY LINKS
========================== */

.history-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 35px;
    margin-bottom: 35px;
}
/* ==========================
   PRICING PAGE SPACING
========================== */

.cards {
    margin-top: 40px;
}

.success-box {
    margin-bottom: 40px;
}
/* ==========================
   DASHBOARD CHARTS
========================== */

.chart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.chart-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    padding: 30px;
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
}

.chart-card h3 {
    color: #38bdf8;
    margin-bottom: 25px;
}

.chart-card canvas {
    max-height: 320px;
}

@media(max-width: 900px) {
    .chart-layout {
        grid-template-columns: 1fr;
    }
}
/* ==========================
   ADMIN ACTION BUTTONS
========================== */

.small-btn {
    display: inline-block;
    padding: 7px 10px;
    margin: 3px;
    border-radius: 999px;
    background: rgba(56,189,248,0.18);
    border: 1px solid rgba(56,189,248,0.45);
    color: #e5e7eb;
    text-decoration: none;
    font-size: 13px;
}

.small-btn:hover {
    background: rgba(56,189,248,0.35);
}

.danger-btn {
    display: inline-block;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(239,68,68,0.2);
    border: 1px solid rgba(239,68,68,0.55);
    color: #fecaca;
    text-decoration: none;
    font-size: 13px;
}

.danger-btn:hover {
    background: rgba(239,68,68,0.4);
}
/* ==========================
   GLOBAL SECURITY SCORE
========================== */

.score-bar {
    width: 100%;
    height: 34px;
    background: rgba(255,255,255,0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-top: 20px;
    border: 1px solid rgba(255,255,255,0.15);
}

.score-fill {
    height: 100%;
    background: linear-gradient(135deg, #22c55e, #38bdf8);
    color: white;
    font-weight: bold;
    text-align: center;
    line-height: 34px;
}
/* ==========================
   TECHNICAL DETAILS
========================== */

details {
    cursor: pointer;
}

summary {
    color: #38bdf8;
    font-weight: bold;
}

.technical-value {
    margin-top: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(15, 23, 42, 0.9);
    color: #cbd5e1;
    word-break: break-word;
    font-family: monospace;
    font-size: 14px;
}
.pricing-list {
    margin-top: 15px;
    margin-bottom: 25px;
}

.pricing-list p {
    margin: 8px 0;
    color: #cbd5e1;
    line-height: 1.5;
}

.pricing-list hr {
    margin: 14px 0;
    border: none;
    border-top: 1px solid rgba(255,255,255,0.2);
}
/* ==========================
   FAQ COMPANY PAGE
========================== */

.faq-item {
    margin-top: 25px;
    padding: 25px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.faq-item h3 {
    color: #38bdf8;
    margin-bottom: 12px;
}

.faq-item h4 {
    color: #e5e7eb;
    margin-top: 18px;
    margin-bottom: 8px;
}

.faq-item p {
    color: #cbd5e1;
    line-height: 1.7;
}

.faq-item ul {
    margin-top: 10px;
    margin-left: 20px;
}

.faq-item li {
    color: #cbd5e1;
    margin-bottom: 8px;
}
/* ==========================
   BOUTONS ACCUEIL
========================== */

.large-btn {
    width: 230px;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
/* Lien "Mot de passe oublié" */
.auth-box a {
    color: #38bdf8;
    font-weight: 700;
    text-decoration: none;
}

.auth-box a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}
.status-excellent {
    color: #22c55e !important;
}

.status-good {
    color: #38bdf8 !important;
}

.status-medium {
    color: #f59e0b !important;
}

.status-critical {
    color: #ef4444 !important;
}

.status-none {
    color: #94a3b8 !important;
}
/* ========================= */
/* GLOBAL SECURITY SCORE */
/* ========================= */

.score-subtitle{
    margin-top:20px;
    margin-bottom:20px;
    color:#cbd5e1;
    font-size:18px;
}

.score-features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:15px;
    margin:25px 0;
}

.score-item{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(56,189,248,0.25);
    border-radius:12px;
    padding:15px 20px;
    color:#f8fafc;
    font-weight:600;
    transition:all 0.3s ease;
}

.score-item:hover{
    transform:translateY(-4px);
    border-color:#38bdf8;
    box-shadow:0 0 20px rgba(56,189,248,0.25);
}

.score-card .btn-primary{
    margin-top:20px;
}
.score-item{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(56,189,248,0.25);
    border-radius:12px;
    padding:15px 20px;
    color:#f8fafc;
    font-weight:600;
    text-decoration:none;
    transition:all 0.3s ease;
    display:block;
}

.score-item:hover{
    transform:translateY(-4px);
    border-color:#38bdf8;
    box-shadow:0 0 20px rgba(56,189,248,0.25);
    color:#38bdf8;
}
/* ================================= */
/* GLOBAL SECURITY SCORE */
/* ================================= */

.score-subtitle{
    margin-top:20px;
    margin-bottom:20px;
    color:#cbd5e1;
    font-size:18px;
}

.score-features{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:15px;
    margin:25px 0;
}

.score-item{
    display:flex;
    justify-content:space-between;
    align-items:center;

    background:rgba(255,255,255,0.04);
    border:1px solid rgba(56,189,248,0.25);

    border-radius:12px;

    padding:16px 20px;

    color:#f8fafc;
    font-weight:600;

    transition:0.3s;
}

.score-item:hover{
    transform:translateY(-4px);

    border-color:#38bdf8;

    box-shadow:0 0 20px rgba(56,189,248,0.25);
}

.score-weight{
    color:#38bdf8;
    font-weight:700;
}

.score-breakdown{
    margin:25px 0;

    background:rgba(255,255,255,0.03);

    border:1px solid rgba(255,255,255,0.08);

    border-radius:12px;

    overflow:hidden;
}

.score-line{
    display:flex;
    justify-content:space-between;

    padding:15px 20px;

    border-bottom:1px solid rgba(255,255,255,0.08);
}

.score-line:last-child{
    border-bottom:none;
}

.score-line span:first-child{
    color:#e2e8f0;
}

.score-line span:last-child{
    color:#38bdf8;
    font-weight:700;
}
.score-item{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 24px;

    background:rgba(255,255,255,0.04);

    border:1px solid rgba(56,189,248,0.4);

    border-radius:14px;

    color:white;

    text-decoration:none;

    transition:all .3s ease;
}

.score-item:hover{
    transform:translateY(-3px);

    border-color:#38bdf8;

    box-shadow:0 0 20px rgba(56,189,248,.25);

    background:rgba(56,189,248,.08);
}
.profile-preview{
    width:90px !important;
    height:90px !important;
    border-radius:50% !important;
    object-fit:cover !important;
    border:2px solid #38bdf8;
    display:block;
    margin-bottom:15px;
}

.company-logo-preview{
    max-width:180px !important;
    max-height:120px !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    display:block;
    background:rgba(255,255,255,0.05);
    padding:10px;
    border-radius:12px;
    border:1px solid rgba(56,189,248,0.25);
}
/* ==================================
   COOKIE BANNER
================================== */

.cookie-banner {
    position: fixed;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 20px 24px;

    background: linear-gradient(135deg, #020617, #111827);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);

    color: #ffffff;
}

.cookie-banner.show {
    display: flex;
}

.cookie-banner strong {
    display: block;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 17px;
}

.cookie-banner p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.5;
    max-width: 850px;
}

.cookie-actions {
    display: flex;
    align-items: stretch;
    gap: 14px;
    flex-shrink: 0;
}

.cookie-link,
.cookie-btn {
    height: 46px;
    min-width: 125px;

    padding: 0 18px;
    border-radius: 12px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
    box-sizing: border-box;
}

.cookie-link {
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: transparent;
    color: #38bdf8;
    text-decoration: none;

    position: relative;
    top: 26px;
}

.cookie-link:hover {
    background: rgba(56, 189, 248, 0.1);
    color: #ffffff;
}

.cookie-btn {
    border: none;
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: #ffffff;
    cursor: pointer;
}

.cookie-btn:hover {
    transform: translateY(-1px);
}

/* ==================================
   PAGES LÉGALES
================================== */

.legal-hero {
    margin-bottom: 32px;
}

.legal-card {
    margin-top: 0;
    padding: 36px 42px;
}

.legal-card h2,
.legal-page-box h3 {
    margin-top: 26px;
    margin-bottom: 12px;
}

.legal-card h2:first-child,
.legal-page-box h3:first-child {
    margin-top: 0;
}

.legal-card p,
.legal-page-box p {
    line-height: 1.7;
    max-width: 1100px;
    color: #dbe3f0;
}

/* ==================================
   FOOTER LÉGAL
================================== */

footer {
    padding: 35px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 0.8fr 0.8fr 0.9fr;
    gap: 35px;
    align-items: flex-start;
    padding-left: 70px;
    padding-right: 70px;
}

.footer-legal {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-legal li {
    margin-bottom: 8px;
}

.footer-legal a,
footer a {
    color: #ffffff;
    text-decoration: none;
}

.footer-legal a:hover,
footer a:hover {
    color: #38bdf8;
}

/* ==================================
   RESPONSIVE
================================== */

@media (max-width: 900px) {
    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        padding-left: 30px;
        padding-right: 30px;
    }
}
/* ==================================
   PROFILE
================================== */

.profile-card {
    background: linear-gradient(
        135deg,
        rgba(30, 41, 59, 0.95),
        rgba(15, 23, 42, 0.95)
    );

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;

    padding: 35px;
    margin-bottom: 35px;

    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 25px;
}

.profile-logo {
    width: 90px;
    height: 90px;
    border-radius: 18px;
    object-fit: cover;

    box-shadow: 0 0 25px rgba(56, 189, 248, 0.25);
}

.profile-header h2 {
    margin-bottom: 8px;
    color: white;
}

.profile-header p {
    margin: 0;
    color: #cbd5e1;
}

.profile-badge {
    display: inline-block;
    margin-top: 12px;

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(56, 189, 248, 0.15);
    color: #38bdf8;

    font-size: 14px;
    font-weight: 600;
}
/* ==================================
   ENTERPRISE DASHBOARD
================================== */

.dashboard-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    padding: 45px;
    margin-bottom: 35px;

    border-radius: 28px;

    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, 0.18), transparent 35%),
        linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.95));

    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.dashboard-hero h1 {
    margin: 8px 0 12px;
    color: white;
    font-size: 42px;
}

.dashboard-hero p {
    max-width: 760px;
    color: #cbd5e1;
    line-height: 1.7;
}

.dashboard-eyebrow {
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 12px;
    font-weight: 800;
}

.dashboard-hero-status {
    min-width: 210px;

    padding: 24px;

    border-radius: 22px;

    background: rgba(2, 6, 23, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.25);

    text-align: center;
}

.dashboard-hero-status span {
    display: block;
    margin-bottom: 10px;

    color: #cbd5e1;
    font-size: 14px;
}

.dashboard-hero-status strong {
    font-size: 26px;
}

.executive-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;

    margin-bottom: 35px;
}

.executive-card {
    position: relative;
    overflow: hidden;

    padding: 28px;

    border-radius: 24px;

    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.96));
    border: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.executive-card::after {
    content: "";
    position: absolute;
    right: -35px;
    top: -35px;

    width: 100px;
    height: 100px;

    border-radius: 50%;
    background: rgba(56, 189, 248, 0.08);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 16px;

    border-radius: 14px;
    background: rgba(56, 189, 248, 0.12);
}

.executive-card h3 {
    margin-bottom: 10px;
    color: #e5e7eb;
}

.executive-number {
    margin: 0;

    color: #38bdf8;

    font-size: 34px;
    font-weight: 900;
}

.executive-card small {
    color: #94a3b8;
}

.highlight-card {
    border-color: rgba(56, 189, 248, 0.35);
}

.security-rating-panel {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 25px;

    margin-bottom: 35px;
    padding: 32px;

    border-radius: 26px;

    background:
        linear-gradient(135deg, rgba(2, 6, 23, 0.96), rgba(15, 23, 42, 0.96));

    border: 1px solid rgba(56, 189, 248, 0.25);
}

.security-rating-panel h2 {
    margin: 8px 0;
    color: white;
}

.security-rating-panel p {
    color: #cbd5e1;
}

.rating-score {
    text-align: center;
}

.rating-score strong {
    display: block;
    color: #38bdf8;
    font-size: 36px;
}

.rating-score span {
    color: #cbd5e1;
    font-weight: 700;
}

.dashboard-panels {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 25px;

    margin-bottom: 35px;
}

.enterprise-panel {
    padding: 28px;

    height: 420px;

    border-radius: 26px;

    background: linear-gradient(
        135deg,
        rgba(15, 23, 42, 0.96),
        rgba(30, 41, 59, 0.96)
    );

    border: 1px solid rgba(255,255,255,0.08);

    box-shadow: 0 12px 40px rgba(0,0,0,0.25);

    overflow: hidden;
}

.enterprise-panel canvas {
    max-height: 300px !important;
}

.panel-header {
    margin-bottom: 20px;
}

.panel-header h3 {
    margin-top: 6px;
    color: white;
}

.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-bottom: 35px;
}

.quick-actions a {
    padding: 13px 18px;

    border-radius: 14px;

    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.25);

    color: #38bdf8;
    text-decoration: none;
    font-weight: 800;
}

.quick-actions a:hover {
    background: rgba(56, 189, 248, 0.2);
    color: white;
}

.enterprise-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.full-table {
    grid-column: 1 / -1;
}

.status-excellent {
    color: #22c55e;
}

.status-good {
    color: #38bdf8;
}

.status-medium {
    color: #f59e0b;
}

.status-critical {
    color: #ef4444;
}

.status-none {
    color: #94a3b8;
}

@media (max-width: 1000px) {
    .dashboard-hero,
    .security-rating-panel {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .executive-grid,
    .dashboard-panels,
    .enterprise-tables {
        grid-template-columns: 1fr;
    }

    .dashboard-hero h1 {
        font-size: 32px;
    }
}

/* ============================= */
/* MJ Sentinel - Badges & Scores */
/* ============================= */

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.badge-success {
    background: rgba(34, 197, 94, 0.18);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.45);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.18);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.45);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.18);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.45);
}

/* Cartes score colorées */

.card-success {
    border: 1px solid rgba(34, 197, 94, 0.65);
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.12);
}

.card-success .number {
    color: #22c55e;
}

.card-warning {
    border: 1px solid rgba(245, 158, 11, 0.65);
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.12);
}

.card-warning .number {
    color: #f59e0b;
}

.card-danger {
    border: 1px solid rgba(239, 68, 68, 0.65);
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.12);
}

.card-danger .number {
    color: #ef4444;
}

/* Amélioration des blocs SSL */

.table-box {
    margin-top: 28px;
    padding: 26px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.table-box h3 {
    margin-bottom: 18px;
    color: #38bdf8;
}

.table-box h4 {
    margin-top: 18px;
    margin-bottom: 8px;
    color: #ffffff;
}

.table-box table {
    width: 100%;
    border-collapse: collapse;
}

.table-box th,
.table-box td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
}

.table-box th {
    color: #38bdf8;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.06);
}

.table-box pre {
    background: rgba(0, 0, 0, 0.35);
    padding: 14px;
    border-radius: 10px;
    overflow-x: auto;
    margin-bottom: 12px;
}

.table-box code {
    color: #e5e7eb;
}
.fix-card {
    margin-top: 24px;
    padding: 22px;
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.fix-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}

.fix-header h4 {
    margin: 0;
    color: #ffffff;
}

.fix-risk {
    margin-bottom: 18px;
    color: #d1d5db;
}

.config-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.config-box {
    padding: 16px;
    border-radius: 14px;
    background: rgba(2, 6, 23, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.config-box h5 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #38bdf8;
}

.config-box pre {
    margin: 0;
    padding: 14px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.35);
    overflow-x: auto;
}

.config-box code {
    color: #e5e7eb;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .config-grid {
        grid-template-columns: 1fr;
    }
}
.tested-urls-table{
    margin-top: 22px;
}
.card-subtitle{
    margin-top:10px;
    font-size:15px;
    color:#b8c0d6;
    font-weight:500;
}
.scan-note{
    margin-top:14px;
    color:#c9d2e3;
    font-size:14px;
    font-style:italic;
}
.fix-badges{
    display:flex;
    gap:10px;
    align-items:center;
}

.badge-critical{
    background:#5b2636;
    color:#ffb3b3;
    border:1px solid #c75d5d;
}
.fix-badges {
    display: flex;
    gap: 10px;
    align-items: center;
}

.badge-critical {
    background: rgba(245, 158, 11, 0.18);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.45);
}
.critical-high{
    background:rgba(220,38,38,.18);
    color:#ff6b6b;
    border:1px solid rgba(220,38,38,.45);
}

.critical-medium{
    background:rgba(245,158,11,.18);
    color:#f59e0b;
    border:1px solid rgba(245,158,11,.45);
}

.critical-low{
    background:rgba(34,197,94,.18);
    color:#22c55e;
    border:1px solid rgba(34,197,94,.45);
}
.critical-critical{
    color:#ff5f5f;
    border:1px solid #b03030;
    background:rgba(176,48,48,.15);
}
.admin-review-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 20px;
}

.admin-review-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 18px;
    padding: 24px;
}

.admin-review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 18px;
}

.admin-review-header p {
    margin-top: 6px;
    color: #b9c2d0;
    font-size: 0.9rem;
}

.admin-review-content {
    margin-bottom: 18px;
    color: #d8dee9;
}

.admin-reply-preview {
    background: rgba(56, 189, 248, 0.08);
    border-left: 4px solid #38bdf8;
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 18px;
}

.admin-reply-preview strong,
.admin-reply strong {
    color: #38bdf8;
}

.admin-reply-form textarea {
    width: 100%;
    min-height: 90px;
    resize: vertical;
    margin-bottom: 14px;
}

.admin-review-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.small-btn {
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 700;
}

.review-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-comment {
    font-size: 1rem;
    line-height: 1.6;
}

.admin-reply {
    margin-top: 12px;
    padding: 14px 18px;
    border-left: 4px solid #38bdf8;
    border-radius: 12px;
    background: rgba(56, 189, 248, 0.08);
}
.review-card{
    padding:28px;
}

.review-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:18px;
}

.review-user{
    color:white;
    font-size:1.15rem;
}

.review-stars{
    font-size:1.25rem;
}

.review-body{
    line-height:1.8;
    font-size:1rem;
    color:#d4d9e5;
}

.admin-reply{
    margin-top:22px;
    padding:18px;
    border-left:4px solid #38bdf8;
    background:rgba(56,189,248,.08);
    border-radius:12px;
}

.admin-reply strong{
    color:#38bdf8;
}

.admin-reply p{
    margin-top:10px;
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 30px;
}

.review-public-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.92), rgba(15, 23, 42, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.review-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 22px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.review-avatar{
    width:52px;
    height:52px;
    border-radius:50%;
    overflow:hidden;

    background:linear-gradient(135deg,#1e293b,#334155);
    border:1px solid rgba(148,163,184,.35);

    display:flex;
    justify-content:center;
    align-items:center;

    font-size:1.35rem;
    color:#cbd5e1;

    flex-shrink:0;
}
.review-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.review-author strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.review-author p {
    margin: 5px 0 0;
    color: #94a3b8;
    font-size: 0.9rem;
}

.review-rating {
    text-align: right;
}

.review-rating span {
    display: block;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.review-rating small {
    display: inline-block;
    margin-top: 7px;
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.12);
    border-radius: 999px;
    padding: 5px 11px;
    font-weight: 700;
}

.review-message {
    color: #dbe4f0;
    line-height: 1.8;
    font-size: 1rem;
    margin-top: 8px;
}

.review-admin-answer {
    margin-top: 24px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-left: 5px solid #38bdf8;
    border-radius: 16px;
    padding: 18px 20px;
}

.admin-answer-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #38bdf8;
    margin-bottom: 10px;
}

.review-admin-answer p {
    margin: 0;
    color: #dbe4f0;
    line-height: 1.7;
}
.score-5{
    background:#16a34a;
    border:1px solid #22c55e;
    color:white;
}

.score-4{
    background:#22c55e;
    border:1px solid #4ade80;
    color:white;
}

.score-3{
    background:#ca8a04;
    border:1px solid #eab308;
    color:white;
}

.score-2{
    background:#ea580c;
    border:1px solid #fb923c;
    color:white;
}

.score-1{
    background:#dc2626;
    border:1px solid #ef4444;
    color:white;
}
.review-rating small{
    display:inline-block;
    margin-top:7px;
    border-radius:999px;
    padding:5px 11px;
    font-weight:700;
}

.review-rating small.score-5{
    background:#14532d;
    color:#22c55e;
    border:1px solid #22c55e;
}

.review-rating small.score-4{
    background:#1e3a5f;
    color:#38bdf8;
    border:1px solid #38bdf8;
}

.review-rating small.score-3{
    background:#5b4a12;
    color:#facc15;
    border:1px solid #facc15;
}

.review-rating small.score-2{
    background:#5b3412;
    color:#fb923c;
    border:1px solid #fb923c;
}

.review-rating small.score-1{
    background:#5b1212;
    color:#ef4444;
    border:1px solid #ef4444;
}
