/* Estilos do Welcome Popup - Movidos de welcome-popup-fixed.js para CSS externo */
/* CSP Compliant - Sem estilos inline */

/* Overlay do Popup */
#dnr-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#dnr-popup-overlay.show {
    opacity: 1;
}

/* Conteúdo do Popup */
#dnr-popup-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: #ff6600 #f0f0f0;
}

#dnr-popup-overlay.show #dnr-popup-content {
    transform: scale(1);
}

/* Header do Popup */
.dnr-popup-header {
    background: linear-gradient(135deg, #ff6600, #ff8533);
    color: white;
    padding: 25px;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.dnr-popup-header img {
    height: 40px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1);
}

.dnr-popup-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Conteúdo Principal */
.dnr-popup-main {
    padding: 30px;
}

.dnr-popup-icon-center {
    text-align: center;
    margin-bottom: 20px;
}

.dnr-popup-icon-center i {
    font-size: 3rem;
    color: #ff6600;
    margin-bottom: 15px;
}

.dnr-popup-title {
    text-align: center;
    color: #333;
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.dnr-popup-description {
    text-align: center;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1rem;
}

/* Features List */
.dnr-popup-features {
    margin-bottom: 25px;
}

.dnr-popup-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff6600;
    margin-bottom: 10px;
}

.dnr-popup-feature-item:last-child {
    margin-bottom: 0;
}

.dnr-popup-feature-item i {
    color: #ff6600;
    font-size: 1.1rem;
    width: 20px;
}

.dnr-popup-feature-item span {
    color: #333;
    font-weight: 500;
}

/* LGPD Notice */
.dnr-popup-lgpd {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    border: 2px solid #2196f3;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.2);
}

.dnr-popup-lgpd-content {
    color: #1565c0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.dnr-popup-lgpd-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 700;
}

.dnr-popup-lgpd-title i {
    font-size: 1.2rem;
}

.dnr-popup-lgpd-section {
    margin-bottom: 12px;
}

.dnr-popup-lgpd-box {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid #2196f3;
    border-radius: 6px;
    padding: 12px;
    margin-top: 15px;
}

.dnr-popup-lgpd-box strong {
    color: #1565c0;
}

.dnr-popup-lgpd-box span {
    font-size: 0.9rem;
}

.dnr-popup-lgpd-contact {
    margin-top: 12px;
    font-size: 0.9rem;
}

/* Security Notice */
.dnr-popup-security {
    padding: 20px;
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    border: 2px solid #ffc107;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.dnr-popup-security-content {
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.6;
}

.dnr-popup-security-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #d63031;
}

.dnr-popup-security-title i {
    font-size: 1.2rem;
}

.dnr-popup-security-section {
    margin-bottom: 12px;
}

.dnr-popup-security-box {
    background: rgba(214, 51, 132, 0.1);
    border: 1px solid #d63384;
    border-radius: 6px;
    padding: 10px;
    margin-top: 15px;
}

.dnr-popup-security-box strong {
    color: #d63031;
}

.dnr-popup-security-box span {
    font-weight: 600;
}

.dnr-popup-security-link {
    color: #d63031;
    text-decoration: none;
}

/* Button Container */
.dnr-popup-button-container {
    margin-bottom: 20px;
}

.dnr-popup-confirm-btn {
    background: linear-gradient(135deg, #ff6600, #ff8533);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
}

.dnr-popup-confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.4);
    background: linear-gradient(135deg, #e55a00, #ff6600);
}

.dnr-popup-confirm-btn:active {
    transform: translateY(0);
}

/* Links Container */
.dnr-popup-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.dnr-popup-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff6600;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dnr-popup-link:hover {
    background: #ff6600;
    color: white;
    text-decoration: none;
}

/* Success Message */
.dnr-popup-success {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    z-index: 1000001;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Scrollbar Styling */
#dnr-popup-content::-webkit-scrollbar {
    width: 8px;
}

#dnr-popup-content::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

#dnr-popup-content::-webkit-scrollbar-thumb {
    background: #ff6600;
    border-radius: 4px;
}

#dnr-popup-content::-webkit-scrollbar-thumb:hover {
    background: #e55a00;
}

/* Animação Shake */
@keyframes shake {
    0%, 100% { transform: scale(1) translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: scale(1) translateX(-5px); }
    20%, 40%, 60%, 80% { transform: scale(1) translateX(5px); }
}

#dnr-popup-content.shake {
    animation: shake 0.5s ease-in-out;
}

/* Loading state para botão */
.dnr-popup-confirm-btn.loading {
    pointer-events: none;
    opacity: 0.8;
}

/* Fade out para mensagem de sucesso */
.dnr-popup-success.fade-out {
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.5s ease;
}

/* Security link específico */
.dnr-popup-security-link {
    color: #d63031;
    text-decoration: none;
}

.dnr-popup-security-link:hover {
    text-decoration: underline;
}

