﻿:root {
    --us-blue: #06376b;
    --us-blue-2: #0a4a8a;
    --us-ink: #1f2d3d;
    --us-muted: #5b6b7c;
    --us-line: #e3e9f0;
    --us-bg: #f5f8fb;
    --us-danger: #d9534f;
    --us-header-h: 56px;
    --us-font: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
    --us-font-title: 'Merriweather', Georgia, serif;
}

html,
body {
    margin: 0;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: var(--us-header-h); /* spazio per l'header fisso */
    font-family: var(--us-font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--us-ink);
    background: var(--us-bg);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
}

.main-content {
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0;
    padding: 0;
}

    .main-content > form {
        width: 100%;
    }

input,
select,
textarea {
    max-width: 100%;
}


/* =========================================================
   HEADER
   ========================================================= */

#header {
    min-height: var(--us-header-h);
    padding: 0;
    background-color: var(--us-blue);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

    #header .navbar-brand {
        padding: 0 8px;
        margin-right: 16px;
    }

        #header .navbar-brand img {
            display: block;
            height: 22px;
            width: auto;
        }

    #header .navbar-nav .nav-link {
        padding: 0 13px;
        font-size: 15px;
        font-weight: 600;
        line-height: var(--us-header-h);
        color: rgba(255, 255, 255, .88);
        transition: color .15s, background .15s;
    }

        #header .navbar-nav .nav-link:hover,
        #header .navbar-nav .nav-link:focus {
            color: #fff;
            background-color: rgba(255, 255, 255, .1);
        }

    #header .navbar-toggler {
        padding: 6px 9px;
        border: 1px solid rgba(255, 255, 255, .45);
    }

        #header .navbar-toggler:focus {
            box-shadow: 0 0 0 .15rem rgba(255, 255, 255, .2);
        }

@media (max-width: 767px) {
    #header .navbar-nav .nav-link {
        padding: 12px 20px;
        line-height: 1;
    }
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    flex-shrink: 0;
    padding: 36px 0 20px;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
    background: var(--us-blue);
}

    .site-footer a {
        color: inherit;
        transition: color .15s, opacity .15s;
    }

        .site-footer a:hover {
            color: #fff;
        }

.ft-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 24px;
}


.ft-logo {
    display: block;
    height: 26px;
    width: auto;
    margin-bottom: 16px;
}

.ft-apps {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

    .ft-apps img {
        display: block;
        height: 36px;
        width: auto;
    }

    .ft-apps a:hover {
        opacity: .85;
    }


.ft-title {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}


.ft-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .ft-links li {
        margin: 0 0 6px;
    }

    .ft-links a:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }


.ft-social {
    display: flex;
    gap: 12px;
}

    .ft-social a {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        border: 1px solid rgba(255, 255, 255, .25);
        border-radius: 50%;
    }

        .ft-social a:hover {
            color: var(--us-blue);
            background: #fff;
            border-color: #fff;
        }


.ft-bottom {
    padding-top: 14px;
    font-size: 12px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .6);
    border-top: 1px solid rgba(255, 255, 255, .15);
}

    .ft-bottom p {
        margin: 0 0 4px;
    }


@media (max-width: 991px) {
    .ft-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px 24px;
    }

    .ft-brand {
        grid-column: 1 / -1;
    }
}


@media (max-width: 575px) {
    .site-footer {
        padding: 28px 0 16px;
    }

    .ft-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}


/* =========================================================
   PAGINA ATTIVAZIONE ABBONAMENTO
   ========================================================= */

.activation-page {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 32px 20px;
    box-sizing: border-box;
}

.activation-card {
    width: 100%;
    max-width: 560px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 4px rgba(6, 55, 107, .06), 0 18px 40px rgba(6, 55, 107, .12);
    overflow: hidden;
}


.activation-header {
    padding: 28px 36px 20px;
    text-align: center;
    background: var(--us-bg);
    border-bottom: 1px solid var(--us-line);
}

    .activation-header h1 {
        margin: 0 0 10px;
        font-family: var(--us-font-title);
        font-size: 24px;
        font-weight: 700;
        line-height: 1.3;
        color: var(--us-blue);
    }

    .activation-header p {
        max-width: 440px;
        margin: 0 auto;
        font-size: 15px;
        line-height: 1.5;
        color: var(--us-muted);
    }


.activation-body {
    padding: 24px 36px;
}


.activation-form-group {
    margin-bottom: 18px;
}

    .activation-form-group label {
        display: block;
        margin-bottom: 8px;
        font-size: 15px;
        font-weight: 600;
        color: var(--us-ink);
    }

.activation-code-input {
    width: 100%;
    max-width: 100%;
    height: 48px;
    padding: 0 14px;
    font-size: 16px;
    border: 1.5px solid #cdd7e3;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color .2s, box-shadow .2s;
}

    .activation-code-input:focus {
        outline: 0;
        border-color: var(--us-blue-2);
        box-shadow: 0 0 0 4px rgba(10, 74, 138, .15);
    }


.activation-form-group .text-danger {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--us-danger);
}


.activation-captcha {
    display: flex;
    justify-content: center;
    margin: 0 0 18px;
}


.activation-action {
    margin-bottom: 14px;
}

.activation-button {
    width: 100%;
    min-height: 50px;
    font-size: 17px;
    font-weight: 600;
    color: #fff;
    background: var(--us-blue);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(6, 55, 107, .28);
    transition: background .2s, transform .15s;
}

    .activation-button:hover {
        color: #fff;
        background: var(--us-blue-2);
    }

    .activation-button:active {
        transform: scale(.98);
    }


.activation-terms {
    margin: 0 auto;
    font-size: 12.5px;
    line-height: 1.5;
    text-align: center;
    color: #6b7a8a;
}

    .activation-terms a {
        color: var(--us-blue-2);
        text-decoration: underline;
    }

        .activation-terms a:hover {
            color: var(--us-blue);
        }


@media (max-width: 767.98px) {
    .activation-page {
        padding: 20px 14px;
    }

    .activation-header {
        padding: 22px 20px 16px;
    }

        .activation-header h1 {
            font-size: 21px;
        }

        .activation-header p {
            font-size: 14px;
        }

    .activation-body {
        padding: 20px;
    }

    .activation-captcha {
        overflow: hidden;
    }

    .activation-terms {
        font-size: 12px;
    }
}


@media (max-width: 360px) {
    .activation-page {
        padding-left: 10px;
        padding-right: 10px;
    }

    .activation-header,
    .activation-body {
        padding-left: 15px;
        padding-right: 15px;
    }

        .activation-header h1 {
            font-size: 20px;
        }

    .g-recaptcha {
        transform: scale(.9);
        transform-origin: center top;
    }
}

.activation-error {
    margin-bottom: 18px;
    padding: 12px 14px;
    font-size: 14px;
    color: #a12622;
    background: #fdecea;
    border: 1px solid #f5c6c2;
    border-radius: 8px;
}

    .activation-error ul {
        margin: 0;
        padding-left: 18px;
    }

.validation-summary-valid {
    display: none;
}

.activation-code-input.input-validation-error {
    border-color: var(--us-danger);
    box-shadow: 0 0 0 4px rgba(217, 83, 79, .12);
}



.hidden {
    display: none !important;
}

