/**
 * Light a Candle - Frontend Styles
 */

/* === Candles Grid === */
.lac-candles-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* === Confirmation Banner === */
.lac-confirmation-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    position: relative;
    animation: lacBannerSlideIn 0.4s ease;
}

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

.lac-confirmation-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #28a745;
}

.lac-confirmation-error {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border: 2px solid #ffc107;
}

.lac-confirmation-banner-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.lac-confirmation-banner-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
}

.lac-confirmation-banner-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.lac-confirmation-banner-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    line-height: 1;
    padding: 0;
}

.lac-confirmation-banner-close:hover {
    color: #333;
}

.lac-candles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* === Candle Items === */
.lac-candle-item {
    position: relative;
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lac-candle-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.lac-candle-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

/* === Lit Candles === */
.lac-lit-candle .lac-candle-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lac-candle-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: #fff;
}

.lac-candle-dedication {
    text-align: center;
}

.lac-candle-reason {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-transform: capitalize;
}

.lac-candle-country {
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.lac-candle-by {
    font-size: 13px;
    margin: 8px 0 0 0;
    opacity: 0.95;
}

.lac-by-label {
    font-weight: 400;
    opacity: 0.8;
}

.lac-candle-user-name {
    color: #fff;
    font-weight: 600;
}

/* Time Badge (top-left) */
.lac-time-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 12px;
    z-index: 10;
    backdrop-filter: blur(4px);
}

/* In Memory Of */
.lac-candle-memory {
    font-size: 14px;
    margin: 0 0 5px 0;
    color: #fff;
}

.lac-candle-memory strong {
    color: #ffd700;
    font-weight: 700;
}

/* Candle By line (compact) */
.lac-candle-by {
    font-size: 12px;
    margin: 0;
    opacity: 0.85;
    color: #fff;
}

/* Candle Photo (circular, top-right) */
.lac-candle-photo {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 10;
    background: #fff;
}

.lac-candle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Make lit candle container clickable */
.lac-lit-candle.lac-clickable {
    cursor: pointer;
}

.lac-lit-candle.lac-clickable:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* === Unlit Candles === */
.lac-unlit-candle {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    cursor: pointer;
}

.lac-unlit-candle .lac-candle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lac-unlit-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

/* Fallback when image doesn't load */
.lac-unlit-image[src=""],
.lac-unlit-image:not([src]) {
    display: none;
}

.lac-unlit-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
}

.lac-unlit-candle:hover .lac-unlit-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.lac-light-button {
    background: linear-gradient(135deg, #fff 0%, #fff8e1 100%);
    border: 2px solid #ffc107;
    padding: 18px 40px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: #333;
    box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4), 0 0 20px rgba(255, 152, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: lac-pulse-glow 2s ease-in-out infinite;
}

@keyframes lac-pulse-glow {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(255, 193, 7, 0.4), 0 0 20px rgba(255, 152, 0, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 35px rgba(255, 193, 7, 0.6), 0 0 40px rgba(255, 152, 0, 0.5);
        transform: scale(1.03);
    }
}

.lac-light-button:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 40px rgba(255, 193, 7, 0.7), 0 0 50px rgba(255, 152, 0, 0.6);
    animation: none;
}

.lac-light-icon {
    font-size: 28px;
    animation: lac-flame-flicker 1s ease-in-out infinite;
}

@keyframes lac-flame-flicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    25% {
        transform: scale(1.05) rotate(-2deg);
        filter: brightness(1.1);
    }
    50% {
        transform: scale(1.1) rotate(1deg);
        filter: brightness(1.2);
    }
    75% {
        transform: scale(1.05) rotate(-1deg);
        filter: brightness(1.1);
    }
}

/* === Modal === */
.lac-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
}

.lac-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9998;
}

.lac-modal-content {
    position: relative;
    max-width: 600px;
    margin: 30px auto;
    background: #fff;
    border-radius: 12px;
    padding: 25px 30px;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 9999;
}

.lac-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid #ddd;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #666;
    transition: all 0.3s ease;
    padding: 8px 12px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.lac-modal-close:hover {
    background: #d9b88f;
    color: #fff;
    border-color: #d9b88f;
    transform: rotate(90deg);
    box-shadow: 0 4px 15px rgba(217, 184, 143, 0.4);
}

/* === Steps === */
.lac-step {
    /*display: none;*/
}

.lac-step.active {
    display: block;
}

.lac-step-header {
    text-align: center;
    margin-bottom: 18px;
}

.lac-step-header h2 {
    font-size: 24px;
    margin: 0 0 6px 0;
    color: #333;
}

.lac-step-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* === Form === */
.lac-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.lac-form-row .lac-form-group {
    min-width: 0;
    margin-bottom: 0;
}

.lac-form-group {
    margin-bottom: 14px;
}

.lac-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 13px;
}

.lac-form-group input[type="text"],
.lac-form-group input[type="email"],
.lac-form-group input[type="file"],
.lac-form-group select,
.lac-form-group textarea {
    width: 100%;
    max-width: 100%;
    padding: 9px 12px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.lac-form-group input:focus,
.lac-form-group select:focus,
.lac-form-group textarea:focus {
    outline: none;
    border-color: #d9b88f;
}

.lac-form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* Date Inputs */
.lac-date-inputs {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lac-date-inputs input[type="number"] {
    padding: 9px 8px;
    text-align: center;
    -moz-appearance: textfield;
}

.lac-date-inputs input[type="number"]::-webkit-outer-spin-button,
.lac-date-inputs input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.lac-date-inputs input[type="number"]#lac-dob-day,
.lac-date-inputs input[type="number"]#lac-dod-day,
.lac-date-inputs input[type="number"]#lac-dob-month,
.lac-date-inputs input[type="number"]#lac-dod-month {
    width: 50px;
    flex-shrink: 0;
}

.lac-date-inputs input[type="number"]#lac-dob-year,
.lac-date-inputs input[type="number"]#lac-dod-year {
    width: 80px;
    flex-shrink: 0;
}

.lac-date-separator {
    color: #999;
    font-weight: bold;
    user-select: none;
}

.lac-form-help {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #999;
}

/* Photo Upload Preview */
.lac-photo-preview {
    margin-top: 15px;
    position: relative;
    display: inline-block;
}

