/* Mensagens Modernas para Credenciados */
.dv-modern-message-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
}

.dv-modern-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dv-card-header {
    padding: 30px 30px 20px;
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.dv-card-header.error {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.dv-card-header.warning {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.dv-card-header.blocked {
    background: linear-gradient(135deg, #f54ea2 0%, #ff7676 100%);
}

.dv-header-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.dv-header-icon .dashicons {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: white;
}

.dv-card-header h2 {
    color: white;
    font-size: 28px;
    margin: 0 0 10px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.dv-card-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    margin: 0;
}

.dv-card-body {
    padding: 30px;
    background: #ffffff;
}

.dv-info-block {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.dv-info-block.error {
    border-left-color: #f5576c;
}

.dv-info-block.warning {
    border-left-color: #fa709a;
}

.dv-info-block.blocked {
    border-left-color: #f54ea2;
}

.dv-info-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.dv-info-item:last-child {
    border-bottom: none;
}

.dv-info-label {
    width: 100px;
    font-weight: 600;
    color: #4a5568;
}

.dv-info-value {
    flex: 1;
    color: #2d3748;
}

.dv-info-highlight {
    background: #ebf4ff;
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
}

.dv-info-highlight p {
    margin: 5px 0;
    color: #2c3e50;
    font-size: 14px;
    line-height: 1.6;
}

.dv-id-badge {
    background: #4299e1;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-block;
    margin-left: 10px;
}

.dv-support-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128C7E 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    color: white;
    margin: 20px 0;
}

.dv-whatsapp-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.dv-whatsapp-icon .dashicons {
    width: 48px;
    height: 48px;
    font-size: 48px;
    color: white;
}

.dv-support-whatsapp h3 {
    color: white;
    font-size: 20px;
    margin: 10px 0;
}

.dv-support-whatsapp p {
    color: rgba(255, 255, 255, 0.9);
    margin: 10px 0;
    font-size: 15px;
}

.dv-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: white;
    color: #25d366;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dv-whatsapp-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border-color: white;
    background: transparent;
    color: white;
}

.dv-whatsapp-button .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.dv-id-badge {
    background: #4299e1;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    margin-left: 8px;
    display: inline-block;
}

.dv-card-footer {
    padding: 20px 30px 30px;
    text-align: center;
    background: #f8f9fa;
    border-top: 1px solid #edf2f7;
}

.dv-btn-back {
    display: inline-block;
    background: #4299e1;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(50, 50, 93, 0.11), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.dv-btn-back:hover {
    background: #3182ce;
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1), 0 3px 6px rgba(0, 0, 0, 0.08);
}

.dv-btn-blocked {
    background: linear-gradient(135deg, #f54ea2 0%, #ff7676 100%);
}

.dv-btn-blocked:hover {
    background: linear-gradient(135deg, #e63e92 0%, #ff6565 100%);
}

/* Loading Animation */
.dv-loading-spinner {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0,0,0,.1);
    border-radius: 50%;
    border-top-color: #667eea;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .dv-modern-message-container {
        margin: 20px 15px;
    }
    
    .dv-card-header {
        padding: 20px;
    }
    
    .dv-card-header h2 {
        font-size: 24px;
    }
    
    .dv-card-body,
    .dv-card-footer {
        padding: 20px;
    }
    
    .dv-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .dv-info-label {
        width: 100%;
    }
}
/* ==============================================
   CRONÔMETRO DE DESBLOQUEIO AUTOMÁTICO
   ============================================== */

.dv-blocked-container {
    max-width: 500px;
    margin: 20px auto 0;
}

.dv-blocked-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #fee2e2;
}

/* Timer Container */
.dv-timer-container {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 25px;
    border-radius: 16px;
    margin: 20px 0;
    border: 2px solid #f59e0b;
}

.dv-timer-label {
    font-size: 16px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 15px;
    text-align: center;
}

/* Display do Timer */
.dv-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.dv-timer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 70px;
}

.dv-timer-value {
    font-size: 36px;
    font-weight: 700;
    color: #dc2626;
    line-height: 1.2;
    font-family: 'Courier New', monospace;
}

.dv-timer-item .dv-timer-label {
    font-size: 12px;
    margin-top: 5px;
    color: #666;
    font-weight: 400;
}

.dv-timer-separator {
    font-size: 36px;
    font-weight: 700;
    color: #92400e;
    margin-top: -10px;
}

/* Barra de Progresso */
.dv-progress-container {
    margin: 20px 0;
}

.dv-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.dv-progress-bar-bg {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.dv-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #dc2626);
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Data e informações */
.dv-unlock-date {
    font-size: 14px;
    color: #666;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed #f59e0b;
    text-align: center;
}

.dv-unlock-note {
    font-size: 13px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
    text-align: center;
}

/* Estados especiais */
.dv-timer-expired {
    background: #fee2e2;
    border-color: #dc2626;
    text-align: center;
    padding: 30px;
}

.dv-expired-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.dv-expired-help {
    color: #dc2626;
    font-weight: 600;
    margin-top: 10px;
}

.dv-timer-disabled {
    background: #f3f4f6;
    border-color: #9ca3af;
    text-align: center;
    padding: 30px;
}

.dv-disabled-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

/* Suporte WhatsApp no bloqueio */
.dv-support-whatsapp-blocked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #f0f9ff;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
}

.dv-whatsapp-icon-small .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #25d366;
}

.dv-support-text p {
    margin: 0 0 5px 0;
    color: #666;
}

.dv-whatsapp-link-blocked {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dv-whatsapp-link-blocked:hover {
    background: #128C7E;
    transform: scale(1.05);
}

/* ==============================================
   RESPONSIVIDADE DO CRONÔMETRO
   ============================================== */

@media (max-width: 480px) {
    .dv-timer {
        gap: 5px;
    }
    
    .dv-timer-item {
        min-width: 50px;
    }
    
    .dv-timer-value {
        font-size: 28px;
    }
    
    .dv-timer-separator {
        font-size: 28px;
    }
    
    .dv-support-whatsapp-blocked {
        flex-direction: column;
        text-align: center;
    }
    
    .dv-blocked-card {
        padding: 15px;
    }
    
    .dv-timer-container {
        padding: 15px;
    }
}

@media (max-width: 360px) {
    .dv-timer-item {
        min-width: 40px;
    }
    
    .dv-timer-value {
        font-size: 22px;
    }
    
    .dv-timer-separator {
        font-size: 22px;
    }
}
