/**
 * ARJC 2026 Registration Form Styles (Updated)
 * Color Scheme: Burgundy (#5c2e2e), Orange (#d4671f), Cream (#fef8f0)
 * Updated: December 2024 - New design structure
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fef8f0;
    color: #4a2c2a;
}

/* ===========================
   HEADER SECTION (NEW)
   =========================== */

.header {
    background: #fef8f0;
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4671f;
}

.logo img {
    height: 50px;
}

/* ===========================
   HERO SECTION (NEW)
   =========================== */

.hero {
    background: linear-gradient(135deg, #5c2e2e 0%, #7d3f3f 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ===========================
   CONTAINER
   =========================== */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   IMPORTANT MESSAGE SECTION (NEW)
   =========================== */

.important-message {
    background: #fff3e0;
    border-left: 5px solid #d4671f;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.important-message h3 {
    color: #d4671f;
    margin-bottom: 1rem;
}

.important-message p {
    /* line-height: 1.8; */
    margin-bottom: 1rem;
}

/* ===========================
   REGISTRATION FEES SECTION (NEW)
   =========================== */

.registration-fees {
    background: white;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.registration-fees h3 {
    color: #5c2e2e;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.registration-fees ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.registration-fees li {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ===========================
   FORM SECTIONS
   =========================== */

.form-section {
    background: white;
    padding: 3rem 2rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.section-title {
    color: #d4671f;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #d4671f;
}

/* ===========================
   FORM GROUPS
   =========================== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #4a2c2a;
}

.required {
    color: #d32f2f;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #d4671f;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* ===========================
   CHECKBOXES & RADIO BUTTONS
   =========================== */

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-item input[type="checkbox"],
.checkbox-item input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-item label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

/* ===========================
   HELP TEXT
   =========================== */

.help-text {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.25rem;
    font-style: italic;
}

/* ===========================
   SUBMIT BUTTON
   =========================== */

.submit-btn {
    background: linear-gradient(135deg, #d4671f 0%, #e67e22 100%);
    color: white;
    padding: 1rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(212, 103, 31, 0.3);
    width: 100%;
    margin-top: 2rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 103, 31, 0.4);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* ===========================
   CONDITIONAL FIELDS
   =========================== */

.hidden {
    display: none;
}

.show {
    display: block;
}

/* ===========================
   ALERTS
   =========================== */

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
}

.alert-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    color: #0d47a1;
}

.alert-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* ===========================
   MODAL (NEW)
   =========================== */

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.modal-content h2 {
    color: #d4671f;
    margin-bottom: 1rem;
}

.modal-content p {
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal-btn {
    background: #d4671f;
    color: white;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
}

.modal-btn:hover {
    background: #b85a1a;
}

/* ===========================
   LOADING STATE
   =========================== */

.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #d4671f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 2rem 1rem;
    }

    .container {
        padding: 0 15px;
    }
    
    .important-message {
        padding: 1.5rem;
    }
    
    .registration-fees {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .submit-btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ===========================
   PRINT STYLES
   =========================== */

@media print {
    .header,
    .submit-btn,
    .modal {
        display: none;
    }
    
    .form-section {
        box-shadow: none;
        break-inside: avoid;
    }
}




/* Google Translate Styling */
#google_translate_element {
    float: right;
    margin-top: 10px;
}

 