.lac-photo-preview img {
    max-width: 150px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lac-remove-photo {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d9b88f;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.lac-remove-photo:hover {
    background: #c9a67a;
    transform: scale(1.1);
}

/* Burn Duration Display (fixed value) */
.lac-burn-duration-display {
    padding: 12px 15px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    font-weight: 500;
}

.lac-burn-duration-display.upgraded {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe4c4 100%);
    border-color: #d9b88f;
    color: #8b6914;
}

/* Burn Duration Section */
.lac-burn-duration-section {
    background: linear-gradient(135deg, #fef9e7 0%, #fdf2d0 100%);
    border: 2px solid #f5d76e;
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.lac-burn-duration-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
}

.lac-burn-label {
    color: #666;
    font-weight: 500;
}

.lac-burn-duration-display {
    font-weight: 700;
    color: #8b6914;
    font-size: 18px;
}

.lac-upgrade-hint {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #999;
    font-style: italic;
}

.lac-btn-upgrade:not(:disabled) + .lac-upgrade-hint {
    display: none;
}

/* Upgrade Duration Button */
.lac-btn-upgrade {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: pulse-glow 2s infinite;
}

.lac-btn-upgrade:disabled {
    background: linear-gradient(135deg, #ccc 0%, #aaa 100%);
    cursor: not-allowed;
    animation: none;
    opacity: 0.7;
}

.lac-btn-upgrade:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 107, 107, 0.4);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
    }
}

/* Upgrade Modal */
.lac-upgrade-modal-content {
    max-width: 450px;
}

.lac-upgrade-header {
    text-align: center;
    margin-bottom: 20px;
}

.lac-upgrade-header h3 {
    font-size: 22px;
    margin: 0 0 8px 0;
    color: #333;
}

.lac-upgrade-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.lac-upgrade-packages {
    margin: 15px 0;
}

.lac-upgrade-loading {
    text-align: center;
    padding: 30px;
    color: #666;
}

.lac-upgrade-package {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 18px;
    margin: 10px 0;
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lac-upgrade-package:hover {
    border-color: #d9b88f;
    background: #fdfbf7;
    transform: translateX(5px);
}

.lac-upgrade-package.popular {
    border-color: #d9b88f;
    background: linear-gradient(135deg, #fdfbf7 0%, #faf5ed 100%);
    position: relative;
}

.lac-upgrade-package.popular::before {
    content: '⭐ Popular';
    position: absolute;
    top: -10px;
    right: 15px;
    background: #d9b88f;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 10px;
}

.lac-package-info {
    flex: 1;
}

.lac-package-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
}

.lac-package-duration {
    font-size: 12px;
    color: #888;
    margin-top: 2px;
}

.lac-package-price {
    font-size: 20px;
    font-weight: 700;
    color: #d9b88f;
}

.lac-upgrade-footer {
    text-align: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Payment Modal */
.lac-payment-modal-content {
    max-width: 420px;
}

.lac-payment-header {
    text-align: center;
    margin-bottom: 20px;
}

.lac-payment-header h3 {
    font-size: 20px;
    margin: 0 0 5px 0;
    color: #333;
}

.lac-payment-header p {
    font-size: 14px;
    color: #666;
    margin: 0 0 10px 0;
}

.lac-payment-amount {
    font-size: 32px;
    font-weight: 700;
    color: #d9b88f;
}

.lac-payment-body {
    margin: 20px 0;
}

/* Payment User Info (for non-logged in users) */
.lac-payment-user-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.lac-payment-field {
    margin-bottom: 15px;
}

.lac-payment-field:last-child {
    margin-bottom: 0;
}

.lac-payment-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 14px;
}

.lac-payment-field label .required {
    color: #dc3545;
}

.lac-payment-field input[type="text"],
.lac-payment-field input[type="email"] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.lac-payment-field input:focus {
    outline: none;
    border-color: #d9b88f;
    box-shadow: 0 0 0 3px rgba(217, 184, 143, 0.15);
}

.lac-payment-field input::placeholder {
    color: #aaa;
}

.lac-payment-method {
    margin: 10px 0;
}

.lac-payment-method label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: #f9f9f9;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.lac-payment-method label:hover {
    border-color: #d9b88f;
}

.lac-payment-method input[type="radio"] {
    width: 18px;
    height: 18px;
}

.lac-payment-method input[type="radio"]:checked + span {
    font-weight: 600;
}

#lac-card-element-container {
    margin: 15px 0;
    padding: 15px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
}

#lac-card-element {
    padding: 10px 0;
}

.lac-card-errors {
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
}

#lac-paypal-container {
    margin: 15px 0;
    min-height: 50px;
}

.lac-payment-footer {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.lac-payment-footer .lac-btn {
    flex: 1;
}

#lac-payment-submit {
    background: linear-gradient(135deg, #28a745 0%, #20963c 100%);
}

#lac-payment-submit:hover {
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.lac-checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.lac-checkbox-group input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.lac-checkbox-group a {
    color: #d9b88f;
    text-decoration: none;
}

.lac-checkbox-group a:hover {
    text-decoration: underline;
}

/* === Buttons === */
.lac-form-actions {
    margin-top: 30px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.lac-btn {
    padding: 14px 35px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.lac-btn-primary {
    background: linear-gradient(135deg, #d9b88f 0%, #c9a67a 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(217, 184, 143, 0.3);
}

.lac-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 184, 143, 0.4);
}

.lac-btn-secondary {
    background: #e0e0e0;
    color: #333;
}

.lac-btn-secondary:hover {
    background: #d0d0d0;
}

.lac-btn-contribute {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.lac-btn-contribute:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.lac-btn-icon {
    font-size: 18px;
}

/* === Step 3: Candle Lighting === */
.lac-candle-lighting-area {
    text-align: center;
    padding: 15px 0;
    min-height: 220px;
    position: relative;
}

/* Step 2 Candle Container */
.lac-step2-candle-wrapper {
    position: relative;
    max-width: 300px;
    margin: 0 auto;
}

.lac-unlit-candle-large {
    position: relative;
    width: 100%;
    z-index: 2;
}

.lac-candle-base {
    width: 100%;
    height: auto;
    display: block;
}

.lac-wick-clickable {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 107, 107, 0.9);
    padding: 15px 25px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    z-index: 10;
}

.lac-wick-clickable:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.lac-wick-icon {
    font-size: 24px;
}

#lac-lighting-video-container {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 300px;
    z-index: 1;
    display: none;
}

#lac-lighting-video {
    width: 100%;
    height: auto;
    display: block;
}

/* === Step 3: Thank You === */
.lac-thank-you-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

