/* JCA Multi-Event Registration Styles */

:root {
    --primary-color: #007cba;
    --secondary-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --light-bg: #f8f9fa;
    --border-color: #dee2e6;
    --text-dark: #333;
    --text-light: #666;
}

* {
    box-sizing: border-box;
}

.jca-registration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.jca-form-wrapper {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
}

.jca-form-title {
    text-align: center;
    color: var(--primary-color);
    font-size: 32px;
    margin-bottom: 30px;
    font-weight: 700;
}

/* Stage Banner */
.jca-stage-banner {
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.jca-stage-banner.stage-early_bird {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.jca-stage-banner.stage-priority {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.jca-stage-banner.stage-regular {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

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

/* Form Sections */
.jca-form-section {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.jca-form-section h3 {
    color: var(--text-dark);
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.jca-info-text {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

/* Form Groups */
.jca-form-group {
    margin-bottom: 25px;
}

.jca-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.jca-form-group input[type="text"],
.jca-form-group input[type="email"],
.jca-form-group input[type="tel"],
.jca-form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
}

.jca-form-group input:focus,
.jca-form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.jca-form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 13px;
}

.jca-form-group small a,
.jca-register-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.jca-register-link {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    background: #e3f2fd;
    border-radius: 4px;
    margin-left: 5px;
}

.jca-register-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(2px);
}

#jca-id-status {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    display: none;
}

#jca-id-status.valid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#jca-id-status.invalid {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Events Grid */
.jca-event-category {
    margin-bottom: 40px;
}

.jca-category-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    padding: 12px 20px;
    border-radius: 8px;
    display: inline-block;
}

.jca-category-title.beginner {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
}

.jca-category-title.intermediate {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
}

.jca-category-title.advanced {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: white;
}

.jca-category-title.bonus {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    color: white;
}

.jca-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.jca-event-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.jca-event-level-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.jca-event-level-badge.beginner {
    background: #22c55e;
    color: white;
}

.jca-event-level-badge.intermediate {
    background: #f59e0b;
    color: white;
}

.jca-event-level-badge.advanced {
    background: #ef4444;
    color: white;
}

.jca-event-level-badge.bonus {
    background: #8b5cf6;
    color: white;
}

.jca-event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

.jca-event-card.selected {
    border-color: var(--primary-color);
    background: #e3f2fd;
}

.jca-event-card.mandatory {
    border-color: var(--warning-color);
    background: #fff3cd;
}

.jca-event-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--light-bg);
}

.jca-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jca-event-content {
    padding: 20px;
}

.jca-event-content h4 {
    margin: 0 0 10px 0;
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 600;
}

.jca-event-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.jca-event-special {
    color: #f59e0b;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    padding: 8px;
    background: #fef3c7;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
}

.jca-merit-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 10px;
    padding: 6px 12px;
    background: #e3f2fd;
    border-radius: 6px;
    transition: all 0.3s;
}

.jca-merit-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(3px);
}

.jca-event-checkbox {
    display: flex;
    align-items: center;
}

.jca-event-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

.jca-event-checkbox label {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
}

.jca-event-counter {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    font-size: 18px;
    color: #000;
}

.jca-event-counter strong {
    color: var(--primary-color);
    font-size: 24px;
}

/* Add black color to event counter text */
.jca-event-counter {
    color: #000;
}

/* Pricing Cards */
.jca-pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.jca-pricing-card {
    background: white;
    border: 3px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
}

.jca-pricing-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.jca-pricing-card.active {
    border-color: var(--primary-color);
    background: #e3f2fd;
}

.jca-stage-badge {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.jca-stage-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    margin: 15px 0;
}

.jca-pricing-card p {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
}

/* Fee Breakdown */
.jca-fee-breakdown {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.jca-fee-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 16px;
    color: #000;
}

.jca-fee-row:last-child {
    border-bottom: none;
}

.jca-fee-row.total-row {
    border-top: 3px solid var(--primary-color);
    padding-top: 15px;
    margin-top: 10px;
    font-size: 20px;
    color: var(--primary-color);
}

