/**
 * DuneCross 6.0 Registration - Frontend Styles
 */

/* ============================================
   CSS Variables for Different Templates
   ============================================ */

:root {
    /* Default Template Colors */
    --rmc-orange: #F37021;
    --rmc-orange-dark: #D85A10;
    --rmc-gray-dark: #2D2D2D;
    --rmc-gray: #4A4A4A;
    --rmc-gray-light: #6B6B6B;
    --rmc-black: #1A1A1A;
    --white: #FFFFFF;
    --off-white: #F8F8F8;
    --light-gray: #E5E5E5;
    
    /* Form Width Options */
    --form-width-narrow: 600px;
    --form-width-normal: 800px;
    --form-width-wide: 1000px;
    --form-width-full: 100%;
}

/* Width Classes */
.dcr-width-narrow .dcr-form-container { max-width: var(--form-width-narrow); }
.dcr-width-normal .dcr-form-container { max-width: var(--form-width-normal); }
.dcr-width-wide .dcr-form-container { max-width: var(--form-width-wide); }
.dcr-width-full .dcr-form-container { max-width: var(--form-width-full); padding: 0 40px; }

/* ============================================
   DARK TEMPLATE
   ============================================ */
.dcr-template-dark {
    --rmc-orange: #F37021;
    --rmc-orange-dark: #D85A10;
    --rmc-gray-dark: #1A1A1A;
    --rmc-gray: #333333;
    --rmc-gray-light: #888888;
    --white: #2D2D2D;
    --off-white: #1A1A1A;
    --light-gray: #3A3A3A;
}

.dcr-template-dark .dcr-form-wrapper {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
}

.dcr-template-dark .dcr-header {
    background: #1A1A1A;
    border-bottom: 1px solid #333;
}

.dcr-template-dark .dcr-logo-top,
.dcr-template-dark .dcr-logo-bottom {
    color: #888;
}

.dcr-template-dark .dcr-logo-main {
    color: #fff;
}

.dcr-template-dark .dcr-form-card {
    background: #2D2D2D;
    border: 1px solid #3A3A3A;
}

.dcr-template-dark .dcr-form-group input,
.dcr-template-dark .dcr-form-group textarea {
    background: #1A1A1A;
    border-color: #3A3A3A;
    color: #E5E5E5;
}

.dcr-template-dark .dcr-form-group input::placeholder,
.dcr-template-dark .dcr-form-group textarea::placeholder {
    color: #666;
}

.dcr-template-dark .dcr-form-group input:focus,
.dcr-template-dark .dcr-form-group textarea:focus {
    background: #252525;
    border-color: var(--rmc-orange);
}

.dcr-template-dark .dcr-form-group label {
    color: #aaa;
}

.dcr-template-dark .dcr-section-title {
    color: var(--rmc-orange);
    border-bottom-color: #3A3A3A;
}

.dcr-template-dark .dcr-form-footer {
    background: #1A1A1A;
    border-top-color: #3A3A3A;
}

.dcr-template-dark .dcr-footer-secure,
.dcr-template-dark .dcr-footer-brand {
    color: #888;
}

.dcr-template-dark .dcr-submit-section {
    border-top-color: #3A3A3A;
}

