/* =========================================================
   NAVILOG — listmonk Public
   Interface moderne inspirée de Sendy
   ========================================================= */

:root {
    --navilog-primary: #1e73be;
    --navilog-primary-hover: #175d9b;
    --navilog-primary-light: #eaf3fb;
    --navilog-border: #dfe5ea;
    --navilog-text: #263238;
    --navilog-muted: #6f7b85;
}


/* =========================================================
   PAGE & ARRIÈRE-PLAN
   ========================================================= */

html {
    min-height: 100%;
    background: #263238;
}

body {
    min-height: 100vh;

    background:
        linear-gradient(
            rgba(15, 25, 35, 0.35),
            rgba(15, 25, 35, 0.35)
        ),
        url("https://assets.navilog.io/static/images/subscription.jpg")
        center center / cover no-repeat fixed;

    color: var(--navilog-text);

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

    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   CONTENU PRINCIPAL
   ========================================================= */

main,
.container {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   TITRES
   ========================================================= */

h1,
h2,
h3 {
    color: #20272d;
    letter-spacing: -0.025em;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
}

h2 {
    font-weight: 650;
}

h3 {
    font-weight: 600;
}


/* =========================================================
   LIENS
   ========================================================= */

a {
    color: var(--navilog-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--navilog-primary-hover);
    text-decoration: underline;
}


/* =========================================================
   FORMULAIRES / CARTES
   ========================================================= */

form {
    background: rgba(255, 255, 255, 0.97);

    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 12px;

    padding: 28px;

    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.08),
        0 12px 40px rgba(0, 0, 0, 0.16);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* =========================================================
   LABELS
   ========================================================= */

label {
    color: var(--navilog-text);
    font-weight: 600;
}


/* =========================================================
   CHAMPS
   ========================================================= */

input,
textarea,
select {
    background: #ffffff;

    border: 1px solid #ccd4da !important;
    border-radius: 6px !important;

    color: var(--navilog-text);

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--navilog-primary) !important;

    outline: none !important;

    box-shadow:
        0 0 0 3px rgba(30, 115, 190, 0.12) !important;
}


/* =========================================================
   CHECKBOX / RADIO
   ========================================================= */

input[type="checkbox"],
input[type="radio"] {
    accent-color: var(--navilog-primary);
}


/* =========================================================
   BOUTONS
   ========================================================= */

button,
input[type="submit"],
.button,
.btn {
    background: var(--navilog-primary) !important;

    border: 1px solid var(--navilog-primary) !important;
    border-radius: 6px !important;

    color: #ffffff !important;

    cursor: pointer;

    font-weight: 600;

    padding: 0.7rem 1.2rem;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.1s ease;
}

button:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover {
    background: var(--navilog-primary-hover) !important;
    border-color: var(--navilog-primary-hover) !important;

    box-shadow:
        0 4px 12px rgba(30, 115, 190, 0.22);
}

button:active,
input[type="submit"]:active {
    transform: translateY(1px);
}


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

.notification,
.message,
.alert {
    border-radius: 8px;
}


/* =========================================================
   LISTES D'ABONNEMENT
   ========================================================= */

ul,
.list {
    line-height: 1.7;
}


/* =========================================================
   SÉPARATEURS
   ========================================================= */

hr {
    border: 0;
    border-top: 1px solid var(--navilog-border);
}


/* =========================================================
   TEXTES SECONDAIRES
   ========================================================= */

small,
.help,
.text-muted {
    color: var(--navilog-muted);
}


/* =========================================================
   TABLEAUX
   ========================================================= */

table {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 8px;
}

table th {
    color: var(--navilog-text);
    font-weight: 600;
}

table td,
table th {
    border-color: var(--navilog-border);
}


/* =========================================================
   CODE
   ========================================================= */

code {
    background: #f1f4f6;
    color: #34495e;

    padding: 2px 5px;
    border-radius: 4px;
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.45);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.65);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 700px) {

    body {
        font-size: 15px;

        /*
         * background-attachment: fixed peut être moins performant
         * sur certains navigateurs mobiles.
         */
        background-attachment: scroll;
    }

    main,
    .container {
        width: auto;
        margin-left: 14px;
        margin-right: 14px;
    }

    form {
        padding: 20px;
        border-radius: 9px;
    }

    h1 {
        font-size: 1.65rem;
    }

    button,
    input[type="submit"],
    .button,
    .btn {
        min-height: 42px;
    }
}