/* Faroeste Beer Consent Plugin CSS - WordPress Version */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

:root {
    --faroeste-green: #004d2c;
    --faroeste-light-green: #006837;
    --faroeste-gold: #d4af37;
    --faroeste-white: #ffffff;
    --faroeste-cream: #f5f5dc;
}

#faroeste-consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    font-family: 'Roboto', sans-serif;
}

.faroeste-modal-content {
    background-image: url('fundo.png'); /* No WP, o CSS está na mesma pasta que a imagem */
    background-size: cover;
    background-position: center;
    width: 95%;
    max-width: 650px;
    border-radius: 25px;
    padding: 50px 40px;
    text-align: center;
    color: var(--faroeste-white);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.faroeste-logo {
    max-width: 200px;
    margin-bottom: 20px;
    display: inline-block;
}

.faroeste-age-warning {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.4;
}

.faroeste-checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
}

.faroeste-checkbox-container input {
    display: none;
}

.faroeste-checkmark {
    height: 25px;
    width: 25px;
    background-color: var(--faroeste-cream);
    border-radius: 5px;
    margin-right: 15px;
    display: inline-block;
    position: relative;
}

.faroeste-checkbox-container input:checked ~ .faroeste-checkmark:after {
    content: "";
    position: absolute;
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid var(--faroeste-green);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.faroeste-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 20px 0;
}

.faroeste-description {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.faroeste-description a {
    color: var(--faroeste-white);
    text-decoration: underline;
    font-weight: bold;
}

.faroeste-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.faroeste-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid var(--faroeste-white);
    background: transparent;
    color: var(--faroeste-white);
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.faroeste-btn-primary {
    background: #006837;
    border-color: #ffffff;
}

.faroeste-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* Floating Button */
#faroeste-consent-trigger {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    background: #004d2c;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 999998;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.3);
}

#faroeste-consent-trigger:hover {
    transform: scale(1.1);
}

#faroeste-consent-trigger svg {
    width: 25px;
    height: 25px;
    fill: white;
}

/* Settings Panel */
#faroeste-settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #1a1a1a;
    color: white;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    z-index: 1000000;
    box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

.faroeste-settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
}

.faroeste-settings-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: #2a2a2a;
    border-radius: 8px;
}

.faroeste-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.faroeste-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.faroeste-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: .4s;
    border-radius: 24px;
}

.faroeste-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .faroeste-slider {
    background-color: var(--faroeste-light-green);
}

input:checked + .faroeste-slider:before {
    transform: translateX(26px);
}

.faroeste-settings-footer {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

@media (max-width: 480px) {
    .faroeste-buttons {
        flex-direction: column;
    }
    .faroeste-modal-content {
        padding: 20px;
    }
}
