/* Coupon Modal Styles */
.coupon-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.coupon-modal.show {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    animation: fadeIn 0.3s ease forwards;
}

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

.coupon-modal-content {
    position: relative;
    background-color: #1a1a1a;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
    color: #fff;
    overflow: hidden;
    animation: slideIn 0.4s ease forwards;
}

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

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #aaa;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 1;
}

.close-modal:hover {
    color: #fff;
}

.coupon-header {
    background: linear-gradient(45deg, #FF1493, #00FFFF);
    padding: 20px;
    text-align: center;
}

.coupon-header h2 {
    margin: 0;
    color: #fff;
    font-size: 1.8rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.coupon-body {
    padding: 30px 20px;
    text-align: center;
}

.coupon-code {
    font-size: 3rem;
    font-weight: bold;
    color: #00FFFF;
    background-color: #222;
    margin: 20px auto;
    padding: 15px 20px;
    border-radius: 5px;
    max-width: 200px;
    border: 2px dashed #00FFFF;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
    letter-spacing: 2px;
}

.coupon-discount-applied {
    color: #30d158;
    font-size: 1rem;
    font-weight: bold;
    margin-top: 10px;
}

.coupon-instruction {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 10px;
}

.coupon-footer {
    padding: 0 20px 25px;
    text-align: center;
}

.shop-now-btn {
    background-color: #00FFFF;
    color: #000;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shop-now-btn:hover {
    background-color: #FF1493;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.3);
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .coupon-modal-content {
        width: 95%;
    }
    
    .coupon-header h2 {
        font-size: 1.5rem;
    }
    
    .coupon-code {
        font-size: 2.5rem;
        padding: 10px 15px;
    }
}