.lac-thank-you-video video {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.lac-thank-you-content {
    text-align: center;
}

.lac-thank-you-content h2 {
    font-size: 32px;
    margin: 0;
    color: #d9b88f;
}

.lac-thank-you-content h3 {
    font-size: 24px;
    margin: 5px 0 20px 0;
    color: #333;
}

.lac-thank-you-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

/* Email Confirmation Warning */
.lac-confirmation-warning {
    background: linear-gradient(135deg, #fff3cd, #ffeeba);
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
}

.lac-confirmation-warning-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.lac-confirmation-warning h4 {
    color: #856404;
    font-size: 20px;
    margin: 0 0 15px 0;
}

.lac-confirmation-warning p {
    color: #856404;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.lac-confirmation-warning-note {
    font-size: 13px !important;
    color: #6c5d00 !important;
    font-style: italic;
}

.lac-contribute-section {
    margin: 30px 0;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 12px;
}

.lac-contribute-text {
    font-size: 15px;
    color: #333;
    margin-bottom: 15px;
}

.lac-contribute-icon {
    font-size: 20px;
}

/* === Progress Indicator === */
.lac-progress-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.lac-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.lac-progress-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lac-progress-step.active .lac-progress-number {
    background: #d9b88f;
    color: #fff;
}

.lac-progress-label {
    font-size: 13px;
    color: #999;
    font-weight: 500;
}

.lac-progress-step.active .lac-progress-label {
    color: #333;
}

.lac-progress-line {
    width: 80px;
    height: 2px;
    background: #e0e0e0;
    margin: 0 10px;
}

/* === User Details Modal === */
.lac-user-modal-content {
    max-width: 700px;
    overflow-x: hidden;
}

.lac-user-details-container {
    padding: 0;
    max-width: 100%;
    overflow-x: hidden;
}

/* Time Left Badge (Top) */
.lac-detail-time-badge {
    background: linear-gradient(135deg, #d9b88f 0%, #c9a67a 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.lac-time-icon {
    font-size: 28px;
    animation: pulse 2s ease-in-out infinite;
}

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

.lac-time-text {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Main Content Area (2 columns) */
.lac-detail-main-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 100%;
    overflow-x: hidden;
}

/* Left Side: Message & Details */
.lac-detail-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
    overflow-x: hidden;
}

/* Memorial Information Section */
.lac-detail-memorial-info {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    border: 1px solid #ffcc80;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.lac-memorial-title {
    font-size: 15px;
    font-weight: 600;
    color: #8B4513;
    margin: 0 0 12px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.lac-memorial-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lac-memorial-items .lac-meta-item {
    background: rgba(255, 255, 255, 0.8);
    border-left: 3px solid #DAA520;
}

/* Candle Details Section (Full Width) */
.lac-candle-details-section {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 15px;
}

.lac-candle-details-title {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin: 0 0 8px 0;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Meta Information */
.lac-detail-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.lac-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: #fafafa;
    border-radius: 4px;
    transition: background 0.2s ease;
    min-width: 0;
    box-sizing: border-box;
    width: 100%;
    font-size: 13px;
}

.lac-meta-item:hover {
    background: #f5f5f5;
}

.lac-meta-icon {
    font-size: 14px;
    width: 18px;
    text-align: center;
}

.lac-meta-label {
    font-weight: 600;
    color: #666;
    font-size: 13px;
    min-width: 70px;
}

.lac-meta-value {
    color: #333;
    font-size: 14px;
    flex: 1;
}

/* Message Box (Inside Memorial Section) */
.lac-detail-memorial-info .lac-detail-message-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #d9b88f;
    margin-bottom: 12px;
}

.lac-detail-memorial-info .lac-message-title {
    font-size: 12px;
    font-weight: 600;
    color: #d9b88f;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px 0;
}

.lac-detail-memorial-info .lac-message-content {
    color: #333;
    line-height: 1.6;
    font-size: 14px;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Right Side: Photo */
.lac-detail-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 0;
    overflow: hidden;
}

.lac-detail-candle-icon {
    font-size: 64px;
    opacity: 0.9;
}

.lac-detail-photo-container {
    margin: 0;
}

.lac-detail-photo-container img {
    width: 150px;
    height: 150px;
    max-width: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #d9b88f;
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

/* Action Buttons Footer */
.lac-user-details-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    margin-bottom: 15px;
}

.lac-user-details-footer-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
}

/* Facebook CTA Button */
.lac-facebook-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    margin-top: 15px;
    background: linear-gradient(135deg, #1877f2 0%, #0d65d9 50%, #1877f2 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4), 0 0 30px rgba(24, 119, 242, 0.2);
    animation: lac-fb-glow 3s ease-in-out infinite, lac-fb-gradient 4s ease infinite;
    text-transform: none;
    letter-spacing: 0.3px;
}

@keyframes lac-fb-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4), 0 0 30px rgba(24, 119, 242, 0.2);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 6px 30px rgba(24, 119, 242, 0.6), 0 0 50px rgba(24, 119, 242, 0.4);
        transform: scale(1.02);
    }
}

@keyframes lac-fb-gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.lac-facebook-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 35px rgba(24, 119, 242, 0.7), 0 0 60px rgba(24, 119, 242, 0.5);
    animation: none;
    background: linear-gradient(135deg, #0d65d9 0%, #1877f2 100%);
}

.lac-facebook-cta svg {
    flex-shrink: 0;
}

.lac-facebook-cta-text {
    white-space: nowrap;
}

.lac-btn-certificate {
    background: linear-gradient(135deg, #8B4513 0%, #6B3410 100%);
    color: white;
    flex: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    position: relative;
    overflow: hidden;
}

.lac-btn-certificate::before {
    content: '⭐';
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.3;
    animation: shine 3s ease-in-out infinite;
}

.lac-btn-certificate::after {
    content: '⭐';
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    font-size: 20px;
    opacity: 0.3;
    animation: shine 3s ease-in-out infinite 1.5s;
}

@keyframes shine {
    0%, 100% {
        left: -30px;
        right: auto;
        opacity: 0.3;
    }
    50% {
        left: 50%;
        right: auto;
        opacity: 0.8;
    }
}

.lac-btn-certificate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 69, 19, 0.5);
    background: linear-gradient(135deg, #A0522D 0%, #8B4513 100%);
}

