/* Event Notification Popup Styles */

.enp-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

.enp-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease-out;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.enp-content {
    padding: 40px;
}

.enp-content h3 {
    margin: 0 0 25px 0;
    font-size: 22px;
    color: #1a1a1a;
    text-align: center;
    line-height: 1.5;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.enp-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.enp-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    position: relative;
}

.enp-btn-primary {
    background-color: #4a5568;
    color: white;
}

.enp-btn-primary:hover {
    background-color: #2d3748;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.enp-btn-secondary {
    background-color: #f7fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.enp-btn-secondary:hover {
    background-color: #edf2f7;
    border-color: #cbd5e0;
}

/* Form Styles */
.enp-form-group {
    margin-bottom: 22px;
}

.enp-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.enp-form-group input[type="text"],
.enp-form-group input[type="tel"],
.enp-form-group input[type="email"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background-color: #fafbfc;
}

.enp-form-group input:hover {
    border-color: #cbd5e0;
}

.enp-form-group input:focus {
    outline: none;
    border-color: #4a5568;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(74, 85, 104, 0.1);
}

/* Checkbox Styles */
.enp-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.enp-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.enp-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    -webkit-appearance: none;
    appearance: none;
    border: 2px solid #cbd5e0;
    border-radius: 4px;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.enp-checkbox input[type="checkbox"]:hover {
    border-color: #a0aec0;
}

.enp-checkbox input[type="checkbox"]:checked {
    background-color: #4a5568;
    border-color: #4a5568;
}

.enp-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.enp-checkbox span {
    font-size: 15px;
    color: #2d3748;
}

/* Message Styles */
.enp-message {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 8px;
    text-align: center;
    display: none;
    font-size: 14px;
}

.enp-message.success {
    background-color: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.enp-message.error {
    background-color: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* Success Message Styles */
.enp-success-message {
    text-align: center;
    padding: 50px 20px;
}

.enp-success-message h3 {
    color: #166534;
    font-size: 24px;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

/* Subtle Icon */
.enp-success-message::before {
    content: "✓";
    display: block;
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background-color: #f0fdf4;
    border-radius: 50%;
    line-height: 50px;
    font-size: 24px;
    color: #166534;
    font-weight: bold;
}

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

@keyframes slideIn {
    from {
        transform: translate(-50%, -48%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

/* Loading State */
.enp-btn[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Design */
@media (max-width: 600px) {
    .enp-popup {
        width: 95%;
        border-radius: 12px;
    }
    
    .enp-content {
        padding: 30px 20px;
    }
    
    .enp-content h3 {
        font-size: 20px;
    }
    
    .enp-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .enp-btn {
        width: 100%;
    }
}

/* Accessibility */
.enp-form-group input:focus-visible,
.enp-checkbox input:focus-visible,
.enp-btn:focus-visible {
    outline: 2px solid #4a5568;
    outline-offset: 2px;
}

/* Scrollbar Styling */
.enp-popup::-webkit-scrollbar {
    width: 6px;
}

.enp-popup::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.enp-popup::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
}

.enp-popup::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}