.jca-fee-row .discount {
    color: var(--secondary-color);
    font-weight: 600;
}

.jca-fee-row.hidden {
    display: none;
}

/* Coupon Section */
.jca-coupon-group {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.jca-coupon-group input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
}

#coupon-message {
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    display: none;
}

#coupon-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#coupon-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Info Box */
.jca-info-box {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e3f2fd;
}

.jca-info-box h4 {
    color: var(--primary-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.jca-info-box h4:first-child {
    margin-top: 0;
}

.jca-info-box ul {
    margin: 0;
    padding-left: 20px;
}

.jca-info-box li {
    margin-bottom: 10px;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Terms */
.jca-terms {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid var(--warning-color);
    margin-top: 20px;
}

.jca-terms label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.6;
}

.jca-terms input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    margin-top: 2px;
    cursor: pointer;
}

/* Buttons */
.jca-btn-primary,
.jca-btn-secondary {
    padding: 14px 32px;
    border: 2px solid #8099E9;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: #8099E9;
    color: white;
}

.jca-btn-primary:hover,
.jca-btn-secondary:hover {
    background: white;
    color: #8099E9;
    border-color: #8099E9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 153, 233, 0.3);
}

.jca-btn-primary:disabled,
.jca-btn-secondary:disabled {
    background: #6c757d;
    border-color: #6c757d;
    cursor: not-allowed;
    transform: none;
    color: white;
}

.jca-btn-primary:disabled:hover,
.jca-btn-secondary:disabled:hover {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

/* Fix all text colors to black */
.jca-fee-row,
.jca-fee-row span,
.jca-event-counter,
.jca-event-counter span,
.jca-event-counter strong,
#base-amount,
#stage-discount,
#final-amount,
#selected-count {
    color: #000 !important;
}

.jca-form-actions {
    text-align: center;
    margin-top: 40px;
}

.jca-form-actions button {
    min-width: 250px;
}

/* Modal */
.jca-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.jca-modal-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideIn 0.3s ease-out;
}

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

.jca-modal-content h2 {
    color: var(--secondary-color);
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
}

.jca-modal-content,
.jca-modal-content * {
    color: #000 !important;
}

.jca-modal-content h2 {
    color: var(--secondary-color) !important;
}

.jca-payment-info {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 20px 0;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jca-form-wrapper {
        padding: 20px;
    }
    
    .jca-events-grid {
        grid-template-columns: 1fr;
    }
    
    .jca-pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .jca-coupon-group {
        flex-direction: column;
    }
    
    .jca-form-title {
        font-size: 24px;
    }
    
    .jca-form-section {
        padding: 20px;
    }
}

/* Loading State */
.jca-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.6;
}

.jca-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Incentive Popup */
.jca-incentive-popup {
    background: #fff3cd;
    border: 2px solid var(--warning-color);
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    animation: slideIn 0.5s ease-out;
}

.jca-incentive-popup h4 {
    color: #856404;
    margin-top: 0;
    font-size: 20px;
}

.jca-incentive-popup p {
    color: #856404;
    line-height: 1.6;
    margin-bottom: 15px;
}

.jca-incentive-popup button {
    margin-right: 10px;
}


/* ========================================
   STAGE FEE CARDS - Added for Stage Display
   ======================================== */

/* Stage Fee Cards Container */
.jca-stage-fee-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 15px;
}

.jca-stage-fee-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.jca-stage-fee-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.jca-stage-fee-card.active {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border: 3px solid #667eea;
}

