@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --bs-font-sans-serif: "Montserrat", "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--bs-font-sans-serif);
}

.img-responsive {
    max-width: 100%;
}

.concorso .box-concorso {
    border-radius: 3rem 3rem 0 0;
    background: white;
    min-height: 100vh;
}

.concorso {
    background: linear-gradient(to bottom, #386599 0%,#003c6d 100%);
}

    .concorso h1 {
        font-size: 2rem;
        text-transform: uppercase;
        text-align: center;
        font-weight: bold;
    }

    .concorso h2 {
        font-size: 1.5rem;
    }

.concorso-form-regolamento a {
    text-decoration: underline;
    font-weight: bold;
    color: black;
}

.concorso-form {
    text-align: center;
}

    .concorso-form .input {
        width: 100%;
        border: 1px solid lightgray;
        padding: .7rem;
        border-radius: .5rem;
    }

        .concorso-form .input:focus {
            outline: none;
            border-color: #2e5d91;
            box-shadow: 0 0 0 .15rem rgba(46,93,145,.15);
        }

    .concorso-form input[type="date"].input {
        background-color: #fff;
        color: #000;
        -webkit-appearance: none;
        appearance: none;
    }

        .concorso-form input[type="date"].input:focus {
            background-color: #fff;
        }

.concorso-form-btn {
    background: #2e5d91;
    color: white;
    min-width: 20rem;
    padding: .5rem;
    border-radius: .5rem;
    border: none;
    font-weight: bold;
}

    .concorso-form-btn:active, .concorso-form-btn:focus, .concorso-form-btn:hover {
        background: #013d6e;
    }

    .concorso-form-btn.is-loading {
        opacity: .85;
        cursor: not-allowed;
    }

        .concorso-form-btn.is-loading .btn-inner {
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }

.logo-cliente {
    max-height: 8rem;
    max-width: 100%;
}

@media (max-width: 576px) {
    .concorso-form-btn {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .container-concorso-form-btn {
        padding-left: .25rem;
        padding-right: .25rem;
    }
}

.field-label {
    display: block;
    margin: 0.7rem 0 0.3rem;
    font-size: .95rem;
    font-weight: 600;
    color: rgba(0,0,0,.7);
    text-align: left;
}

.finish-wintext {
    max-width: 760px;
    margin: 0 auto;
}

    .finish-wintext p:last-child {
        margin-bottom: 0;
    }

.finish-resources-wrap {
    max-width: 900px;
    margin: 1.5rem auto 0;
    padding: 1.35rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(46,93,145,.06) 0%, rgba(46,93,145,.02) 100%);
    border: 1px solid rgba(46,93,145,.10);
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.finish-resources-head {
    margin-bottom: 1.1rem;
}

.finish-resources-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2e5d91;
    margin-bottom: .35rem;
}

.finish-resources-title {
    margin-bottom: .35rem;
    font-size: 1.35rem;
    font-weight: 800;
    text-transform: none;
}

.finish-resources-subtitle {
    margin: 0;
    color: rgba(0,0,0,.65);
    font-size: .98rem;
}

.finish-resources-list {
    display: flex;
    flex-direction: column;
    gap: .9rem;
}

.finish-resource-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.05rem;
    border-radius: 1.1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
}

.finish-resource-main {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    min-width: 0;
    flex: 1 1 auto;
}

.finish-resource-icon {
    width: 2.8rem;
    height: 2.8rem;
    min-width: 2.8rem;
    border-radius: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(46,93,145,.10);
    color: #2e5d91;
    font-size: 1.25rem;
    font-weight: 700;
}

.finish-resource-content {
    min-width: 0;
    text-align: left;
}

.finish-resource-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
    word-break: break-word;
}

.finish-resource-filename {
    margin-top: .2rem;
    font-size: .88rem;
    color: rgba(0,0,0,.5);
    word-break: break-word;
}

.finish-resource-description {
    margin-top: .45rem;
    font-size: .94rem;
    color: rgba(0,0,0,.72);
    line-height: 1.5;
    word-break: break-word;
}

.finish-resource-actions {
    flex: 0 0 auto;
}

.finish-resource-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 8.5rem;
    padding: .72rem 1rem;
    border-radius: .8rem;
    background: #2e5d91;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
    box-shadow: 0 8px 20px rgba(46,93,145,.22);
}

    .finish-resource-btn:hover,
    .finish-resource-btn:focus {
        background: #013d6e;
        color: #fff;
        text-decoration: none;
        transform: translateY(-1px);
    }

@media (max-width: 768px) {
    .finish-resources-wrap {
        padding: 1rem;
        border-radius: 1.2rem;
    }

    .finish-resource-card {
        flex-direction: column;
        align-items: stretch;
    }

    .finish-resource-actions {
        width: 100%;
    }

    .finish-resource-btn {
        width: 100%;
        min-width: 0;
    }
}