.lac-btn-light-candle {
    background: linear-gradient(135deg, #d9b88f 0%, #c9a67a 100%);
    color: white;
    flex: 1;
}

.lac-btn-light-candle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.lac-btn-contribute {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    flex: 1;
}

.lac-btn-contribute:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

/* === View History Link === */
.lac-view-history-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    color: #d9b88f;
    text-decoration: none;
    transition: color 0.3s ease;
}

.lac-view-history-link:hover {
    color: #c9a67a;
    text-decoration: underline;
}

/* === Relight Prominent Link === */
.lac-relight-prominent {
    display: inline-block;
    margin-top: 12px;
    margin-left: 10px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    animation: pulse-glow 2s ease-in-out infinite;
}

.lac-relight-prominent:hover {
    color: #fff;
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.5);
    text-decoration: none;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
    }
}

/* === Disabled Button === */
.lac-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* === Relight Button (replaces Next button) === */
.lac-relight-btn {
    background: linear-gradient(135deg, #ff6b35, #ff8c42) !important;
    border: none !important;
    animation: pulse-glow-btn 2s ease-in-out infinite;
}

.lac-relight-btn:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5) !important;
}

@keyframes pulse-glow-btn {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.6);
    }
}

/* === User History Modal === */
.lac-history-modal-content {
    max-width: 700px;
}

.lac-history-container {
    padding: 20px 0;
}

.lac-history-header {
    text-align: center;
    margin-bottom: 30px;
}

.lac-history-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.lac-history-header h2 {
    font-size: 26px;
    margin: 0 0 10px 0;
    color: #333;
}

.lac-history-email {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.lac-history-body {
    margin-bottom: 30px;
    max-height: 400px;
    overflow-y: auto;
}

.lac-history-loading {
    text-align: center;
    color: #999;
    padding: 40px;
}

.lac-history-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.lac-history-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.lac-history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.lac-history-item-reason {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.lac-history-item-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.lac-history-item-status.burning {
    background: #4CAF50;
    color: #fff;
}

.lac-history-item-status.expired {
    background: #e0e0e0;
    color: #666;
}

.lac-history-item-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.lac-history-item-detail {
    display: flex;
    gap: 5px;
}

.lac-history-item-detail strong {
    color: #333;
}

.lac-history-footer {
    text-align: center;
}

/* === Frontend Search & Filters === */
.lac-frontend-toolbar {
    background: linear-gradient(135deg, #fff8e1 0%, #ffe0b2 100%);
    border: 1px solid #ffcc80;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.lac-frontend-search-form {
    margin-bottom: 0;
}

.lac-frontend-search-wrapper {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.lac-frontend-search-input {
    flex: 1;
    min-width: 280px;
    padding: 12px 18px;
    font-size: 15px;
    border: 2px solid #DAA520;
    border-radius: 25px;
    background: #fff;
    transition: all 0.3s ease;
}

.lac-frontend-search-input:focus {
    border-color: #8B4513;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.lac-frontend-filter-select {
    padding: 12px 16px;
    font-size: 14px;
    border: 2px solid #DAA520;
    border-radius: 25px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 160px;
}

.lac-frontend-filter-select:hover {
    border-color: #8B4513;
}

.lac-frontend-filter-select:focus {
    border-color: #8B4513;
    outline: none;
    box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.1);
}

.lac-frontend-search-btn {
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    background: linear-gradient(135deg, #8B4513 0%, #A0522D 100%);
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.lac-frontend-search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(139, 69, 19, 0.4);
}

.lac-frontend-clear-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: inline-block;
}

.lac-frontend-clear-btn:hover {
    background: #e0e0e0;
    transform: translateY(-1px);
}

.lac-frontend-results-info {
    margin-top: 15px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.7);
    border-left: 4px solid #DAA520;
    border-radius: 6px;
    font-size: 14px;
    color: #8B4513;
    font-weight: 500;
}

/* === Responsive === */
@media (max-width: 768px) {
    .lac-candles-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 20px;
    }

    .lac-frontend-search-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .lac-frontend-search-input,
    .lac-frontend-filter-select,
    .lac-frontend-search-btn,
    .lac-frontend-clear-btn {
        width: 100%;
        min-width: 100%;
    }

    .lac-modal-content {
        margin: 15px;
        padding: 25px 15px;
        max-height: calc(100vh - 120px);
        max-height: calc(100dvh - 120px);
    }

    /* Stack form rows on mobile */
    .lac-form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lac-thank-you-layout {
        grid-template-columns: 1fr;
    }

    /* Stack meta items on mobile with smaller font */
    .lac-detail-meta {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .lac-meta-item {
        padding: 6px 10px;
        font-size: 12px;
    }

    .lac-meta-label {
        font-size: 10px;
    }

    .lac-candle-details-section h4 {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .lac-progress-indicator {
        padding: 0 20px;
    }

    .lac-progress-line {
        width: 40px;
    }

    /* User Details Modal Responsive */
    .lac-detail-main-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lac-detail-right {
        order: -1;
    }

    .lac-detail-candle-icon {
        font-size: 48px;
    }

    .lac-detail-photo-container img {
        width: 120px;
        height: 120px;
    }

    .lac-btn-certificate {
        font-size: 14px;
    }

    /* Buttons on one line with smaller font */
    .lac-user-details-footer {
        flex-wrap: nowrap;
        gap: 5px;
        padding-top: 15px;
    }

    .lac-user-details-footer .lac-btn,
    .lac-user-details-footer .lac-btn-contribute,
    .lac-user-details-footer .lac-btn-certificate,
    .lac-user-details-footer .lac-btn-light-candle {
        font-size: 10px;
        padding: 8px 5px;
        white-space: nowrap;
        flex: 1;
        min-width: 0;
        text-align: center;
    }


    .lac-detail-time-badge {
        padding: 12px 20px;
    }

    .lac-time-icon {
        font-size: 24px;
    }

    .lac-time-text {
        font-size: 16px;
    }

    /* Unlit candle button on mobile */
    .lac-light-button {
        padding: 8px 12px;
        font-size: 11px;
        gap: 5px;
        border-radius: 15px;
    }

    .lac-light-icon {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .lac-candles-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .lac-step-header h2 {
        font-size: 24px;
    }

    .lac-thank-you-content h2 {
        font-size: 26px;
    }

    .lac-thank-you-content h3 {
        font-size: 20px;
    }

    .lac-renewal-plans-grid {
        grid-template-columns: 1fr;
    }
}

/* === Renewal Page === */
.lac-renewal-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.lac-renewal-header {
    text-align: center;
    margin-bottom: 40px;
}

.lac-renewal-candle-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.lac-renewal-header h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    color: #333;
}

.lac-renewal-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.lac-renewal-candle-info {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
}

.lac-renewal-candle-info h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 22px;
    text-align: center;
}

.lac-renewal-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.lac-renewal-info-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.lac-renewal-info-item strong {
    display: block;
    color: #666;
    font-size: 14px;
    margin-bottom: 5px;
}

.lac-renewal-plans {
    margin-bottom: 40px;
}

.lac-renewal-plans h2 {
    text-align: center;
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #333;
}

.lac-renewal-plans-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin: 0 0 40px 0;
}

.lac-renewal-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.lac-renewal-plan {
    position: relative;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.lac-renewal-plan:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: #d9b88f;
}

.lac-renewal-plan-popular {
    border-color: #d9b88f;
    box-shadow: 0 4px 20px rgba(255, 107, 107, 0.2);
}

.lac-renewal-plan-premium {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #ffffff 0%, #f0fff0 100%);
}

.lac-renewal-plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #d9b88f;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.lac-renewal-plan-badge.premium {
    background: #4CAF50;
}

