/**
 * Clubigo Public Styles
 * Popup and Floating Button Styles
 */

/* ===== POINTS DISPLAY STYLES ===== */

/* Product Points Container */
.tp-clubigo-product-points-container {
    margin: 15px 0;
    padding: 0;
}

/* Points Box Base Styles */
.tp-clubigo-points-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Member Points Box */
.tp-clubigo-points-box.member {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-color: #d1e7ff;
    color: #1e40af;
}

.tp-clubigo-points-box.member:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

/* Guest Points Box */
.tp-clubigo-points-box.guest {
    background: linear-gradient(135deg, #fefdf8 0%, #fef7e0 100%);
    border-color: #fed7aa;
    color: #92400e;
}

.tp-clubigo-points-box.guest:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(146, 64, 14, 0.15);
}

/* Points Icon */
.tp-clubigo-points-box .points-icon {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

/* Points Text */
.tp-clubigo-points-box .points-text {
    flex: 1;
    margin: 0;
}

/* Cart and Checkout Points */
.tp-clubigo-cart-points,
.tp-clubigo-checkout-points {
    border-top: 1px solid #e5e7eb;
}

.tp-clubigo-cart-points th,
.tp-clubigo-checkout-points th {
    font-weight: 600;
    color: #374151;
    padding: 12px 0;
}

.tp-clubigo-cart-points td,
.tp-clubigo-checkout-points td {
    padding: 12px 0;
    text-align: right;
}

/* Points Amount in Cart/Checkout */
.tp-clubigo-points-amount {
    font-weight: 600;
    color: #1e40af;
    font-size: 16px;
    margin-right: 5px;
}

.tp-clubigo-points-icon {
    font-size: 14px;
    opacity: 0.8;
}

/* Animation for Updates */
.tp-clubigo-points-updated {
    animation: pointsUpdate 1s ease-out;
}

@keyframes pointsUpdate {
    0% {
        transform: scale(1);
        background-color: #fef3c7;
    }
    50% {
        transform: scale(1.05);
        background-color: #fbbf24;
    }
    100% {
        transform: scale(1);
        background-color: transparent;
    }
}

/* RTL Support */
[dir="rtl"] .tp-clubigo-points-box {
    direction: rtl;
}

[dir="rtl"] .tp-clubigo-cart-points td,
[dir="rtl"] .tp-clubigo-checkout-points td {
    text-align: left;
}

[dir="rtl"] .tp-clubigo-points-amount {
    margin-right: 0;
    margin-left: 5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .tp-clubigo-points-box {
        padding: 10px 12px;
        font-size: 13px;
    }

    .tp-clubigo-points-box .points-icon {
        font-size: 14px;
    }

    .tp-clubigo-points-amount {
        font-size: 14px;
    }
}

/* Floating Button Styles */
.tp-clubigo-floating-button {
    position: fixed;
    z-index: 9999;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    user-select: none;
    direction: rtl;
}

.tp-clubigo-floating-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3) !important;
}

/* Floating Button Positions */
.tp-clubigo-floating-bottom_right {
    bottom: 20px;
    right: 20px;
}

.tp-clubigo-floating-bottom_left {
    bottom: 20px;
    left: 20px;
}

.tp-clubigo-floating-top_right {
    top: 20px;
    right: 20px;
}

.tp-clubigo-floating-top_left {
    top: 20px;
    left: 20px;
}

/* Floating Button Sizes */
.tp-clubigo-floating-small {
    padding: 8px 12px;
    font-size: 14px;
}

.tp-clubigo-floating-medium {
    padding: 12px 16px;
    font-size: 16px;
}

.tp-clubigo-floating-large {
    padding: 16px 20px;
    font-size: 18px;
}

/* Floating Button Animations */
.tp-clubigo-floating-pulse {
    animation: tp-clubigo-pulse 2s infinite;
}

.tp-clubigo-floating-bounce {
    animation: tp-clubigo-bounce 2s infinite;
}

.tp-clubigo-floating-shake {
    animation: tp-clubigo-shake 0.5s infinite;
}

@keyframes tp-clubigo-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes tp-clubigo-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes tp-clubigo-shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

/* Popup Styles */
.tp-clubigo-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: tp-clubigo-fade-in 0.3s ease;
    /* Fallback for older browsers */
    background: rgba(255, 255, 255, 0.8);
    /* Modern blur effect */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.tp-clubigo-popup {
    position: relative;
    max-width: 1000px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: tp-clubigo-slide-in 0.3s ease;
    direction: rtl;
    display: flex;
}

