/**
 * Milano Eyes Fashion Reward System - Modal Dialog Styles
 * 
 * Black & Gold theme modals for reward system
 * 
 * @package Milano_Eyes_Reward
 * @version 1.0.0
 */

/* Modal Container */
.mef-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: mef-fade-in 0.3s ease;
}

.mef-modal.active {
    display: flex;
}

/* Modal Content */
.mef-modal-content {
    background: linear-gradient(145deg, rgba(15, 15, 15, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 2px solid var(--mef-primary);
    border-radius: var(--mef-border-radius);
    padding: 25px;
    width: 90%;
    max-width: 500px;
    box-shadow: var(--mef-gold-shadow), 0 10px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-20px);
    animation: mef-slide-in 0.3s ease forwards;
}

/* Modal Header */
.mef-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 15px;
}

.mef-modal-title {
    color: var(--mef-primary);
    font-size: 20px;
    font-weight: bold;
    margin: 0;
    background: var(--mef-gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mef-modal-close {
    color: var(--mef-text-secondary);
    font-size: 24px;
    cursor: pointer;
    transition: var(--mef-transition);
}

.mef-modal-close:hover {
    color: var(--mef-primary);
    transform: rotate(90deg);
}

/* Modal Body */
.mef-modal-body {
    margin-bottom: 20px;
    color: var(--mef-text);
}

.mef-modal-body p {
    margin: 0 0 15px;
    line-height: 1.5;
}

#mef-redeem-points {
    font-weight: bold;
    color: var(--mef-primary);
}

/* Modal Footer */
.mef-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

/* Button Styles */
.mef-button {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--mef-transition);
    border: none;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mef-button-primary {
    background: var(--mef-gold-gradient);
    color: #000;
    border: 1px solid var(--mef-primary);
}

.mef-button-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.mef-button-secondary {
    background: transparent;
    color: var(--mef-text);
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.mef-button-secondary:hover {
    border-color: var(--mef-primary);
    color: var(--mef-primary);
}

/* Animations */
@keyframes mef-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes mef-slide-in {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Responsive Adjustments */
@media screen and (max-width: 600px) {
    .mef-modal-content {
        width: 95%;
        padding: 20px;
    }
    
    .mef-modal-title {
        font-size: 18px;
    }
    
    .mef-button {
        padding: 8px 15px;
        font-size: 13px;
    }
}