.lac-renewal-plan-header {
    text-align: center;
    margin-bottom: 25px;
}

.lac-renewal-plan-header h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: #333;
}

.lac-renewal-plan-price {
    font-size: 48px;
    font-weight: 700;
    color: #d9b88f;
    line-height: 1;
}

.lac-price-currency {
    font-size: 28px;
    vertical-align: top;
}

.lac-renewal-plan-features {
    margin-bottom: 25px;
}

.lac-renewal-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.lac-renewal-feature:last-child {
    border-bottom: none;
}

.lac-feature-icon {
    font-size: 20px;
}

.lac-renewal-plan-btn {
    width: 100%;
    background: linear-gradient(135deg, #d9b88f 0%, #c9a67a 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lac-renewal-plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.lac-renewal-info-box {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
}

.lac-renewal-info-box h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
}

.lac-renewal-info-box p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.95;
}

.lac-renewal-error {
    background: #c9a67a;
    color: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto;
}

.lac-renewal-error p {
    margin: 0;
    font-size: 18px;
}

/* === Forever Ribbon/Badge === */
.lac-forever-ribbon {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 72px;
    height: 72px;
    z-index: 10;
    pointer-events: none;
    animation: pulseRibbon 2s ease-in-out infinite;
}

.lac-forever-ribbon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

@keyframes pulseRibbon {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Responsive ribbon sizing */
@media (max-width: 768px) {
    .lac-forever-ribbon {
        width: 54px;
        height: 54px;
        top: 5px;
        left: 5px;
    }
}

@media (max-width: 480px) {
    .lac-forever-ribbon {
        width: 45px;
        height: 45px;
        top: 5px;
        left: 5px;
    }
}

/* === Donation Page === */
.lac-donation-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.lac-donation-header {
    text-align: center;
    margin-bottom: 40px;
}

.lac-donation-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.lac-donation-header h1 {
    font-size: 36px;
    margin: 0 0 10px 0;
    color: #333;
}

.lac-donation-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
}

.lac-donation-description {
    background: linear-gradient(135deg, #613d08 0%, #b88f53 100%);
    padding: 30px 25px;
    border-radius: 24px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(207, 202, 196, 0.25);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.lac-donation-description:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 70px rgba(207, 202, 196, 0.35);
}

/* Decorative background pattern */
.lac-donation-description::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: floatPattern 20s linear infinite;
    pointer-events: none;
}

@keyframes floatPattern {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(50px, 50px) rotate(360deg); }
}

/* Glass morphism overlay */
.lac-donation-description::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.1) 0%,
        rgba(255,255,255,0.05) 50%,
        rgba(255,255,255,0.1) 100%);
    pointer-events: none;
}

.lac-donation-description > p {
    font-size: 15px;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 15px 0;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.lac-donation-description > p:last-child {
    margin-bottom: 0;
}

/* Highlight important text */
.lac-donation-description strong {
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
    background: linear-gradient(90deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    background-clip: text;
}

/* Add emoji support with better styling */
.lac-donation-description p::first-line {
    font-size: 16px;
    font-weight: 500;
}

/* === Donation Impact Section - Modern 2025 Styling === */
.lac-donation-impact-section {
    margin: 20px auto;
    padding: 0 20px;
}

.lac-impact-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: -0.5px;
}

.lac-impact-icon {
    font-size: 2rem;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(10deg); }
}

