/* Coupon Modal Styles */
.coupon-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.coupon-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease-out;
}

.coupon-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 90%;
    position: relative;
    transform: scale(0.7);
    animation: modalSlideIn 0.3s ease-out forwards;
}

.coupon-header {
    text-align: center;
    padding: 30px 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.coupon-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.coupon-title {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 0 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.coupon-description {
    font-size: 1.1rem;
    margin: 0;
}

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

.coupon-code-section {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 25px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.coupon-code-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.coupon-code {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 10px;
    margin: 10px 0;
    letter-spacing: 3px;
    border: 2px dashed rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.coupon-code:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.coupon-code.copied {
    background: rgba(46, 204, 113, 0.8);
    border-color: rgba(46, 204, 113, 0.6);
}

.copy-hint {
    font-size: 0.8rem;
    margin-top: 8px;
}

.coupon-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.coupon-btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 160px;
    justify-content: center;
}

.coupon-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.coupon-btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.coupon-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.coupon-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.coupon-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    line-height: 1;
    transition: all 0.3s ease;
}

.coupon-close:hover {
    color: white;
    transform: scale(1.1);
}

/* Multiple Coupons List */
.multiple-coupons-list {
    max-height: 300px;
    overflow-y: auto;
    margin: 20px 0;
}

.coupon-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin: 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.coupon-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.coupon-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.coupon-item-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.coupon-item-code {
    font-family: 'Courier New', monospace;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.coupon-item-description {
    font-size: 0.9rem;
}

/* Show Coupon Button for tool page */
.show-coupon-btn {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.3);
    margin: 10px 0;
    font-size: 1rem;
}

.show-coupon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(238, 90, 36, 0.4);
    color: white;
    text-decoration: none;
}

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

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .coupon-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .coupon-header, .coupon-body {
        padding: 20px;
    }
    
    .coupon-code {
        font-size: 1.5rem;
        padding: 12px 20px;
    }
    
    .coupon-actions {
        flex-direction: column;
    }
    
    .coupon-btn {
        width: 100%;
    }
}