/**
 * LGPD Compliance - Public Styles
 * Baseado no tema OnePress
 */

/* Banner Principal */
.lgpd-banner {
    position: fixed;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    padding: 20px 0;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #777777;
    transition: transform 0.3s ease;
}

.lgpd-banner-bottom {
    bottom: 0;
}

.lgpd-banner-top {
    top: 0;
}

.lgpd-banner-content {
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.lgpd-banner-text {
    flex: 1;
    margin: 0;
}

.lgpd-banner-text p {
    margin: 0 0 8px 0;
    line-height: 1.7;
}

.lgpd-privacy-link {
    color: #03c4eb;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.lgpd-privacy-link:hover {
    text-decoration: underline;
    color: #777777;
}

.lgpd-banner-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

/* Botões - Estilo OnePress */
.lgpd-button {
    cursor: pointer;
    background: #03c4eb;
    border: none;
    display: inline-block;
    color: #FFFFFF;
    letter-spacing: 1px;
    text-transform: uppercase;
    line-height: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 2px;
    box-shadow: 0 -1px 0 0 rgba(0, 0, 0, 0.1) inset;
    margin: 0;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    transition: all 0.2s linear;
}

.lgpd-button:hover {
    opacity: 0.8;
    background: #03c4eb;
}

.lgpd-button-reject {
    background: #777777;
}

.lgpd-button-reject:hover {
    background: #555555;
}

.lgpd-button-settings {
    background: transparent;
    border: 1px solid #03c4eb;
    color: #03c4eb;
}

.lgpd-button-settings:hover {
    background: #03c4eb;
    color: #FFFFFF;
}

/* Modal */
.lgpd-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lgpd-modal-content {
    background: #ffffff;
    max-width: 500px;
    width: 100%;
    border-radius: 2px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
}

.lgpd-modal-header {
    padding: 20px;
    border-bottom: 1px solid #e9e9e9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.lgpd-modal-header h3 {
    margin: 0;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #333333;
}

.lgpd-close-button {
    background: none;
    border: none;
    font-size: 28px;
    color: #777777;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 1;
}

.lgpd-close-button:hover {
    color: #03c4eb;
}

.lgpd-modal-body {
    padding: 20px;
}

.lgpd-cookie-category {
    margin-bottom: 20px;
}

.lgpd-category-header {
    margin-bottom: 10px;
}

.lgpd-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: #333333;
}

.lgpd-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.lgpd-checkbox-label input[type="checkbox"]:disabled {
    cursor: not-allowed;
}

.lgpd-category-description {
    margin: 8px 0 0 28px;
    font-size: 13px;
    color: #777777;
    line-height: 1.6;
}

.lgpd-modal-footer {
    padding: 20px;
    border-top: 1px solid #e9e9e9;
    text-align: right;
}

/* Responsivo */
@media (max-width: 768px) {
    .lgpd-banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .lgpd-banner-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .lgpd-button {
        width: 100%;
    }
    
    .lgpd-modal-content {
        margin: 10px;
    }
}

/* Animações */
@keyframes lgpdSlideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

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

.lgpd-banner-bottom {
    animation: lgpdSlideUp 0.3s ease;
}

.lgpd-banner-top {
    animation: lgpdSlideDown 0.3s ease;
}
