/* RB Seguros - LGPD Pop-up Styles */

.rb-lgpd-popup {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 999999;
    padding: 20px;
    animation: slideUp 0.3s ease-out;
}

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

.rb-lgpd-popup-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 300px;
    width: 100%;
    overflow: hidden;
    animation: popIn 0.3s ease-out;
}

@keyframes popIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.rb-lgpd-popup-header {
    background: linear-gradient(135deg, #FF9500 0%, #FF7A00 100%);
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rb-lgpd-popup-header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.rb-lgpd-popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.rb-lgpd-popup-close:hover {
    transform: scale(1.1);
}

.rb-lgpd-popup-body {
    padding: 12px 15px;
    color: #333;
    font-size: 12px;
    line-height: 1.5;
}

.rb-lgpd-popup-body p {
    margin: 0 0 8px 0;
}

.rb-lgpd-popup-body p:last-child {
    margin-bottom: 0;
}

.rb-lgpd-popup-body strong {
    color: #FF9500;
    font-weight: 600;
}

.rb-lgpd-popup-footer {
    padding: 12px 15px;
    background: #f8f8f8;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.rb-lgpd-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.rb-lgpd-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.rb-lgpd-btn-primary {
    background: #FF9500;
    color: white;
}

.rb-lgpd-btn-primary:hover {
    background: #FF7A00;
}

.rb-lgpd-btn-secondary {
    background: white;
    color: #333;
    border: 2px solid #ddd;
}

.rb-lgpd-btn-secondary:hover {
    background: #f5f5f5;
    border-color: #999;
}

.rb-lgpd-btn-tertiary {
    background: transparent;
    color: #FF9500;
    border: 2px solid #FF9500;
}

.rb-lgpd-btn-tertiary:hover {
    background: #FFF5E6;
}

/* Responsive */
@media (max-width: 768px) {
    .rb-lgpd-popup {
        padding: 10px;
    }
    
    .rb-lgpd-popup-content {
        max-width: 100%;
    }
    
    .rb-lgpd-popup-header {
        padding: 10px 12px;
    }
    
    .rb-lgpd-popup-header h3 {
        font-size: 13px;
    }
    
    .rb-lgpd-popup-body {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .rb-lgpd-popup-footer {
        padding: 10px 12px;
        gap: 6px;
        flex-direction: row;
    }
    
    .rb-lgpd-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .rb-lgpd-popup-header {
        padding: 10px 12px;
    }
    
    .rb-lgpd-popup-header h3 {
        font-size: 12px;
    }
    
    .rb-lgpd-popup-close {
        width: 20px;
        height: 20px;
        font-size: 18px;
    }
    
    .rb-lgpd-popup-body {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    .rb-lgpd-popup-footer {
        padding: 10px 12px;
    }
    
    .rb-lgpd-btn {
        font-size: 11px;
        padding: 5px 10px;
    }
}
