/* Estils bàsics per al formulari atrapam */
.atrapam-form {
    max-width: 900px;
    margin: 40px auto;
    padding: 24px 32px;
    background: rgba(255,255,255, 0.95);
    border-radius: 8px;
    margin-bottom: 40px;

    img {
        height: 100px;
    }

    h1 {
        text-align: center;
    }

    .form-row {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: flex-start;
        margin-bottom: 18px;
    }

    label {
        font-weight: 500;
        margin-bottom: 6px;
        color: #222;
        margin-left: 0.5rem;

        span {
            color: #F69C00; /* Color per als camps obligatoris */
            font-weight: 300;
            font-size: 0.8rem;
            margin-left: 4px;
        }
        span.info {
            color: #888; /* Color per a la informació addicional */
            font-style: italic;
            margin-left: 4px;
        }
        a {
            color: #F69C00; /* Color per als enllaços */
            text-decoration: none;
            font-weight: 500;

            &:hover {
                text-decoration: underline;
            }
        }
    }

    input[type="text"],
    input[type="email"],
    input[type="number"],
    input[type="date"],
    input[type="tel"],
    input[type="file"],
    select,
    textarea {
        width: 100%;
        padding: 8px 10px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 1rem;
        background: #fafafa;
        margin-bottom: 2px;
    }

    textarea {
        min-height: 48px;
        resize: vertical;
        field-sizing: content;
    }
    .radio-group {
        display: flex;
        gap: 24px;
        margin-top: 2px;

        label {
            font-weight: 400;
            margin-bottom: 0;
        }
    }

    .captcha-submit {
        display: flex;
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content:space-between;

        &:not(:last-child) {
            margin-right: 16px;
        }

        button[type="submit"] {
            padding: 10px 28px;
            background: #0059D8;
            color: #fff;
            border: none;
            border-radius: 4px;
            font-size: 1.1rem;
            cursor: pointer;
            transition: background 0.2s;

            &:hover {
                background: #005fa3;
            }
        }
    }

}

@media screen and (max-width: 768px) {
    .atrapam-form {
        padding: 16px;
        margin: 20px auto;

        .captcha-submit {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }
    }
}
 

div.cookies-policy-text {
    margin-top: 15px;
    padding: 10px 1rem 0px;
    text-align: center;

    span {
        font-size: 0.9rem;
        color: #555;
        font-style: oblique;
    }
}

button.atrapam_orange {
    margin-top: 10px;
    padding: 10px 28px;
    background: #F69C00;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s;

    &:hover {
        background: #f6a300;
    }
}