/* Popup with image layout */
.tp-clubigo-popup-with-image {
    flex-direction: row-reverse; /* Image on right, content on left */
}

/* Popup image container */
.tp-clubigo-popup-image {
    flex: 0 0 50%; /* Fixed width 40% of popup */
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.powered-by-clubigo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 3px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.powered-by-clubigo a {
    text-decoration: none;
    color: #fff;
}

.tp-clubigo-club-page .powered-by-clubigo {
    position: relative;
    bottom: auto;
    right: auto;
    font-size: 10px;
    color: rgba(0, 0, 0, 0.5);
    text-align: left;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    font-weight: 400;
    letter-spacing: normal;
}
.tp-clubigo-club-page .powered-by-clubigo a {
    text-decoration: none;
    color: rgba(0, 0, 0, 0.5);
}

.tp-clubigo-popup-image img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
}

/* Content area when image is present */
.tp-clubigo-popup-with-image .tp-clubigo-popup-content {
    flex: 1;
    min-width: 0; /* Allow content to shrink */
}

.tp-clubigo-popup-header {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10001;
}

.tp-clubigo-popup-close {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    font-weight: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s 
ease;
    margin: 0;
    padding: 0;
    line-height: 1;
    border: none;
}

.tp-clubigo-popup-close:hover {
    background: rgba(0,0,0,0.7);
    transform: scale(1.1);
}

.tp-clubigo-popup-content {
    padding: 0;
    overflow-y: auto;
    max-height: 80vh;
    /* Custom scrollbar styling */
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

/* WebKit scrollbar styling for popup content */
.tp-clubigo-popup-content::-webkit-scrollbar {
    width: 8px;
}

.tp-clubigo-popup-content::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 4px;
}

.tp-clubigo-popup-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.tp-clubigo-popup-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Popup Tabs */
.tp-clubigo-tab-nav {
    background: #fff;
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 0;
    gap: 0;
    position: sticky;
    width: 100%;
    right: 0;
    top: 0;
    z-index: 1;
}

.tp-clubigo-tab-btn {
    background: none;
    border: none;
    padding: 15px 0;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    flex: 1;
    text-align: center;
}

.tp-clubigo-tab-btn:hover {
    color: #0073aa;
    background: #f8f9fa;
}

.tp-clubigo-tab-btn.active {
    color: #0073aa;
    border-bottom-color: #0073aa;
    background: #f8f9fa;
}

.tp-clubigo-tab-content {
    display: none !important;
    padding: 30px;
}

.tp-clubigo-tab-content.active {
    display: block !important;
}

/* Custom scrollbar for tab content if it gets long */
.tp-clubigo-tab-content {
    scrollbar-width: thin;
    scrollbar-color: #cbd5e0 #f7fafc;
}

.tp-clubigo-tab-content::-webkit-scrollbar {
    width: 6px;
}

.tp-clubigo-tab-content::-webkit-scrollbar-track {
    background: #f7fafc;
    border-radius: 3px;
}

.tp-clubigo-tab-content::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 3px;
    transition: background 0.2s ease;
}

.tp-clubigo-tab-content::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Points Methods */
.tp-clubigo-points-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 7px;
    margin-top: 2em;
}

.tp-clubigo-points-method {
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 28px 10px;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
}

/* .tp-clubigo-points-method:hover {
    border-color: #0073aa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.1);
} */