.dcr-template-dark .dcr-accent-bar {
    background: linear-gradient(90deg, var(--rmc-orange), #ff8c42, var(--rmc-orange));
}

/* ============================================
   MINIMAL TEMPLATE
   ============================================ */
.dcr-template-minimal .dcr-form-wrapper {
    background: #ffffff;
}

.dcr-template-minimal .dcr-header {
    background: transparent;
    box-shadow: none;
    padding: 40px 20px;
}

.dcr-template-minimal .dcr-logo-section {
    flex-direction: column;
    text-align: center;
}

.dcr-template-minimal .dcr-event-badge {
    background: var(--rmc-gray-dark);
    border-radius: 4px;
}

.dcr-template-minimal .dcr-accent-bar {
    display: none;
}

.dcr-template-minimal .dcr-form-card {
    box-shadow: none;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.dcr-template-minimal .dcr-form-header {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
}

.dcr-template-minimal .dcr-form-header::after {
    display: none;
}

.dcr-template-minimal .dcr-form-header h2 {
    color: var(--rmc-gray-dark);
}

.dcr-template-minimal .dcr-form-header p {
    color: #666;
}

.dcr-template-minimal .dcr-form-group input,
.dcr-template-minimal .dcr-form-group textarea {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.dcr-template-minimal .dcr-section-title {
    font-size: 14px;
    color: #666;
}

.dcr-template-minimal .dcr-section-title::before {
    width: 3px;
    background: #999;
}

.dcr-template-minimal .dcr-submit-btn {
    background: var(--rmc-gray-dark);
    border-radius: 4px;
}

.dcr-template-minimal .dcr-submit-btn:hover::before {
    background: var(--rmc-orange);
}

/* ============================================
   DESERT TEMPLATE
   ============================================ */
.dcr-template-desert {
    --sand-cream: #FDF6E3;
    --sand-light: #F5E6C8;
    --sand-warm: #E8D5A3;
    --dune-gold: #D4A632;
    --desert-orange: #E8912D;
    --burnt-orange: #C46A1D;
}

.dcr-template-desert .dcr-form-wrapper {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(232, 145, 45, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(212, 166, 50, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--sand-cream) 0%, var(--sand-light) 50%, var(--sand-warm) 100%);
}

.dcr-template-desert .dcr-header {
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
}

.dcr-template-desert .dcr-logo-top,
.dcr-template-desert .dcr-logo-bottom {
    color: #aaa;
}

.dcr-template-desert .dcr-logo-main {
    color: #fff;
}

.dcr-template-desert .dcr-logo-main em {
    color: var(--desert-orange);
}

.dcr-template-desert .dcr-event-badge {
    background: linear-gradient(135deg, var(--desert-orange) 0%, var(--dune-gold) 100%);
}

.dcr-template-desert .dcr-accent-bar {
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        #1A1A1A 0px,
        #1A1A1A 20px,
        var(--dune-gold) 20px,
        var(--dune-gold) 40px
    );
}

.dcr-template-desert .dcr-form-card {
    background: #fff;
    border: none;
    box-shadow: 0 15px 50px rgba(92, 64, 51, 0.15);
}

.dcr-template-desert .dcr-form-header {
    background: linear-gradient(135deg, var(--desert-orange) 0%, var(--burnt-orange) 100%);
}

.dcr-template-desert .dcr-form-header::after {
    background: var(--dune-gold);
}

.dcr-template-desert .dcr-form-group input,
.dcr-template-desert .dcr-form-group textarea {
    background: var(--sand-cream);
    border-color: var(--sand-warm);
}

.dcr-template-desert .dcr-form-group input:focus,
.dcr-template-desert .dcr-form-group textarea:focus {
    border-color: var(--desert-orange);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(232, 145, 45, 0.12);
}

.dcr-template-desert .dcr-section-title {
    color: var(--burnt-orange);
}

.dcr-template-desert .dcr-section-title::before {
    background: linear-gradient(180deg, var(--desert-orange), var(--dune-gold));
}

.dcr-template-desert .dcr-submit-btn {
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
}

.dcr-template-desert .dcr-submit-btn::before {
    background: linear-gradient(135deg, var(--desert-orange) 0%, var(--dune-gold) 100%);
}

.dcr-template-desert .dcr-form-footer {
    background: var(--sand-cream);
    border-top-color: var(--sand-warm);
}

.dcr-template-desert .dcr-footer-brand span {
    color: var(--desert-orange);
}

/* Reset for standalone page */
.dcr-registration-page {
    margin: 0;
    padding: 0;
    background: var(--off-white);
    min-height: 100vh;
}

/* Form Wrapper */
.dcr-form-wrapper {
    background: linear-gradient(135deg, rgba(243, 112, 33, 0.03) 0%, transparent 50%),
                linear-gradient(225deg, rgba(45, 45, 45, 0.02) 0%, transparent 50%),
                var(--off-white);
    min-height: 100vh;
    padding: 0;
}

.dcr-form-container {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 50px;
}

/* Header */
.dcr-header {
    background: var(--white);
    padding: 25px 20px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.dcr-logo-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Logo */
.dcr-logo {
    display: flex;
    flex-direction: column;
}

/* Custom Logo Image */
.dcr-custom-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.dcr-logo-image {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.dcr-logo-top {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--rmc-gray);
    text-transform: uppercase;
}

.dcr-logo-main {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: var(--rmc-gray-dark);
    line-height: 1;
}

.dcr-logo-main em {
    color: var(--rmc-orange);
    font-style: normal;
}

.dcr-logo-bottom {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 6px;
    color: var(--rmc-gray-light);
    text-transform: uppercase;
}

/* Event Badge */
.dcr-event-badge {
    background: linear-gradient(135deg, var(--rmc-orange) 0%, var(--rmc-orange-dark) 100%);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 8px;
    text-align: center;
}

.dcr-event-name {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
}

.dcr-event-sub {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* Accent Bar */
.dcr-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--rmc-orange), var(--rmc-orange-dark), var(--rmc-orange));
}

/* Form Card */
.dcr-form-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
    margin: 40px 20px;
}

