/**
 * Stiluri pentru paginile de mentenanță - DARK THEME (Adaptat la design-ul site-ului)
 * Folosit pentru /mentenanta și /login-admin
 */

/* ============================================
   RESET & GENERAL
============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.ovp-maintenance-body,
body.ovp-admin-login-body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #0a0e1a;
    color: #f1f5f9;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ============================================
   BACKGROUND - IDENTIC CU SITE-UL
============================================ */
.ovp-maintenance-bg,
.ovp-admin-login-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, #0a0e1a 0%, #0f1419 50%, #0a0e1a 100%);
    z-index: 0;
    pointer-events: none;
}

/* Subtle grid pattern overlay */
.ovp-maintenance-bg::before,
.ovp-admin-login-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

/* Red glow effect */
.ovp-maintenance-bg::after,
.ovp-admin-login-bg::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(205, 2, 2, 0.15) 0%, transparent 70%);
    animation: pulseGlow 8s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.1); }
}

/* ============================================
   WRAPPER & CONTAINER
============================================ */
.ovp-maintenance-wrapper,
.ovp-admin-login-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    z-index: 1;
}

.ovp-maintenance-container,
.ovp-admin-login-container {
    width: 100%;
    max-width: 900px; /* Mărit de la 700px la 900px */
}

/* ============================================
   MAIN CARD - DARK GLASS EFFECT
============================================ */
.ovp-maintenance-card,
.ovp-admin-login-card {
    background: rgba(15, 20, 31, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 
        0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(205, 2, 2, 0.1);
    padding: 40px 40px 30px 40px; /* Redus de la 50px la 40px/30px */
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ============================================
   HEADER (LOGO & SITE NAME)
============================================ */
.ovp-maintenance-header,
.ovp-admin-login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px; /* Redus de la 35px */
}

.ovp-maintenance-logo,
.ovp-admin-login-logo {
    height: 60px;
    width: auto;
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(205, 2, 2, 0.3));
}

.ovp-maintenance-site-name,
.ovp-admin-login-site-name {
    font-size: 22px;
    font-weight: 700;
    color: #CD0202;
    margin: 0;
    text-shadow: 0 0 20px rgba(205, 2, 2, 0.5);
}

/* ============================================
   TITLES & DESCRIPTIONS
============================================ */
.ovp-maintenance-title,
.ovp-admin-login-title {
    font-size: 32px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 20px 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ovp-admin-login-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.ovp-admin-login-title .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #CD0202;
    filter: drop-shadow(0 0 10px rgba(205, 2, 2, 0.5));
}

.ovp-highlight {
    color: #CD0202;
    position: relative;
    text-shadow: 0 0 20px rgba(205, 2, 2, 0.6);
}

.ovp-maintenance-description,
.ovp-admin-login-description {
    font-size: 16px;
    color: #94a3b8;
    margin: 0 0 30px 0; /* Redus de la 40px */
    line-height: 1.6;
}

/* ============================================
   COUNTDOWN TIMER - DARK GLASS
============================================ */
.ovp-maintenance-timer {
    margin: 30px 0 25px 0; /* Redus de la 40px */
    padding: 25px; /* Redus de la 30px */
    background: rgba(10, 14, 26, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(205, 2, 2, 0.2);
    box-shadow: 0 0 30px rgba(205, 2, 2, 0.1);
}

.ovp-timer-title {
    font-size: 16px;
    font-weight: 600;
    color: #fbbf24;
    margin: 0 0 20px 0;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.3);
}

.ovp-countdown {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ovp-countdown-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.ovp-countdown-value {
    font-size: 48px;
    font-weight: 700;
    color: #CD0202;
    line-height: 1;
    min-width: 80px;
    background: rgba(15, 20, 31, 0.8);
    border-radius: 12px;
    padding: 15px 10px;
    border: 1px solid rgba(205, 2, 2, 0.3);
    box-shadow: 
        0 0 20px rgba(205, 2, 2, 0.3),
        inset 0 0 20px rgba(205, 2, 2, 0.05);
    transition: all 0.3s ease;
}

/* Animatie pentru actualizare valoare */
.ovp-countdown-value.updating {
    transform: scale(1.1);
    box-shadow: 
        0 0 30px rgba(205, 2, 2, 0.6),
        inset 0 0 20px rgba(205, 2, 2, 0.1);
    background: rgba(205, 2, 2, 0.2);
}

.ovp-countdown-label {
    font-size: 13px;
    font-weight: 600;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ovp-countdown-sep {
    font-size: 48px;
    font-weight: 700;
    color: #CD0202;
    line-height: 1;
    text-shadow: 0 0 20px rgba(205, 2, 2, 0.5);
}

/* ============================================
   FEATURES PREVIEW - DARK GLASS
============================================ */
.ovp-newsletter-section {
    margin: 25px 0; /* Redus de la 40px */
    padding: 25px; /* Redus de la 30px */
    background: rgba(10, 14, 26, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(205, 2, 2, 0.2);
    box-shadow: 0 0 30px rgba(205, 2, 2, 0.1);
}

.ovp-newsletter-title {
    font-size: 20px;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.ovp-newsletter-title .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #CD0202;
}

.ovp-newsletter-desc {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 25px 0;
    text-align: center;
}

.ovp-newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.ovp-newsletter-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Schimbat de la 1fr la 1fr 1fr */
    gap: 12px;
    margin-bottom: 15px;
}

.ovp-newsletter-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: rgba(10, 14, 26, 0.6);
    color: #f1f5f9;
    transition: all 0.2s ease;
}

.ovp-newsletter-input:focus {
    outline: none;
    border-color: #CD0202;
    box-shadow: 0 0 0 3px rgba(205, 2, 2, 0.2);
    background: rgba(15, 20, 31, 0.8);
}

.ovp-newsletter-input::placeholder {
    color: #64748b;
}

.ovp-newsletter-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    background: linear-gradient(135deg, #CD0202 0%, #a50101 100%);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(205, 2, 2, 0.4);
    transition: all 0.3s ease;
}

.ovp-newsletter-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #e00202 0%, #CD0202 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(205, 2, 2, 0.6);
}

