/* Estilo personalizado para radio buttons */
.radio-box {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
    background-color: #fff;
    flex-shrink: 0;
    position: relative;
    /* margin-right: 12px; */
    padding: 8px;
}

/* Hover - quando passa o mouse */
.radio-box:hover {
    border-color: #0066cc;
    box-shadow: 0 0 8px rgba(0, 102, 204, 0.2);
}

/* Checked - quando selecionado */
.radio-box:checked {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    border-color: #0052a3;
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.4);
}

/* Checked com pseudo-elemento (bolinha interna) */
.radio-box:checked::after {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Focus - quando tem foco (acessibilidade) */
.radio-box:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.25);
    border-color: #0066cc;
}

/* Disabled - quando desabilitado */
.radio-box:disabled {
    background-color: #f5f5f5;
    border-color: #ddd;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Label associado ao radio */
.radio-box + label {
    cursor: pointer;
    user-select: none;
    font-size: 16px;
    color: #333;
    transition: color 0.3s ease;
}

/* Quando o radio está checked */
.radio-box:checked + label {
    font-weight: 600;
    color: #0066cc;
}

/* EXCEÇÃO: Radio alinhado ao centro */
.radio-box.center {
    display: block;
    margin: 0 auto 0 auto;
}

.radio-box.center + label {
    display: block;
    text-align: center;
    margin-top: 8px;
}

/* COOKIES ALERT */

#cookieConsentModal {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgb(0, 0, 0) !important;
    background-color: rgba(0, 0, 0, 0.92) !important;
    color: #ffffff !important;
    padding: 25px 20px !important;
    z-index: 9999 !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3) !important;
    -webkit-animation: slideUp 0.4s ease-out;
    animation: slideUp 0.4s ease-out;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

@-webkit-keyframes slideUp {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        -webkit-transform: translateY(100%);
        transform: translateY(100%);
    }
    to {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

#cookieConsentModal .container {
    max-width: 1200px !important;
}

#cookieConsentModal h5 {
    color: #ffc107 !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    font-size: 1.1rem !important;
}

#cookieConsentModal p {
    color: #ffffff !important;
    margin-bottom: 15px !important;
    line-height: 1.6 !important;
    font-size: 0.95rem !important;
}

#cookieConsentModal a {
    color: #ffc107 !important;
    text-decoration: underline !important;
}

#cookieConsentModal a:hover {
    color: #ffdb4d !important;
}

#acceptCookiesBtn {
    background-color: #28a745 !important;
    border: none !important;
    color: #ffffff !important;
    padding: 12px 40px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
}

#acceptCookiesBtn:hover,
#acceptCookiesBtn:active {
    background-color: #218838 !important;
    -webkit-transform: translateY(-2px);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.4) !important;
}

.consent-content {
    margin-bottom: 20px !important;
}

@media (max-width: 768px) {
    #cookieConsentModal {
        padding: 20px 15px !important;
    }

    #cookieConsentModal h5 {
        font-size: 0.85rem !important;
    }

    #cookieConsentModal p {
        font-size: 0.75rem !important;
        line-height: 1.4 !important;
    }

    #acceptCookiesBtn {
        width: 100% !important;
        padding: 14px !important;
    }
}

/* COOKIES — actions (buttons) and preferences panel */
.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.cookie-btn {
    border: none;
    color: #ffffff !important;
    padding: 12px 28px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    -webkit-appearance: button;
    -moz-appearance: button;
    appearance: button;
}
.cookie-btn-accept {
    background-color: #28a745 !important;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3) !important;
}
.cookie-btn-accept:hover,
.cookie-btn-accept:active {
    background-color: #218838 !important;
}
.cookie-btn-reject {
    background-color: #6c757d !important;
}
.cookie-btn-reject:hover,
.cookie-btn-reject:active {
    background-color: #5a6268 !important;
}
.cookie-btn-config {
    background-color: transparent !important;
    border: 1px solid #ffc107 !important;
    color: #ffc107 !important;
}
.cookie-btn-config:hover,
.cookie-btn-config:active {
    background-color: rgba(255, 193, 7, 0.15) !important;
}
.cookie-cat {
    margin-bottom: 12px;
}
.cookie-cat-label {
    color: #ffffff !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    cursor: pointer;
}
.cookie-cat-label input {
    margin-right: 8px;
}
@media (max-width: 768px) {
    .cookie-btn {
        width: 100% !important;
        padding: 14px !important;
    }
}
