/* Coupon Code Section Styles */
#coupon-section {
    margin-top: 1.5rem;
}

.coupon-input-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.coupon-input-wrapper {
    display: flex;
    gap: 0.75rem;
    align-items: stretch;
}

.coupon-input-wrapper input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.coupon-input-wrapper input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
    outline: none;
}

.coupon-input-wrapper input::placeholder {
    font-weight: 400;
    letter-spacing: normal;
}

.apply-coupon-btn {
    background: linear-gradient(135deg, #ec4899, #db2777);
    color: white;
    border: none;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.apply-coupon-btn:hover {
    background: linear-gradient(135deg, #db2777, #be185d);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.3);
}

.apply-coupon-btn:active {
    transform: translateY(0);
}

.apply-coupon-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Coupon Message Styles */
.coupon-message {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 2rem;
    font-weight: 600;
    display: none;
}

.coupon-message.show {
    display: block;
}

.coupon-message.success {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #065f46;
    border: 2px solid #10b981;
}

.coupon-message.error {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #991b1b;
    border: 2px solid #ef4444;
}

.coupon-message i {
    margin-left: 0.5rem;
}

/* Coupon Applied Display */
.coupon-applied {
    background: linear-gradient(135deg, #fdf2f8, #fce7f3);
    border: 2px solid #ec4899;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coupon-success {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.coupon-success i {
    color: #10b981;
    font-size: 1.25rem;
}

.coupon-success span {
    font-weight: 600;
    color: #be185d;
}

#coupon-discount-amount {
    color: #10b981;
    font-size: 1.1rem;
    margin-right: 0.5rem;
}

.remove-coupon-btn {
    background: #ef4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remove-coupon-btn:hover {
    background: #dc2626;
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .coupon-input-wrapper {
        flex-direction: column;
    }
    
    .apply-coupon-btn {
        width: 100%;
        justify-content: center;
    }
    
    .coupon-applied {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .remove-coupon-btn {
        width: 100%;
        justify-content: center;
    }

    .coupon-message {
        font-size: 2rem !important;
        font-weight: 600 !important;
    }
}
