/* Trendyol Style Coupons - Frontend Styles */

/* Collect Button Wrapper */
.tsc-collect-wrapper {
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    text-align: center;
}

.tsc-collect-button {
    display: inline-block;
    padding: 12px 30px;
    background: #fff;
    color: #667eea;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tsc-collect-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.tsc-collect-button:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    transform: none;
}

.tsc-collect-button .tsc-icon {
    font-size: 20px;
    margin-right: 5px;
}

.tsc-counter {
    margin-top: 10px;
    color: #fff;
    font-size: 13px;
}

.tsc-login-notice {
    color: #fff;
    margin: 0;
    font-size: 14px;
}

/* My Coupons Display */
.tsc-my-coupons {
    margin: 20px 0;
}

.tsc-my-coupons h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.tsc-coupon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.tsc-coupon-item:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.tsc-coupon-item.used {
    opacity: 0.6;
    background: #f5f5f5;
}

.tsc-coupon-item.expired {
    opacity: 0.5;
    background: #fff5f5;
    border-color: #ffcccc;
}

.tsc-coupon-item.active {
    border-color: #4caf50;
    background: #f1f8f4;
}

.tsc-coupon-code {
    flex: 0 0 auto;
}

.tsc-coupon-code code {
    display: inline-block;
    padding: 8px 15px;
    background: #667eea;
    color: #fff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
}

.tsc-coupon-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin: 0 20px;
}

.tsc-coupon-details span {
    display: block;
    margin: 2px 0;
    font-size: 13px;
}

.tsc-discount {
    font-size: 18px !important;
    font-weight: bold;
    color: #4caf50;
}

.tsc-copy-coupon {
    padding: 8px 20px;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tsc-copy-coupon:hover {
    background: #764ba2;
}

.tsc-no-coupons {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 16px;
}

/* New Customer Notice */
.tsc-new-customer-notice {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #fff !important;
    border: none !important;
    padding: 15px 20px !important;
    border-radius: 8px !important;
}

.tsc-new-customer-notice strong {
    font-size: 18px;
}

/* Bulk Discount Notice */
.tsc-bulk-discount-notice {
    margin-top: 10px;
    padding: 10px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 6px;
    font-size: 13px;
    color: #856404;
}

/* Success Messages */
.tsc-success-message {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4caf50;
    color: #fff;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tsc-coupon-item {
        flex-direction: column;
        text-align: center;
    }

    .tsc-coupon-details {
        margin: 15px 0;
    }

    .tsc-copy-coupon {
        width: 100%;
    }
}
