/* Coupon Preview Styles */
.preview-panel {
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.preview-panel h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.coupon-preview {
    border: 3px solid var(--primary-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: white;
    max-width: 100%;
}

.coupon-preview .coupon-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.coupon-preview .coupon-title {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

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

.coupon-preview .recipient-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.coupon-preview .recipient-name {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0 20px;
}

.coupon-preview .amount-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.coupon-preview .amount {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 10px 0 20px;
}

.coupon-preview .personal-message {
    margin: 20px 0;
    padding: 15px;
    background: #F5F5F5;
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
    font-style: italic;
    color: #555;
    text-align: left;
    font-size: 14px;
}

.coupon-preview .coupon-footer {
    background: #F9F9F9;
    padding: 20px;
    text-align: center;
    border-top: 2px solid #E0E0E0;
}

.coupon-preview .coupon-code-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.coupon-preview .coupon-code {
    font-size: 16px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    letter-spacing: 2px;
    padding: 10px;
    background: white;
    border: 2px dashed var(--accent-color);
    border-radius: 4px;
    display: inline-block;
    margin: 10px 0;
}

.coupon-preview .validity {
    font-size: 12px;
    color: #666;
    margin: 15px 0;
}

.coupon-preview .clinic-info {
    font-size: 11px;
    color: #999;
    margin-top: 15px;
}

/* Theme-specific preview styles */
.coupon-preview.theme-christmas {
    border-color: #C62828;
}

.coupon-preview.theme-christmas .coupon-header {
    background: linear-gradient(135deg, #C62828 0%, #E53935 100%);
}

.coupon-preview.theme-birthday {
    border-color: #E91E63;
}

.coupon-preview.theme-birthday .coupon-header {
    background: linear-gradient(135deg, #E91E63 0%, #9C27B0 100%);
}

.coupon-preview.theme-health {
    border-color: #00897B;
}

.coupon-preview.theme-health .coupon-header {
    background: linear-gradient(135deg, #00897B 0%, #26A69A 100%);
}

.coupon-preview.theme-kids {
    border-color: #FF7043;
}

.coupon-preview.theme-kids .coupon-header {
    background: linear-gradient(135deg, #FF7043 0%, #42A5F5 100%);
}