.tp-clubigo-method-icon {
    font-size: 24px;
    margin-bottom: 10px;
    position: absolute;
    right: calc(50% - 26px);
    top: -26px;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tp_clubigo_popup_title {
    margin: 0 0 15px;
    color: #1e1e1e;
    font-size: 1.8em;
    font-weight: 700;
    line-height: 1;
}
.tp_clubigo_popup_p{
    font-size: 1.1em;
    line-height: 1;
    padding: 0 0 1em;
}
.tp-clubigo-method-content h4 {
    margin: 0 0 5px;
    color: #1e1e1e;
    font-size: 18px;
    font-weight: 700;
}

.tp-clubigo-method-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* Form Styles */
.tp-clubigo-form-field {
    margin-bottom: 10px;
}

.tp-clubigo-form-field label {
    display: block;
    margin-bottom: 0;
    font-weight: 400;
    color: #1e1e1e;
    font-size: 14px;
}

.tp-clubigo-form-field input, 
.tp-clubigo-form-field .nice-select,
.tp-clubigo-form-field select, 
.tp-clubigo-form-field textarea {
    width: 100% !important;
    padding: 10px 12px !important;
    border: 1px solid #acacac !important;
    border-radius: 5px !important;
    font-size: 14px !important;
    transition: all 0.2s ease;
    box-sizing: border-box;
    direction: rtl;
    height: 40px;
    text-align: right;
}
.tp-clubigo-form-field [type="checkbox"]{
    width: auto !important;
}
.tp-clubigo-form-field textarea {
    height: 70px;
}
.tp-clubigo-form-field select{
    display: block !important;
    background-image: url(data:image/svg+xml;utf8;base64,PHN2ZyBmaWxsPSdibGFjaycgaGVpZ2h0PScyNCcgdmlld0JveD0nMCAwIDI0IDI0JyB3aWR0aD0nMjQnIHhtbG5zPSdodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2Zyc+PHBhdGggZD0nTTcgMTBsNSA1IDUtNXonLz48cGF0aCBkPSdNMCAwaDI0djI0SDB6JyBmaWxsPSdub25lJy8+PC9zdmc+);
    background-repeat: no-repeat;
    background-position-x: 5px;
    background-position-y: center;
    -webkit-appearance: none;
    -moz-appearance: none;
}
.tp-clubigo-form-field .nice-select{
    display: none !important;

}
label.reg_custom_checkbox{
    display: flex;
    align-items: center;
    align-content: center;
    width: 100%;
}

.tp-clubigo-form-field input:focus,
.tp-clubigo-form-field select:focus,
.tp-clubigo-form-field textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0,115,170,0.1);
}

.tp-clubigo-form-field input[type="checkbox"] {
    width: auto;
    margin-left: 8px;
}

.tp-clubigo-form-actions {
    margin-top: 10px;
    text-align: center;
    text-align: left;
}

.tp-clubigo-btn-primary {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 120px;
}

.tp-clubigo-btn-primary:hover {
    background: #005a87;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,115,170,0.3);
}

.tp-clubigo-btn-primary:active {
    transform: translateY(0);
}

