
/* LEO Points Widget */
.leo-points-widget {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.leo-points-widget h3 {
    margin-top: 0;
    color: #333;
    font-size: 18px;
}

.leo-points-balance {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin: 15px 0;
}

.leo-points-balance-large {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 20px 0;
}

.leo-points-value {
    display: block;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.leo-points-balance-large .leo-points-value {
    font-size: 48px;
}

.leo-points-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
}

/* LEO Points Page */
.leo-points-page {
    max-width: 800px;
}

.leo-points-summary,
.leo-points-info,
.leo-points-history {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.leo-points-summary h3,
.leo-points-info h3,
.leo-points-history h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.leo-points-info p {
    margin: 10px 0;
}

.leo-points-info code {
    background: #f8f9fa;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #667eea;
}

/* LEO Orders Table */
.leo-orders-table {
    width: 100%;
    border-collapse: collapse;
}

.leo-orders-table th {
    background: #f8f9fa;
    font-weight: bold;
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid #dee2e6;
}

.leo-orders-table td {
    padding: 12px;
    border-bottom: 1px solid #e9ecef;
}

.leo-orders-table tr:hover {
    background: #f8f9fa;
}

/* LEO Order Points Section */
.leo-order-points {
    background: #f8f9fa;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.leo-order-points h2 {
    color: #667eea;
    margin-top: 0;
    font-size: 20px;
}

.leo-order-points table {
    width: 100%;
}

.leo-order-points th {
    text-align: left;
    padding: 8px 12px;
    width: 40%;
}

.leo-order-points td {
    padding: 8px 12px;
}

/* Shortcode Display */
.leo-points-shortcode {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 14px;
}

/* Checkout Field */
#leo_email_field {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

#leo_email_field h3 {
    color: #667eea;
    font-size: 18px;
    margin-top: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .leo-points-value {
        font-size: 28px;
    }
    
    .leo-points-balance-large .leo-points-value {
        font-size: 36px;
    }
    
    .leo-orders-table {
        font-size: 14px;
    }
    
    .leo-orders-table th,
    .leo-orders-table td {
        padding: 8px;
    }
}

/* LEO Points Redemption at Checkout */
.leo-checkout-section {
    background: #f8f9fa;
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.leo-checkout-section h3 {
    color: #667eea;
    margin-top: 0;
    font-size: 18px;
}

.leo-points-balance-text {
    font-size: 16px;
    margin-bottom: 15px;
}

.leo-points-value-text {
    color: #667eea;
    font-weight: bold;
}

.leo-redemption-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.leo-redemption-input label {
    font-weight: bold;
    margin: 0;
}

.leo-redemption-input input[type="number"] {
    width: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.leo-redemption-input .button {
    padding: 8px 16px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.leo-redemption-input .button:hover {
    background: #5568d3;
}

#leo-redemption-message {
    margin-top: 10px;
}

#leo-redemption-message .woocommerce-message,
#leo-redemption-message .woocommerce-error {
    padding: 10px 15px;
    margin: 0;
}

@media (max-width: 768px) {
    .leo-redemption-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .leo-redemption-input input[type="number"],
    .leo-redemption-input .button {
        width: 100%;
    }
}