.ovp-newsletter-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.ovp-newsletter-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.ovp-newsletter-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.ovp-newsletter-message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.ovp-newsletter-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.ovp-newsletter-note {
    margin: 15px 0 0 0;
    font-size: 12px;
    color: #64748b;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ovp-newsletter-note .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* ============================================
   FEATURES PREVIEW - DARK GLASS
============================================ */
.ovp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 25px 0 0 0; /* Redus de la 40px și eliminat margin bottom */
}

.ovp-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px; /* Redus de la 20px */
    background: rgba(10, 14, 26, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ovp-feature:hover {
    background: rgba(15, 20, 31, 0.7);
    transform: translateY(-2px);
    border-color: rgba(205, 2, 2, 0.3);
    box-shadow: 0 5px 20px rgba(205, 2, 2, 0.2);
}

.ovp-feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #CD0202 0%, #a50101 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(205, 2, 2, 0.5);
}

.ovp-feature-icon .dashicons {
    font-size: 26px;
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.ovp-feature-text {
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
}

/* ============================================
   LOGIN FORM STYLES - DARK
============================================ */
.ovp-admin-login-form {
    margin: 40px 0 30px 0;
}

.ovp-login-step {
    animation: fadeIn 0.3s ease;
}

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

.ovp-form-group {
    margin-bottom: 20px;
    text-align: left;
}

.ovp-form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.ovp-form-label .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: #CD0202;
}

.ovp-form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.2s ease;
    background: rgba(10, 14, 26, 0.6);
    color: #f1f5f9;
}

.ovp-form-input:focus {
    outline: none;
    border-color: #CD0202;
    box-shadow: 
        0 0 0 3px rgba(205, 2, 2, 0.2),
        0 0 20px rgba(205, 2, 2, 0.3);
    background: rgba(15, 20, 31, 0.8);
}

.ovp-form-input::placeholder {
    color: #64748b;
}

.ovp-form-input-center {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 8px;
}

/* ============================================
   BUTTONS - DARK WITH GLOW
============================================ */
.ovp-btn-primary,
.ovp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ovp-btn-primary {
    background: linear-gradient(135deg, #CD0202 0%, #a50101 100%);
    color: #ffffff;
    box-shadow: 
        0 0 20px rgba(205, 2, 2, 0.4),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.ovp-btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #e00202 0%, #CD0202 100%);
    transform: translateY(-2px);
    box-shadow: 
        0 0 30px rgba(205, 2, 2, 0.6),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

.ovp-btn-secondary {
    background: rgba(15, 20, 31, 0.8);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ovp-btn-secondary:hover:not(:disabled) {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
}

.ovp-btn-primary:disabled,
.ovp-btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.ovp-btn-full {
    width: 100%;
    margin-top: 10px;
}

.ovp-btn-primary .dashicons,
.ovp-btn-secondary .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

/* ============================================
   MESSAGES - DARK
============================================ */
.ovp-message {
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(10px);
}

.ovp-message::before {
    font-family: dashicons;
    font-size: 20px;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.ovp-message-success {
    background: rgba(34, 197, 94, 0.15);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.ovp-message-success::before {
    content: '\f147'; /* dashicons-yes */
    color: #22c55e;
}

.ovp-message-error {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.ovp-message-error::before {
    content: '\f534'; /* dashicons-warning */
    color: #ef4444;
}

/* ============================================
   2FA INFO - DARK
============================================ */
.ovp-2fa-info {
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    backdrop-filter: blur(10px);
}

.ovp-2fa-info .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: #60a5fa;
    flex-shrink: 0;
}

.ovp-2fa-info p {
    margin: 0;
    color: #bfdbfe;
    font-size: 14px;
    line-height: 1.5;
}

/* ============================================
   SPIN ANIMATION
============================================ */
.spin {
    animation: spin 1s linear infinite;
}

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

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .ovp-maintenance-card,
    .ovp-admin-login-card {
        padding: 40px 25px;
    }
    
    .ovp-maintenance-title,
    .ovp-admin-login-title {
        font-size: 26px;
    }
    
    .ovp-maintenance-description,
    .ovp-admin-login-description {
        font-size: 15px;
    }
    
    .ovp-countdown {
        gap: 10px;
    }
    
    .ovp-countdown-value {
        font-size: 32px;
        min-width: 55px;
        padding: 10px 5px;
    }
    
    .ovp-countdown-sep {
        font-size: 32px;
    }
    
    .ovp-countdown-label {
        font-size: 11px;
    }
    
    .ovp-newsletter-section {
        padding: 25px 20px;
    }
    
    .ovp-newsletter-title {
        font-size: 18px;
    }
    
    .ovp-newsletter-inputs {
        grid-template-columns: 1fr; /* Revin pe o coloană pe mobile */
    }
    
    .ovp-features {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ovp-form-input-center {
        font-size: 20px;
        letter-spacing: 6px;
    }
}

@media (max-width: 480px) {
    .ovp-maintenance-wrapper,
    .ovp-admin-login-wrapper {
        padding: 15px;
    }
    
    .ovp-maintenance-card,
    .ovp-admin-login-card {
        padding: 30px 20px;
    }
    
    .ovp-countdown {
        flex-direction: column;
        gap: 10px;
    }
    
    .ovp-countdown-sep {
        display: none;
    }
}