/* Animations */
@keyframes tp-clubigo-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes tp-clubigo-slide-in {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tp-clubigo-tab-nav{
        width: calc(100% - 60px);
        right: 30px;
    }
    .tp-clubigo-popup {
        width: 95vw;
        max-height: 95vh;
        flex-direction: column; /* Stack vertically on mobile */
    }

    /* Hide image on mobile */
    .tp-clubigo-popup-image {
        display: none;
    }

    /* Reset content area on mobile */
    .tp-clubigo-popup-with-image .tp-clubigo-popup-content {
        flex: none;
    }

    .tp-clubigo-popup-content {
        padding: 0;
    }

    .tp-clubigo-points-methods {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    }

    .tp-clubigo-tab-btn {
        padding: 18px 0;
        font-size: 12px;
    }

    .tp-clubigo-floating-button {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Message Styles */
.tp-clubigo-message {
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
    animation: tp-clubigo-slide-in 0.3s ease;
}

.tp-clubigo-message-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.tp-clubigo-message-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Points Redemption Styles */
.tp-clubigo-redemption-container {
	margin: 20px 0;
	padding: 0;
	background: transparent;
    width: 100%;
    text-align: right;
}

.tp-clubigo-redemption-form {
	background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
	border: 2px solid #cbd5e0;
	border-radius: 12px;
	padding: 20px;
	margin-bottom: 15px;
	position: relative;
	overflow: hidden;
}

.tp-clubigo-redemption-form::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, #3b82f6 0%, #1d4ed8 50%, #1e40af 100%);
}

.tp-clubigo-redemption-form p {
	margin: 0 0 10px 0;
	color: #1e293b;
	font-weight: 500;
}

.tp-clubigo-balance {
	font-size: 14px;
	color: #64748b;
	margin-bottom: 15px !important;
}

.tp-clubigo-balance span {
	font-weight: bold;
	color: #1e40af;
}

.tp-clubigo-balance small {
	font-weight: normal;
	color: #9ca3af;
	font-size: 12px;
}

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

.tp-clubigo-redemption-input input {
	flex: 1;
	padding: 10px 12px;
	border: 2px solid #d1d5db;
	border-radius: 8px;
	font-size: 14px;
	transition: all 0.3s ease;
	direction: ltr;
	text-align: center;
}

.tp-clubigo-redemption-input input:focus {
	outline: none;
	border-color: #3b82f6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tp-clubigo-apply-points,
.tp-clubigo-remove-points {
	background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
	color: white;
	border: none;
	padding: 10px 20px;
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.3s ease;
	white-space: nowrap;
}

.tp-clubigo-apply-points:hover,
.tp-clubigo-remove-points:hover {
	background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.tp-clubigo-apply-points:disabled,
.tp-clubigo-remove-points:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
	box-shadow: none;
}

.tp-clubigo-remove-points {
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.tp-clubigo-remove-points:hover {
	background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
	box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.tp-clubigo-help-text {
	font-size: 12px;
	color: #64748b;
	margin: 0 !important;
	text-align: center;
}

.tp-clubigo-current-redemption {
	text-align: center;
}

.tp-clubigo-success-message {
	color: #059669;
	font-weight: 500;
	margin-bottom: 15px !important;
}

.tp-clubigo-error-message {
	color: #dc2626;
	font-weight: 500;
	margin: 0 !important;
}

.tp-clubigo-coupon-conflict {
	background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
	border: 2px solid #f59e0b;
	border-radius: 12px;
	padding: 20px;
	text-align: center;
}

.tp-clubigo-coupon-conflict p {
	margin: 0 0 10px 0;
}

/* Redemption Messages */
.tp-clubigo-redemption-container .tp-clubigo-message {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 15px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 500;
	animation: slideInDown 0.3s ease;
}

.tp-clubigo-redemption-container .tp-clubigo-message .dashicons {
	font-size: 18px;
	width: 18px;
	height: 18px;
}

.tp-clubigo-redemption-container .tp-clubigo-success {
	background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
	border: 2px solid #10b981;
	color: #059669;
}

.tp-clubigo-redemption-container .tp-clubigo-error {
	background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
	border: 2px solid #ef4444;
	color: #dc2626;
}

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

/* Responsive Redemption */
@media (max-width: 768px) {
	.tp-clubigo-redemption-form {
		padding: 15px;
	}

	.tp-clubigo-redemption-input {
		flex-direction: column;
		gap: 10px;
	}

	.tp-clubigo-redemption-input input {
		width: 100%;
	}

	.tp-clubigo-apply-points,
	.tp-clubigo-remove-points {
		width: 100%;
		padding: 12px;
	}
}

/* Review Points Notice */
.tp-clubigo-review-points-notice {
    background: linear-gradient(135deg, #0073aa, #005a87);
    color: white;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 115, 170, 0.2);
    animation: tp-clubigo-notice-slide-in 0.5s ease-out;
}

.tp-clubigo-review-notice-icon {
    font-size: 24px;
    margin-left: 15px;
    animation: tp-clubigo-star-pulse 2s infinite;
}

.tp-clubigo-review-notice-text {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

.tp-clubigo-review-notice-text strong {
    font-weight: 600;
    color: #ffd700;
}

/* Animations */
@keyframes tp-clubigo-notice-slide-in {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes tp-clubigo-star-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ===== EMAIL STYLES ===== */

/* Email Container */
.tp-clubigo-email-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background: #ffffff;
    color: #333333;
    line-height: 1.6;
    direction: rtl;
    text-align: right;
}

/* Email Header */
.tp-clubigo-email-header {
    background: linear-gradient(135deg, #5c5076 0%, #6cc6c9 100%);
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    border-radius: 8px 8px 0 0;
}

.tp-clubigo-email-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

/* Email Body */
.tp-clubigo-email-body {
    padding: 30px 20px;
    background: #ffffff;
}

.tp-clubigo-email-body p {
    margin: 15px 0;
    font-size: 14px;
    line-height: 1.8;
}

/* Email Section */
.tp-clubigo-email-section {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border-right: 4px solid #5c5076;
}

.tp-clubigo-email-section h2 {
    margin: 0 0 15px 0;
    font-size: 16px;
    color: #5c5076;
    font-weight: 600;
}

/* Coupon Info Box */
.tp-clubigo-coupon-info {
    background: linear-gradient(135deg, #e8f2ff 0%, #f0f4ff 100%);
    border: 2px solid #d1e7ff;
    border-radius: 6px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}

.tp-clubigo-coupon-code {
    font-size: 18px;
    font-weight: 700;
    color: #1e40af;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    margin: 10px 0;
}

.tp-clubigo-coupon-description {
    font-size: 13px;
    color: #4b5563;
    margin: 10px 0 0 0;
}

/* Email Footer */
.tp-clubigo-email-footer {
    background: #f8f9fa;
    padding: 20px;
    text-align: center;
    font-size: 12px;
    color: #666666;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid #e0e0e0;
}

.tp-clubigo-email-footer p {
    margin: 5px 0;
}

li.wc-block-product {
    position: relative;
}