#avp-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.95);
    display: flex; align-items: center; justify-content: center;
    z-index: 999999;
}
#avp-popup {
    text-align: center;
    background: #000;
    color: #fff;
    padding: 30px;
    max-width: 400px;
    border-radius: 8px;
}
.avp-logo {
    max-width: 150px;
    margin-bottom: 15px;
}
.avp-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    font-size: 16px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
.avp-btn.green { background: #28a745; color: #fff; }
.avp-btn.red { background: #dc3545; color: #fff; }
.avp-warning {
    margin-top: 15px;
    font-size: 12px;
    color: #ccc;
}


/* Professional Input Field */
.avp-input {
    display: block;
    width: -webkit-fill-available;
    padding: 14px 16px;
    margin: 15px 0;
    font-size: 16px;
    border-radius: 8px;
    border: 2px solid #444;
    background: #1a1a1a;
    color: #fff;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

/* Placeholder style */
.avp-input::placeholder {
    color: #888;
    font-size: 14px;
}

/* Focus effect */
.avp-input:focus {
    border-color: #28a745;
    background: #111;
    box-shadow: 0 0 8px rgba(40, 167, 69, 0.6);
}

/* Calendar icon styling */
.avp-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}



/* Flatpickr customization */
.flatpickr-calendar {
    background: #1a1a1a;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
}
.flatpickr-day {
    color: #fff;
}
.flatpickr-day.selected {
    background: #28a745;
    color: #fff;
}


/* Ensure Flatpickr calendar is above the overlay */
.flatpickr-calendar {
    z-index: 9999999 !important; /* higher than your overlay */
}
