/* Popover Moderno - Sativar Validation */
.sativar-popover-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sativar-popover-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sativar-popover-content {
    background: rgba(255, 255, 255, 0.95);
    width: 100%;
    max-width: 420px;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.sativar-popover-overlay.active .sativar-popover-content {
    transform: translateY(0) scale(1);
}

.sativar-popover-header {
    margin-bottom: 24px;
    text-align: center;
}

.sativar-popover-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.sativar-popover-subtitle {
    font-size: 0.875rem;
    color: #666;
    word-break: break-all;
}

.sativar-popover-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f3f4f6;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.2s;
}

.sativar-popover-close:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: rotate(90deg);
}

.sativar-calc-group {
    margin-bottom: 20px;
}

.sativar-calc-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.sativar-calc-input {
    width: 100%;
    padding: 12px 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    font-size: 0.9375rem;
    color: #111827;
    transition: all 0.2s;
}

.sativar-calc-input:focus {
    outline: none;
    border-color: #10b981;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.sativar-expiry-box {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 16px;
    padding: 20px;
    color: white;
    margin: 24px 0;
    text-align: center;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3);
}

.sativar-expiry-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 4px;
}

.sativar-expiry-date {
    font-size: 1.5rem;
    font-weight: 800;
}

.sativar-popover-footer {
    display: flex;
    gap: 12px;
}

.sativar-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.sativar-btn-secondary {
    background: #f3f4f6;
    color: #4b5563;
}

.sativar-btn-secondary:hover {
    background: #e5e7eb;
}

.sativar-btn-primary {
    background: #111827;
    color: white;
}

.sativar-btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