.dcr-form-header {
    background: var(--rmc-gray-dark);
    padding: 28px 35px;
    position: relative;
}

.dcr-form-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--rmc-orange);
}

.dcr-form-header h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
}

.dcr-form-header p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 6px 0 0 0;
}

/* Form Body */
.dcr-form {
    padding: 40px 35px;
}

/* Sections */
.dcr-section {
    margin-bottom: 35px;
}

.dcr-section:last-of-type {
    margin-bottom: 0;
}

.dcr-section-title {
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rmc-orange);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dcr-section-title::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--rmc-orange);
    border-radius: 2px;
}

/* Form Fields */
.dcr-form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.dcr-form-group {
    margin-bottom: 20px;
}

.dcr-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--rmc-gray);
    margin-bottom: 8px;
}

.dcr-required {
    color: var(--rmc-orange);
    margin-left: 2px;
}

.dcr-form-group input,
.dcr-form-group textarea {
    width: 100%;
    background: var(--off-white);
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    padding: 14px 16px;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--rmc-gray-dark);
    transition: all 0.25s ease;
    outline: none;
}

.dcr-form-group input::placeholder,
.dcr-form-group textarea::placeholder {
    color: #999;
    font-weight: 400;
}

.dcr-form-group input:focus,
.dcr-form-group textarea:focus {
    border-color: var(--rmc-orange);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(243, 112, 33, 0.1);
}

.dcr-form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.dcr-uppercase {
    text-transform: uppercase;
}

/* Submit Button */
.dcr-submit-section {
    margin-top: 40px;
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
}

.dcr-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--rmc-gray-dark);
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    padding: 18px 50px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dcr-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--rmc-orange) 0%, var(--rmc-orange-dark) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dcr-submit-btn .dcr-btn-text,
.dcr-submit-btn .dcr-btn-loading,
.dcr-submit-btn .dcr-btn-icon {
    position: relative;
    z-index: 1;
}

.dcr-submit-btn:hover::before {
    opacity: 1;
}

.dcr-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(243, 112, 33, 0.35);
}

.dcr-submit-btn:hover .dcr-btn-icon {
    transform: translateX(4px);
}

.dcr-submit-btn:active {
    transform: translateY(0);
}

.dcr-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.dcr-btn-icon {
    transition: transform 0.3s ease;
}

/* Footer */
.dcr-form-footer {
    background: var(--off-white);
    padding: 20px 35px;
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.dcr-footer-secure {
    font-size: 13px;
    color: var(--rmc-gray-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.dcr-footer-secure svg {
    fill: var(--rmc-orange);
}

.dcr-footer-brand {
    font-family: 'Oswald', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--rmc-gray);
}

.dcr-footer-brand span {
    color: var(--rmc-orange);
    font-weight: 600;
}

/* Success Modal */
.dcr-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.92);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: dcrFadeIn 0.3s ease;
}

@keyframes dcrFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.dcr-modal-content {
    background: var(--white);
    border-radius: 16px;
    padding: 50px;
    max-width: 420px;
    margin: 20px;
    text-align: center;
    animation: dcrSlideUp 0.4s ease;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
}