.jca-stage-fee-card.active::after {
    content: '✓ ACTIVE NOW';
    position: absolute;
    top: 15px;
    right: -35px;
    background: #22c55e;
    color: white;
    padding: 5px 40px;
    font-size: 11px;
    font-weight: bold;
    transform: rotate(45deg);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.jca-stage-fee-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

/* Stage Header */
.jca-stage-header {
    text-align: center;
    margin-bottom: 20px;
}

.jca-stage-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.jca-stage-name {
    font-size: 22px;
    font-weight: bold;
    margin: 10px 0;
    color: #1e293b;
}

.jca-stage-discount {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
}

.jca-stage-fee-card.early-bird .jca-stage-discount {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
}

.jca-stage-fee-card.priority .jca-stage-discount {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.jca-stage-fee-card.regular .jca-stage-discount {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Pricing Table */
.jca-stage-pricing-table {
    margin: 20px 0;
}

.jca-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.jca-pricing-row:last-child {
    border-bottom: none;
}

.jca-pricing-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.jca-pricing-values {
    display: flex;
    align-items: center;
    gap: 8px;
}

.jca-pricing-value {
    font-size: 18px;
    font-weight: bold;
    color: #1e293b;
}

.jca-pricing-value.actual {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 400;
}

/* Stage Features */
.jca-stage-features {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #e5e7eb;
}

.jca-stage-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jca-stage-features li {
    padding: 8px 0;
    font-size: 13px;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.jca-stage-features li::before {
    content: '✓';
    color: #22c55e;
    font-weight: bold;
    font-size: 16px;
}

/* Comparison Note */
.jca-stage-comparison-note {
    text-align: center;
    margin-top: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    font-size: 14px;
    color: #64748b;
}

.jca-stage-comparison-note strong {
    color: #1e293b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jca-stage-fee-cards {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 15px;
    }
    
    .jca-stage-fee-card.active {
        transform: scale(1);
    }
    
    .jca-stage-fee-card:hover {
        transform: none;
    }
}

/* Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.jca-stage-fee-card {
    animation: slideInUp 0.5s ease-out;
}

.jca-stage-fee-card:nth-child(1) {
    animation-delay: 0.1s;
}

.jca-stage-fee-card:nth-child(2) {
    animation-delay: 0.2s;
}

.jca-stage-fee-card:nth-child(3) {
    animation-delay: 0.3s;
}


/* ========================================
   INCENTIVE POPUPS - Added for Popup Modals
   ======================================== */

/* INCENTIVE MODAL OVERLAY & CONTAINER */
.jca-incentive-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.jca-incentive-modal.active {
    opacity: 1;
    visibility: visible;
}

.jca-incentive-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.jca-incentive-content {
    position: relative;
    background: white;
    border-radius: 20px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jca-incentive-modal.active .jca-incentive-content {
    transform: scale(1) translateY(0);
}

/* INCENTIVE HEADER */
.jca-incentive-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.jca-incentive-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 3s ease-in-out infinite;
}

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

.jca-incentive-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 15px;
    animation: bounce 1s ease-in-out infinite;
}

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

.jca-incentive-header h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* INCENTIVE BODY */
.jca-incentive-body {
    padding: 30px;
}

.jca-incentive-main-text {
    font-size: 16px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 20px;
    text-align: center;
}

.jca-incentive-main-text strong {
    color: #667eea;
    font-weight: 700;
}

.jca-incentive-description {
    font-size: 15px;
    line-height: 1.6;
    color: #64748b;
    text-align: center;
    margin: 20px 0;
}

/* RELAY CUBES DISPLAY */
.jca-relay-cubes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.jca-relay-cube {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(34, 197, 94, 0.3);
    animation: slideInUp 0.5s ease-out;
}

.jca-relay-cube.advanced {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.jca-relay-arrow {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

/* HIGHLIGHT SECTIONS */
.jca-incentive-highlight {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 15px;
    padding: 25px;
    margin: 25px 0;
    text-align: center;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.2);
}

/* Price Badge */
.jca-price-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.jca-special-price {
    font-size: 48px;
    font-weight: 900;
    color: #f59e0b;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.jca-price-label {
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Free Badge */
.jca-free-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.jca-free-text {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.jca-free-label {
    font-size: 16px;
    font-weight: 600;
    color: #166534;
}

/* INCENTIVE NOTE */
.jca-incentive-note {
    background: #f1f5f9;
    border-left: 4px solid #667eea;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 14px;
    color: #475569;
}

.jca-incentive-note strong {
    color: #334155;
    font-weight: 700;
}

/* INCENTIVE ACTIONS */
.jca-incentive-actions {
    padding: 0 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.jca-incentive-actions .jca-btn-primary,
.jca-incentive-actions .jca-btn-secondary {
    width: 100%;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.jca-incentive-actions .jca-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.jca-incentive-actions .jca-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.jca-incentive-actions .jca-btn-secondary {
    background: white;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.jca-incentive-actions .jca-btn-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

/* INCENTIVE BADGES ON EVENT CARDS */
.jca-incentive-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    animation: slideInDown 0.5s ease-out;
}

.jca-incentive-badge.free {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.jca-incentive-badge.special {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

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

/* Event card incentive styling */
.jca-event-card.incentive {
    border: 3px solid #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.jca-event-card.free-incentive {
    border-color: #22c55e;
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3);
}

.jca-event-card.paid-incentive {
    border-color: #f59e0b;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

/* SUCCESS TOAST NOTIFICATION */
.jca-success-toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 15px;
    z-index: 10001;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.jca-success-toast.show {
    bottom: 30px;
}

.jca-toast-icon {
    width: 28px;
    height: 28px;
    background: white;
    color: #22c55e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .jca-incentive-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .jca-incentive-header {
        padding: 25px 20px;
    }
    
    .jca-incentive-icon {
        font-size: 50px;
    }
    
    .jca-incentive-header h3 {
        font-size: 22px;
    }
    
    .jca-incentive-body {
        padding: 20px;
    }
    
    .jca-incentive-actions {
        padding: 0 20px 20px;
    }
    
    .jca-relay-cubes {
        gap: 8px;
    }
    
    .jca-relay-cube {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .jca-special-price,
    .jca-free-text {
        font-size: 36px;
    }
    
    .jca-success-toast {
        width: 90%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .jca-incentive-header h3 {
        font-size: 20px;
    }
    
    .jca-incentive-main-text {
        font-size: 15px;
    }
    
    .jca-relay-cubes {
        flex-direction: column;
        gap: 10px;
    }
    
    .jca-relay-arrow {
        transform: rotate(90deg);
    }
}

/* ACCESSIBILITY */
.jca-incentive-modal:focus-within {
    outline: none;
}

.jca-incentive-actions button:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .jca-incentive-modal,
    .jca-incentive-content,
    .jca-incentive-icon,
    .jca-relay-cube,
    .jca-incentive-badge,
    .jca-success-toast {
        animation: none;
        transition: none;
    }
}

/* ========================================
   PAYMENT QR CODE SECTION
   ======================================== */

.jca-payment-qr-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.jca-qr-container {
    text-align: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.jca-qr-image {
    margin-bottom: 20px;
    background: white;
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
}

.jca-qr-image img {
    max-width: 280px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.jca-qr-instruction {
    font-size: 18px;
    font-weight: 700;
    color: white;
    margin: 15px 0;
}

.jca-qr-details {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.jca-qr-details p {
    margin: 8px 0;
    font-size: 15px;
    color: white;
}

.jca-qr-details strong {
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
}

#qr-final-amount {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
}

.jca-payment-upload {
    background: white;
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #8099E9;
    box-shadow: 0 4px 15px rgba(128, 153, 233, 0.2);
}

.jca-payment-upload h4 {
    color: #1f2937;
    font-size: 20px;
    margin-bottom: 10px;
}

.jca-upload-instruction {
    color: #6b7280;
    font-size: 15px;
    margin-bottom: 25px;
}

.jca-file-upload-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.jca-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 10;
}

.jca-file-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 25px;
    background: #8099E9;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #8099E9;
}

.jca-file-label:hover {
    background: white;
    color: #8099E9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 153, 233, 0.3);
}

.jca-upload-icon {
    font-size: 22px;
}

.jca-screenshot-preview {
    text-align: center;
    padding: 25px;
    background: #f9fafb;
    border-radius: 10px;
    border: 2px dashed #8099E9;
}

.jca-screenshot-preview img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.jca-remove-screenshot {
    background: #ef4444;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.jca-remove-screenshot:hover {
    background: #dc2626;
    transform: translateY(-2px);
}

.jca-upload-note {
    background: #fef3c7;
    padding: 18px;
    border-radius: 10px;
    border-left: 4px solid #f59e0b;
    font-size: 14px;
    color: #92400e;
    margin-top: 20px;
    line-height: 1.6;
}

.jca-upload-note strong {
    color: #78350f;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jca-payment-qr-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .jca-qr-container {
        padding: 20px;
    }
    
    .jca-qr-image img {
        max-width: 220px;
    }
    
    .jca-payment-upload {
        padding: 20px;
    }
}


/* ========================================
   CUSTOM NOTIFICATION SYSTEM
   ======================================== */

/* Notification Styles */
.jca-notification {
    position: fixed;
    top: -100px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    font-weight: 600;
    transition: all 0.3s ease;
    max-width: 400px;
    animation: slideInDown 0.3s ease-out;
}

.jca-notification.show {
    top: 20px;
}

.jca-notification-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
}

.jca-notification-error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.jca-notification-info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.jca-notification-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .jca-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Trophy Information Styles */
.trophy-info {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    color: #1a1a1a;
}

.jca-trophy-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.jca-trophy-icon {
    font-size: 60px;
    flex-shrink: 0;
}

.jca-trophy-details h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: bold;
}

.jca-trophy-details ul {
    margin: 15px 0 0 0;
    padding-left: 20px;
}

.jca-trophy-details li {
    margin-bottom: 5px;
}

/* Practice Timer Information Styles */
.practice-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.jca-practice-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.jca-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.jca-link-icon {
    font-size: 30px;
    flex-shrink: 0;
}

.jca-link-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.jca-link-content p {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.jca-practice-link {
    color: #ffd700 !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.jca-practice-link:hover {
    text-decoration: underline;
}

/* General Information Styles */
.general-info {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
}

.jca-info-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 20px;
}

.jca-info-link-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.jca-info-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.jca-info-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 16px;
}

.jca-info-content p {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.jca-info-link {
    color: #ffd700 !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.jca-info-link:hover {
    text-decoration: underline;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .jca-trophy-content {
        flex-direction: column;
        text-align: center;
    }
    
    .jca-trophy-icon {
        font-size: 40px;
    }
    
    .jca-practice-links {
        grid-template-columns: 1fr;
    }
    
    .jca-link-item,
    .jca-info-link-item {
        flex-direction: column;
        text-align: center;
    }
    
    .jca-link-icon,
    .jca-info-icon {
        font-size: 20px;
    }
}
/* Desktop 2-column layout for Cuber Details form rows */
@media (min-width: 769px) {
    .jca-form-row-desktop {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .jca-form-row-desktop .jca-form-group {
        margin-bottom: 0;
    }
}

/* Mobile: stack normally */
@media (max-width: 768px) {
    .jca-form-row-desktop {
        display: block;
    }
}

/* Registration Type Selector */
.jca-reg-type-selector {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 12px;
    border: 3px solid #e5e7eb;
}

.jca-reg-type-label {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
    text-align: center;
}

.jca-reg-type-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.jca-reg-type-btn {
    padding: 18px 20px;
    background: white;
    border: 3px solid #d1d5db;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.jca-reg-type-btn:hover {
    border-color: #8099E9;
    color: #8099E9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(128, 153, 233, 0.2);
}

.jca-reg-type-btn.active {
    background: linear-gradient(135deg, #8099E9 0%, #667eea 100%);
    border-color: #8099E9;
    color: white;
    box-shadow: 0 6px 20px rgba(128, 153, 233, 0.4);
}

@media (max-width: 768px) {
    .jca-reg-type-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .jca-reg-type-btn {
        padding: 15px;
        font-size: 15px;
    }
}

/* Under 18 and Parents pricing notes */
.jca-under18-pricing-note {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    padding: 20px;
    border-radius: 10px;
    border-left: 5px solid #3b82f6;
    margin-top: 20px;
    font-size: 16px;
    color: #1e3a8a;
    text-align: center;
    font-weight: 600;
}

.jca-under18-pricing-note strong {
    color: #1e40af;
    font-size: 18px;
}

#u18-3x3-price,
#u18-total-price,
#parents-3x3-price {
    font-size: 20px;
    font-weight: 800;
    color: #1e40af;
}
.jca-registration-container {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.jca-registration-container.form-ready {
    opacity: 1;
}

.jca-form-loading {
    text-align: center;
    padding: 40px;
    font-size: 18px;
    color: #666;
}

.jca-form-loading::after {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 10px;
}

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

/* Error States */
.jca-form-error {
    background: #fee;
    border: 1px solid #fcc;
    color: #c33;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    text-align: center;
}

.jca-form-error strong {
    display: block;
    margin-bottom: 5px;
}

/* Event Image Placeholders */
.jca-event-placeholder {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    text-align: center;
    border-radius: 8px;
    font-size: 16px;
    padding: 20px;
    box-sizing: border-box;
}

.jca-event-placeholder.beginner {
    background: linear-gradient(135deg, #22c55e, #16a34a);
}

.jca-event-placeholder.intermediate {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.jca-event-placeholder.advanced {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.jca-event-placeholder.bonus {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* QR Code Placeholder */
.jca-qr-placeholder {
    width: 250px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-weight: bold;
    border-radius: 8px;
    font-size: 18px;
    text-align: center;
}
/* Duplicate Registration Popup */
.jca-duplicate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.jca-duplicate-modal.active {
    opacity: 1;
    visibility: visible;
}

.jca-duplicate-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.jca-duplicate-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.jca-duplicate-modal.active .jca-duplicate-content {
    transform: translate(-50%, -50%) scale(1);
}

.jca-duplicate-header {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 25px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.jca-duplicate-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 10px;
}

.jca-duplicate-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.jca-duplicate-body {
    padding: 30px;
}

.jca-duplicate-main-text {
    font-size: 16px;
    color: #374151;
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.6;
}

.jca-existing-details {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.jca-existing-details h4 {
    margin: 0 0 15px 0;
    color: #92400e;
    font-size: 16px;
    font-weight: bold;
}

.jca-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #fbbf24;
}

.jca-detail-row:last-child {
    border-bottom: none;
}

.jca-detail-label {
    font-weight: 600;
    color: #92400e;
}

.jca-detail-value {
    font-weight: bold;
    color: #1f2937;
}

.jca-duplicate-note {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    padding: 15px;
    border-radius: 5px;
    font-size: 14px;
    color: #0c4a6e;
    line-height: 1.5;
}

.jca-duplicate-actions {
    padding: 0 30px 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.jca-duplicate-actions .jca-btn-primary,
.jca-duplicate-actions .jca-btn-secondary {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.jca-duplicate-actions .jca-btn-primary {
    background: linear-gradient(135deg, #059669, #047857);
    color: white;
}

.jca-duplicate-actions .jca-btn-primary:hover {
    background: linear-gradient(135deg, #047857, #065f46);
    transform: translateY(-2px);
}

.jca-duplicate-actions .jca-btn-secondary {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
}

.jca-duplicate-actions .jca-btn-secondary:hover {
    background: linear-gradient(135deg, #0369a1, #075985);
    transform: translateY(-2px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .jca-duplicate-content {
        width: 95%;
        margin: 20px;
    }
    
    .jca-duplicate-header {
        padding: 20px;
    }
    
    .jca-duplicate-icon {
        font-size: 36px;
    }
    
    .jca-duplicate-header h3 {
        font-size: 20px;
    }
    
    .jca-duplicate-body {
        padding: 20px;
    }
    
    .jca-duplicate-actions {
        padding: 0 20px 20px;
        flex-direction: column;
    }
    
    .jca-duplicate-actions .jca-btn-primary,
    .jca-duplicate-actions .jca-btn-secondary {
        width: 100%;
        min-width: auto;
    }
    
    .jca-detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}