.lac-impact-underline {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.lac-impact-content {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

p.lac-impact-intro {
    font-size: 1.15rem !important;
    line-height: 1.9 !important;
    color: #2d3748 !important;
    margin-bottom: 40px;
    text-align: left;
    font-weight: 400 !important;
    padding: 30px;
    background: linear-gradient(135deg, rgba(246, 249, 252, 0.9) 0%, rgba(240, 244, 248, 0.9) 100%);
    border-radius: 12px;
    border-left: 5px solid #667eea;
    position: relative;
    backdrop-filter: blur(10px);
    text-shadow: none !important;
}

.lac-impact-breakdown {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.lac-impact-item {
    display: flex;
    gap: 20px;
    padding: 20px 25px;
    background: rgba(250, 251, 252, 0.8);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
    margin-bottom: 20px;
}

.lac-impact-item:hover {
    background: white;
    border-color: #667eea;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.1);
}

.lac-impact-bullet {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.lac-impact-text {
    flex: 1;
}

.lac-impact-text strong {
    font-size: 1.2rem;
    color: #2c3e50;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
}

.lac-impact-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
    margin: 0;
}

p.lac-impact-outro {
    font-size: 1.15rem !important;
    line-height: 1.8 !important;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 0 !important;
    padding: 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    border-radius: 16px;
    font-weight: 500 !important;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
}

.lac-impact-outro::before {
    content: '✨';
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    opacity: 0.5;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .lac-impact-title {
        font-size: 2rem;
    }

    .lac-impact-content {
        padding: 30px 20px;
    }

    .lac-impact-intro {
        font-size: 1.1rem;
        padding: 20px;
    }

    .lac-impact-item {
        padding: 20px;
    }

    .lac-impact-bullet {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .lac-impact-text strong {
        font-size: 1.1rem;
    }

    .lac-impact-outro {
        padding: 25px;
        font-size: 1rem;
    }
}

.lac-donation-packages {
    margin-bottom: 40px;
}

.lac-donation-packages h2 {
    text-align: center;
    font-size: 32px;
    margin: 0 0 10px 0;
    color: #333;
}

.lac-donation-packages-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin: 0 0 40px 0;
}

.lac-donation-packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.lac-donation-package {
    position: relative;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.lac-donation-package:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #d9b88f;
}

.lac-donation-package-popular {
    border-color: #d9b88f;
    box-shadow: 0 5px 20px rgba(217, 184, 143, 0.3);
}

.lac-donation-package-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #d9b88f, #c9a67a);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(217, 184, 143, 0.4);
}

.lac-donation-package-header {
    margin-bottom: 20px;
}

.lac-package-icon {
    font-size: 56px;
    margin-bottom: 15px;
}

.lac-donation-package-header h3 {
    font-size: 24px;
    margin: 0 0 15px 0;
    color: #333;
}

.lac-donation-package-price {
    font-size: 40px;
    font-weight: 700;
    color: #d9b88f;
    margin: 15px 0;
}

.lac-price-currency {
    font-size: 24px;
    vertical-align: super;
}

.lac-donation-package-description {
    margin-bottom: 25px;
}

.lac-donation-package-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.lac-donation-package-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #8b6f47, #a68a5e);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lac-donation-package-btn:hover {
    background: linear-gradient(135deg, #a68a5e, #b89b6f);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 111, 71, 0.4);
}

.lac-donation-info-box {
    background: linear-gradient(135deg, #fff9e6, #fff3d4);
    border-left: 4px solid #d9b88f;
    padding: 25px 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.lac-donation-info-box h3 {
    margin: 0 0 15px 0;
    color: #8b6f47;
    font-size: 20px;
}

.lac-donation-info-box p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.lac-donation-secure {
    text-align: center;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.lac-donation-secure p {
    margin: 5px 0;
    color: #666;
    font-size: 14px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .lac-donation-header h1 {
        font-size: 28px;
    }

    .lac-donation-packages h2 {
        font-size: 24px;
    }

    .lac-donation-packages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lac-package-icon {
        font-size: 48px;
    }

    .lac-donation-package-price {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .lac-donation-container {
        padding: 20px 15px;
    }

    .lac-donation-icon {
        font-size: 48px;
    }

    .lac-donation-header h1 {
        font-size: 24px;
    }

    .lac-donation-description,
    .lac-donation-info-box {
        padding: 20px;
    }
}

/* Payment Section Styles */
.lac-payment-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.lac-payment-title {
    font-size: 1.8rem;
    color: #6b5d52;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
}

.lac-payment-summary {
    background: #faf7f4;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.lac-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.lac-summary-label {
    color: #666;
}

.lac-summary-value {
    font-weight: 600;
    color: #6b5d52;
}

.lac-summary-total {
    border-top: 2px solid #e0e0e0;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 1.3rem;
}

/* Subscription Toggle Switch */
.lac-subscription-toggle {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    flex-shrink: 0;
}

.lac-subscription-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.lac-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 22px;
}

.lac-toggle-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.lac-subscription-toggle input:checked + .lac-toggle-slider {
    background-color: #2271b1;
}

.lac-subscription-toggle input:checked + .lac-toggle-slider:before {
    transform: translateX(18px);
}

/* Payment Methods */
.lac-payment-methods {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.lac-payment-method {
    flex: 1;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.lac-payment-method:hover {
    border-color: #d9b88f;
}

.lac-payment-method.selected {
    border-color: #d9b88f;
    background: #d9b88f15;
}

.lac-payment-method-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.lac-payment-method-name {
    font-weight: 600;
    color: #6b5d52;
}

/* Payment Button */
.lac-payment-button {
    width: 100%;
    padding: 18px 40px;
    background: linear-gradient(135deg, #d9b88f 0%, #6b5d52 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lac-payment-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 93, 82, 0.3);
}

.lac-payment-button:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Stripe Card Element */
#card-element {
    min-height: 50px;
}

.StripeElement {
    padding: 15px;
}

.StripeElement--focus {
    border-color: #d9b88f !important;
}

.StripeElement--invalid {
    border-color: #d63638 !important;
}

/* Custom Amount Package */
.lac-donation-package-custom-input {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 15px 0;
}

.lac-donation-package.selected {
    background: linear-gradient(135deg, #6b5d52, #8b7a6b);
    border-color: #d9b88f;
    box-shadow: 0 15px 40px rgba(107, 93, 82, 0.4);
    transform: scale(1.02);
}

.lac-donation-package.selected .lac-donation-package-header h3 {
    color: #ffffff;
}

.lac-donation-package.selected .lac-donation-package-price {
    color: #f5e5d3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.lac-donation-package.selected .lac-price-currency {
    color: #f5e5d3;
}

.lac-donation-package.selected .lac-donation-package-description p {
    color: #f0e8e0;
}

.lac-donation-package.selected .lac-package-icon {
    filter: brightness(1.3);
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Custom package selected state */
.lac-donation-package-custom.selected {
    background: linear-gradient(135deg, #6b5d52, #8b7a6b);
    border-color: #d9b88f;
}

.lac-donation-package-custom.selected input {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 2px solid #f5e5d3 !important;
    color: #333 !important;
}

.lac-donation-package-custom.selected .lac-price-currency {
    color: #f5e5d3;
}

/* Currency selector styling */
.lac-package-currency-selector {
    margin: 15px 0;
}

.package-currency-select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #d9b88f;
    border-radius: 6px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.package-currency-select:focus {
    outline: none;
    border-color: #c9a67a;
    box-shadow: 0 0 0 2px rgba(217, 184, 143, 0.2);
}

/* Selected package currency dropdown */
.lac-donation-package.selected .package-currency-select {
    background: rgba(255, 255, 255, 0.95);
    border-color: #f5e5d3;
    color: #333;
}

/* Loading Animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive for payment section */
@media (max-width: 768px) {
    /* Donation header */
    .lac-donation-header h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .lac-donation-subtitle {
        font-size: 0.95rem;
    }

    /* Donation packages */
    .lac-donation-packages h2 {
        font-size: 1.5rem;
        margin-bottom: 5px;
    }

    .lac-donation-packages-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .lac-donation-packages-grid {
        gap: 20px;
        margin-top: 20px;
    }

    .lac-donation-package {
        padding: 20px;
    }

    .lac-package-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .lac-donation-package-header h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .lac-donation-package-price {
        font-size: 28px;
    }

    .lac-price-currency {
        font-size: 18px;
    }

    /* Currency selector in packages */
    .lac-package-currency-selector {
        margin: 10px 0;
    }

    .package-currency-select {
        font-size: 0.85rem;
        padding: 5px 8px;
    }

    /* Payment methods - keep in row */
    .lac-payment-methods {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    .lac-payment-method {
        padding: 12px;
        flex: 1;
        min-width: 90px;
        max-width: 120px;
    }

    .lac-payment-method-icon {
        font-size: 20px;
    }

    .lac-payment-method-name {
        font-size: 0.85rem;
    }

    .lac-payment-section {
        padding: 30px 20px;
        margin-top: 30px;
    }

    .lac-payment-title {
        font-size: 1.4rem;
        margin-bottom: 20px;
    }

    /* Donor info form */
    .lac-donor-info {
        margin-bottom: 20px;
    }

    .lac-donor-info h4 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    /* Already in single column, no need to change */

    /* Auto-renew section */
    #recurring-toggle-container {
        margin: 10px 0;
        padding: 10px 12px;
    }

    #recurring-toggle-container span {
        font-size: 0.85rem;
    }

    /* Summary section */
    .lac-payment-summary {
        padding: 12px;
        margin-bottom: 15px;
    }

    .lac-summary-row {
        font-size: 0.95rem;
    }

    .lac-summary-total {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* Further reduce sizes for small screens */
    .lac-donation-header h1 {
        font-size: 1.5rem;
    }

    .lac-donation-header .lac-donation-icon {
        font-size: 40px;
    }

    .lac-donation-subtitle {
        font-size: 0.85rem;
    }

    .lac-donation-description {
        padding: 15px;
        margin: 15px 0;
    }

    .lac-donation-description p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Donation packages on mobile */
    .lac-donation-packages h2 {
        font-size: 1.3rem;
    }

    .lac-donation-package {
        padding: 15px;
    }

    .lac-package-icon {
        font-size: 32px;
    }

    .lac-donation-package-header h3 {
        font-size: 1.05rem;
    }

    .lac-donation-package-price {
        font-size: 24px;
        margin: 10px 0;
    }

    .lac-price-currency {
        font-size: 16px;
    }

    .lac-donation-package-description p {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    /* Custom amount input */
    #custom-amount-input {
        width: 100px !important;
        font-size: 0.9rem !important;
    }

    /* Payment section */
    .lac-payment-section {
        padding: 20px 10px;
    }

    .lac-payment-title {
        font-size: 1.2rem;
    }

    /* Payment methods - single row */
    .lac-payment-method {
        padding: 10px 8px;
        min-width: 80px;
    }

    .lac-payment-method-icon {
        font-size: 18px;
        margin-bottom: 3px;
    }

    .lac-payment-method-name {
        font-size: 0.75rem;
    }

    .lac-payment-method > div:last-child {
        display: none; /* Hide subtitle on very small screens */
    }

    .lac-payment-summary {
        padding: 10px;
        font-size: 0.9rem;
    }

    .lac-summary-total {
        font-size: 1rem;
    }

    /* Payment button */
    .lac-payment-button {
        padding: 12px 20px;
        font-size: 0.95rem;
    }

    /* Info boxes */
    .lac-donation-info-box {
        padding: 15px;
        margin: 20px 0;
    }

    .lac-donation-info-box h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }

    .lac-donation-info-box p {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .lac-donation-secure p {
        font-size: 0.8rem;
    }

    /* Impact section on mobile */
    .lac-donation-impact-section {
        padding: 20px 10px;
        margin: 20px 0;
    }

    .lac-impact-title {
        font-size: 1.3rem;
    }

    .lac-impact-icon {
        font-size: 28px;
    }

    .lac-impact-intro {
        font-size: 0.85rem !important;
        padding: 10px;
    }

    .lac-impact-breakdown {
        gap: 15px;
    }

    .lac-impact-item {
        padding: 12px;
    }

    .lac-impact-bullet {
        font-size: 20px;
    }

    .lac-impact-text strong {
        font-size: 0.95rem;
    }

    .lac-impact-text p {
        font-size: 0.85rem;
        margin-top: 5px;
    }
}
/* ============================================
   CONTRIBUTOR DASHBOARD STYLES
   Add this to: wp-content/plugins/light-a-candle/assets/css/style.css
   ============================================ */

/* Dashboard Container */
.lac-contributor-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Dashboard Header */
.lac-dashboard-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #8b6f47, #a68a5e);
    border-radius: 15px;
    color: white;
}

.lac-welcome-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.lac-dashboard-header h1 {
    font-size: 2.5rem;
    color: white;
    margin: 0 0 10px 0;
}

.lac-dashboard-subtitle {
    font-size: 1.2rem;
    margin: 10px 0;
    opacity: 0.9;
}

.lac-dashboard-email {
    font-size: 1rem;
    margin: 10px 0 0 0;
    opacity: 0.8;
}

/* Summary Cards */
.lac-dashboard-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.lac-summary-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lac-summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.lac-card-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.lac-card-content h3 {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.lac-card-amount {
    font-size: 2.2rem;
    font-weight: 700;
    color: #d9b88f;
    margin: 0 0 5px 0;
    line-height: 1;
}

.lac-card-subtitle {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

/* Dashboard Section */
.lac-dashboard-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.lac-dashboard-section h2 {
    margin-top: 0;
    margin-bottom: 30px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lac-section-icon {
    font-size: 1.5rem;
}

/* Subscriptions List */
.lac-subscriptions-list {
    display: grid;
    gap: 20px;
}

.lac-subscription-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: border-color 0.3s ease;
}

.lac-subscription-card:hover {
    border-color: #d9b88f;
}

.lac-subscription-info {
    flex: 1;
}

.lac-subscription-info h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.3rem;
}

.lac-subscription-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d9b88f;
    margin: 0 0 15px 0;
}

.lac-period {
    font-size: 1rem;
    color: #666;
    font-weight: 400;
}

.lac-subscription-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.lac-meta-item {
    font-size: 0.95rem;
    color: #666;
}

.lac-meta-item strong {
    color: #333;
}

/* Status Badges */
.lac-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lac-status-completed,
.lac-status-active {
    background: #00a32a;
    color: white;
}

.lac-status-pending {
    background: #f0b849;
    color: #664d03;
}

.lac-status-canceled,
.lac-status-cancelled {
    background: #666;
    color: white;
}

/* Subscription Actions */
.lac-subscription-actions {
    text-align: right;
}

.lac-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lac-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.lac-btn-cancel {
    background: #d63638;
    color: white;
}

.lac-btn-cancel:hover:not(:disabled) {
    background: #b32629;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(211, 54, 56, 0.3);
}

.lac-cancel-note {
    margin: 10px 0 0 0;
    font-size: 0.85rem;
    color: #999;
}

/* Donations Table */
.lac-table-responsive {
    overflow-x: auto;
}

.lac-donations-table {
    width: 100%;
    border-collapse: collapse;
}

.lac-donations-table th {
    background: #f5f5f5;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
}

.lac-donations-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #666;
}

.lac-donations-table tbody tr:hover {
    background: #f9f9f9;
}

.lac-amount-cell {
    font-weight: 700;
    color: #d9b88f;
    font-size: 1.1rem;
}

/* Badges */
.lac-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.lac-badge-recurring {
    background: #e3f2fd;
    color: #1976d2;
}

.lac-badge-onetime {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Thank You Box */
.lac-thank-you-box {
    background: linear-gradient(135deg, #fff9e6, #fff3d4);
    border-left: 4px solid #d9b88f;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
}

.lac-thank-you-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.lac-thank-you-box h3 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 1.8rem;
}

.lac-thank-you-box p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.lac-thank-you-footer {
    margin-top: 20px;
    font-size: 0.95rem;
    color: #999;
    font-style: italic;
}

/* Error Message */
.lac-error {
    background: #f8d7da;
    color: #721c24;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #d63638;
}

.lac-error h3 {
    margin-top: 0;
}

/* No Data Message */
.lac-no-data {
    text-align: center;
    padding: 40px;
    color: #999;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lac-contributor-dashboard {
        padding: 20px 15px;
    }

    .lac-dashboard-header {
        padding: 30px 20px;
    }

    .lac-dashboard-header h1 {
        font-size: 1.8rem;
    }

    .lac-dashboard-summary {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lac-summary-card {
        padding: 20px;
    }

    .lac-card-amount {
        font-size: 1.8rem;
    }

    .lac-dashboard-section {
        padding: 25px 20px;
    }

    .lac-subscription-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .lac-subscription-actions {
        width: 100%;
        text-align: left;
    }

    .lac-btn {
        width: 100%;
    }

    .lac-subscription-meta {
        flex-direction: column;
        gap: 10px;
    }

    /* Table Responsive */
    .lac-donations-table {
        font-size: 0.9rem;
    }

    .lac-donations-table thead {
        display: none;
    }

    .lac-donations-table,
    .lac-donations-table tbody,
    .lac-donations-table tr,
    .lac-donations-table td {
        display: block;
        width: 100%;
    }

    .lac-donations-table tr {
        margin-bottom: 20px;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        padding: 15px;
    }

    .lac-donations-table td {
        padding: 10px 0;
        border: none;
        text-align: right;
    }

    .lac-donations-table td:before {
        content: attr(data-label);
        float: left;
        font-weight: 600;
        color: #333;
    }

    .lac-thank-you-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .lac-dashboard-header h1 {
        font-size: 1.5rem;
    }

    .lac-welcome-icon {
        font-size: 3rem;
    }

    .lac-card-icon {
        font-size: 2.5rem;
    }

    .lac-subscription-amount {
        font-size: 1.5rem;
    }
}

/* === Inline Thank You Section (Step 3 Combined) === */
#lac-thank-you-section {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.lac-thank-you-content-inline {
    text-align: center;
    padding: 10px 0;
}

.lac-thank-you-content-inline h2 {
    font-size: 26px;
    margin: 0;
    color: #d9b88f;
}

.lac-thank-you-content-inline h3 {
    font-size: 18px;
    margin: 5px 0 12px 0;
    color: #333;
    font-weight: 400;
}

.lac-thank-you-content-inline p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    margin: 0 auto;
    max-width: 400px;
}

/* Final Actions (Combined Step 3) */
.lac-final-actions {
    margin-top: 15px;
    text-align: center;
}

.lac-final-actions .lac-contribute-section {
    margin: 12px auto;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    border-radius: 10px;
    max-width: 350px;
}

.lac-final-actions .lac-contribute-text {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
}

.lac-final-actions .lac-btn-contribute {
    padding: 10px 25px;
}

.lac-modal-close-final {
    margin-top: 10px;
    padding: 10px 30px;
}

/* Responsive adjustments for inline thank you */
@media (max-width: 768px) {
    .lac-thank-you-content-inline h2 {
        font-size: 26px;
    }

    .lac-thank-you-content-inline h3 {
        font-size: 18px;
    }

    .lac-thank-you-content-inline p {
        font-size: 14px;
        padding: 0 10px;
    }

    .lac-final-actions .lac-contribute-section {
        margin: 15px 10px;
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    #lac-thank-you-section {
        margin-top: 20px;
        padding-top: 20px;
    }

    .lac-thank-you-content-inline h2 {
        font-size: 22px;
    }

    .lac-thank-you-content-inline h3 {
        font-size: 16px;
    }
}

/* === Auto-Renew Toggle (Compact) === */
.lac-auto-renew-section {
    margin-top: 15px;
    padding: 10px 12px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e5e5e5;
}

.lac-auto-renew-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
    gap: 8px;
}

.lac-auto-renew-toggle input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.lac-toggle-slider {
    position: relative;
    width: 36px;
    height: 18px;
    background: #ccc;
    border-radius: 18px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.lac-toggle-slider::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    background: white;
    border-radius: 50%;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.lac-auto-renew-toggle input[type="checkbox"]:checked + .lac-toggle-slider {
    background: #5cb85c;
}

.lac-auto-renew-toggle input[type="checkbox"]:checked + .lac-toggle-slider::before {
    transform: translateX(18px);
}

.lac-toggle-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.lac-toggle-icon {
    font-size: 13px;
}

.lac-toggle-label {
    font-weight: 500;
    color: #555;
    font-size: 13px;
}

.lac-auto-renew-description {
    margin: 4px 0 0 44px;
    font-size: 11px;
    color: #888;
    line-height: 1.3;
}

@media (max-width: 480px) {
    .lac-auto-renew-section {
        padding: 8px 10px;
    }

    .lac-auto-renew-description {
        margin-left: 0;
        margin-top: 6px;
    }
}