@keyframes dcrSlideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.dcr-modal-icon {
    width: 70px;
    height: 70px;
    background: var(--rmc-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.dcr-modal-icon svg {
    fill: var(--white);
}

.dcr-modal-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 600;
    color: var(--rmc-gray-dark);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.dcr-modal-text {
    color: var(--rmc-gray-light);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.dcr-modal-close {
    background: var(--rmc-gray-dark);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dcr-modal-close:hover {
    background: var(--rmc-orange);
}

/* Responsive */
@media (max-width: 700px) {
    .dcr-logo-section {
        flex-direction: column;
        text-align: center;
    }
    
    .dcr-logo {
        align-items: center;
    }
    
    .dcr-form {
        padding: 30px 20px;
    }
    
    .dcr-form-header {
        padding: 22px 20px;
    }
    
    .dcr-form-header h2 {
        font-size: 22px;
    }
    
    .dcr-form-row {
        grid-template-columns: 1fr;
    }
    
    .dcr-submit-btn {
        width: 100%;
        padding: 16px 30px;
    }
    
    .dcr-form-footer {
        flex-direction: column;
        text-align: center;
        padding: 18px 20px;
    }
    
    .dcr-form-card {
        margin: 30px 15px;
    }
    
    .dcr-modal-content {
        padding: 35px 25px;
    }
}

/* ============================================
   RACING TEMPLATE (New)
   ============================================ */
.dcr-template-racing .dcr-form-wrapper {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d0a0a 100%);
}

.dcr-template-racing .dcr-header {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
}

.dcr-template-racing .dcr-logo-top,
.dcr-template-racing .dcr-logo-bottom,
.dcr-template-racing .dcr-logo-main {
    color: #fff;
}

.dcr-template-racing .dcr-logo-main em {
    color: #FBBF24;
}

.dcr-template-racing .dcr-event-badge {
    background: #1a1a1a;
    border: 2px solid #FBBF24;
}

.dcr-template-racing .dcr-accent-bar {
    height: 8px;
    background: repeating-linear-gradient(90deg, #fff 0px, #fff 20px, #1a1a1a 20px, #1a1a1a 40px);
}

.dcr-template-racing .dcr-form-card {
    background: #fff;
    border: 3px solid #DC2626;
}

.dcr-template-racing .dcr-form-header {
    background: #1a1a1a;
}

.dcr-template-racing .dcr-form-header::after {
    background: #DC2626;
}

.dcr-template-racing .dcr-section-title {
    color: #DC2626;
}

.dcr-template-racing .dcr-section-title::before {
    background: #DC2626;
}

.dcr-template-racing .dcr-submit-btn {
    background: linear-gradient(135deg, #DC2626 0%, #991B1B 100%);
}

.dcr-template-racing .dcr-submit-btn::before {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
}

/* ============================================
   MILITARY TEMPLATE (New)
   ============================================ */
.dcr-template-military .dcr-form-wrapper {
    background: linear-gradient(135deg, #1a2e1a 0%, #0f1f0f 100%);
}

.dcr-template-military .dcr-header {
    background: linear-gradient(135deg, #3D5A3D 0%, #2D4A2D 100%);
    border-bottom: 3px solid #8B9D70;
}

.dcr-template-military .dcr-logo-top,
.dcr-template-military .dcr-logo-bottom {
    color: #8B9D70;
}

.dcr-template-military .dcr-logo-main {
    color: #D4D4AA;
}

.dcr-template-military .dcr-logo-main em {
    color: #8B9D70;
}

.dcr-template-military .dcr-event-badge {
    background: #2D4A2D;
    border: 2px solid #8B9D70;
}

.dcr-template-military .dcr-accent-bar {
    background: repeating-linear-gradient(90deg, #3D5A3D 0px, #3D5A3D 10px, #2D4A2D 10px, #2D4A2D 20px);
}

.dcr-template-military .dcr-form-card {
    background: #F5F5DC;
    border: 2px solid #3D5A3D;
}

.dcr-template-military .dcr-form-header {
    background: #3D5A3D;
}

.dcr-template-military .dcr-form-header::after {
    background: #8B9D70;
}

.dcr-template-military .dcr-section-title {
    color: #3D5A3D;
}

.dcr-template-military .dcr-section-title::before {
    background: #3D5A3D;
}

.dcr-template-military .dcr-form-group input,
.dcr-template-military .dcr-form-group textarea {
    background: #FFFFF0;
    border-color: #8B9D70;
}

.dcr-template-military .dcr-submit-btn {
    background: linear-gradient(135deg, #3D5A3D 0%, #2D4A2D 100%);
}

/* ============================================
   PREMIUM TEMPLATE (New)
   ============================================ */
.dcr-template-premium .dcr-form-wrapper {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1510 100%);
}

.dcr-template-premium .dcr-header {
    background: linear-gradient(135deg, #1a1510 0%, #0a0a0a 100%);
    border-bottom: 2px solid #D4AF37;
}

.dcr-template-premium .dcr-logo-top,
.dcr-template-premium .dcr-logo-bottom {
    color: #D4AF37;
}

.dcr-template-premium .dcr-logo-main {
    color: #fff;
}

.dcr-template-premium .dcr-logo-main em {
    color: #D4AF37;
}

.dcr-template-premium .dcr-event-badge {
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    color: #0a0a0a;
}

.dcr-template-premium .dcr-event-badge .dcr-event-name,
.dcr-template-premium .dcr-event-badge .dcr-event-sub {
    color: #0a0a0a;
}

.dcr-template-premium .dcr-accent-bar {
    background: linear-gradient(90deg, #D4AF37, #F4E4BA, #D4AF37);
}

.dcr-template-premium .dcr-form-card {
    background: #1a1510;
    border: 2px solid #D4AF37;
    box-shadow: 0 20px 60px rgba(212, 175, 55, 0.15);
}

.dcr-template-premium .dcr-form-header {
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
}

.dcr-template-premium .dcr-form-header h2,
.dcr-template-premium .dcr-form-header p {
    color: #0a0a0a;
}

.dcr-template-premium .dcr-form-header::after {
    display: none;
}

.dcr-template-premium .dcr-section-title {
    color: #D4AF37;
    border-bottom-color: #333;
}

.dcr-template-premium .dcr-section-title::before {
    background: #D4AF37;
}

.dcr-template-premium .dcr-form-group label {
    color: #ccc;
}

.dcr-template-premium .dcr-form-group input,
.dcr-template-premium .dcr-form-group textarea {
    background: #0a0a0a;
    border-color: #333;
    color: #fff;
}

.dcr-template-premium .dcr-form-group input:focus,
.dcr-template-premium .dcr-form-group textarea:focus {
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.dcr-template-premium .dcr-submit-btn {
    background: linear-gradient(135deg, #D4AF37 0%, #B8960C 100%);
    color: #0a0a0a;
}

.dcr-template-premium .dcr-submit-btn::before {
    background: linear-gradient(135deg, #F4E4BA 0%, #D4AF37 100%);
}

.dcr-template-premium .dcr-form-footer {
    background: #0a0a0a;
    border-top-color: #333;
}

.dcr-template-premium .dcr-footer-secure,
.dcr-template-premium .dcr-footer-brand {
    color: #888;
}

.dcr-template-premium .dcr-footer-brand span {
    color: #D4AF37;
}

/* ============================================
   NEON TEMPLATE (New)
   ============================================ */
.dcr-template-neon .dcr-form-wrapper {
    background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 100%);
}

.dcr-template-neon .dcr-header {
    background: rgba(10, 10, 26, 0.9);
    border-bottom: 2px solid #00FFFF;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.2);
}

.dcr-template-neon .dcr-logo-top,
.dcr-template-neon .dcr-logo-bottom {
    color: #FF00FF;
    text-shadow: 0 0 10px #FF00FF;
}

.dcr-template-neon .dcr-logo-main {
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.dcr-template-neon .dcr-logo-main em {
    color: #00FFFF;
    text-shadow: 0 0 10px #00FFFF;
}

.dcr-template-neon .dcr-event-badge {
    background: transparent;
    border: 2px solid #FF00FF;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3), inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.dcr-template-neon .dcr-event-badge .dcr-event-name {
    color: #FF00FF;
    text-shadow: 0 0 10px #FF00FF;
}

.dcr-template-neon .dcr-event-badge .dcr-event-sub {
    color: #00FFFF;
}

.dcr-template-neon .dcr-accent-bar {
    background: linear-gradient(90deg, #FF00FF, #00FFFF, #FF00FF);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.dcr-template-neon .dcr-form-card {
    background: rgba(10, 10, 26, 0.95);
    border: 2px solid #00FFFF;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.2);
}

.dcr-template-neon .dcr-form-header {
    background: linear-gradient(135deg, rgba(255, 0, 255, 0.2) 0%, rgba(0, 255, 255, 0.2) 100%);
    border-bottom: 1px solid #00FFFF;
}

.dcr-template-neon .dcr-form-header::after {
    display: none;
}

.dcr-template-neon .dcr-form-header h2 {
    color: #00FFFF;
    text-shadow: 0 0 10px #00FFFF;
}

.dcr-template-neon .dcr-form-header p {
    color: #FF00FF;
}

.dcr-template-neon .dcr-section-title {
    color: #FF00FF;
    border-bottom-color: rgba(255, 0, 255, 0.3);
    text-shadow: 0 0 5px #FF00FF;
}

.dcr-template-neon .dcr-section-title::before {
    background: linear-gradient(180deg, #FF00FF, #00FFFF);
    box-shadow: 0 0 10px #FF00FF;
}

.dcr-template-neon .dcr-form-group label {
    color: #00FFFF;
}

.dcr-template-neon .dcr-form-group input,
.dcr-template-neon .dcr-form-group textarea {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #333;
    color: #fff;
}

.dcr-template-neon .dcr-form-group input:focus,
.dcr-template-neon .dcr-form-group textarea:focus {
    border-color: #00FFFF;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.dcr-template-neon .dcr-submit-btn {
    background: linear-gradient(135deg, #FF00FF 0%, #00FFFF 100%);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.4);
}

.dcr-template-neon .dcr-submit-btn::before {
    background: linear-gradient(135deg, #00FFFF 0%, #FF00FF 100%);
}

.dcr-template-neon .dcr-form-footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid #333;
}

.dcr-template-neon .dcr-footer-brand span {
    color: #00FFFF;
    text-shadow: 0 0 5px #00FFFF;
}

/* ============================================
   PAGE BACKGROUND OPTIONS
   ============================================ */
.dcr-bg-white .dcr-form-wrapper { background: #ffffff !important; }
.dcr-bg-dark .dcr-form-wrapper { background: #1a1a1a !important; }
.dcr-bg-gradient-orange .dcr-form-wrapper { 
    background: linear-gradient(135deg, #F37021 0%, #D85A10 50%, #B84A00 100%) !important; 
}
.dcr-bg-gradient-blue .dcr-form-wrapper { 
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 50%, #1e3c72 100%) !important; 
}
.dcr-bg-gradient-dark .dcr-form-wrapper { 
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%) !important; 
}
.dcr-bg-desert-sand .dcr-form-wrapper { 
    background: linear-gradient(180deg, #FDF6E3 0%, #F5E6C8 50%, #E8D5A3 100%) !important; 
}

/* ============================================
   OPTIONAL LABEL STYLE
   ============================================ */
.dcr-optional {
    font-size: 11px;
    font-weight: 400;
    color: #999;
    text-transform: none;
}

/* ============================================
   ENHANCED SUCCESS POPUP
   ============================================ */
.dcr-success-popup {
    position: relative;
    background: linear-gradient(145deg, #ffffff 0%, #f8f8f8 100%);
    border-radius: 24px;
    padding: 50px 40px;
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    transform: scale(0.8);
    opacity: 0;
    animation: popupEnter 0.5s ease forwards;
}

@keyframes popupEnter {
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.dcr-success-animation {
    margin-bottom: 25px;
}

.dcr-checkmark-circle {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    position: relative;
}

.dcr-checkmark {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
}

.dcr-checkmark-bg {
    stroke: #4CAF50;
    stroke-width: 2;
    fill: #4CAF50;
    animation: fillCircle 0.4s ease-in-out 0.4s forwards, scaleCircle 0.3s ease-in-out 0.9s both;
}

.dcr-checkmark-check {
    transform-origin: 50% 50%;
    stroke: #fff;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: strokeCheck 0.5s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes strokeCheck {
    100% { stroke-dashoffset: 0; }
}

@keyframes scaleCircle {
    0%, 100% { transform: none; }
    50% { transform: scale3d(1.1, 1.1, 1); }
}

@keyframes fillCircle {
    100% { box-shadow: inset 0 0 0 60px #4CAF50; }
}

.dcr-modal-title {
    font-size: 28px;
    font-weight: 800;
    color: #2D2D2D;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.dcr-modal-text {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 25px 0;
}

.dcr-registration-id-box {
    background: linear-gradient(135deg, #F37021 0%, #D85A10 100%);
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
}

.dcr-reg-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.dcr-reg-id {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.dcr-modal-close-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #2D2D2D 0%, #1A1A1A 100%);
    color: #fff;
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.dcr-modal-close-btn:hover {
    background: linear-gradient(135deg, #F37021 0%, #D85A10 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(243, 112, 33, 0.3);
}

.dcr-success-confetti {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.dcr-animate-success .dcr-success-confetti::before,
.dcr-animate-success .dcr-success-confetti::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #F37021;
    animation: confetti 1s ease-out forwards;
}

.dcr-animate-success .dcr-success-confetti::before {
    left: 20%;
    animation-delay: 0.1s;
}

.dcr-animate-success .dcr-success-confetti::after {
    left: 80%;
    background: #4CAF50;
    animation-delay: 0.2s;
}

@keyframes confetti {
    0% {
        top: 50%;
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        top: -20%;
        transform: scale(1.5) rotate(720deg);
        opacity: 0;
    }
}
