/* ===================================
   IRC 2025 Registration Page Styles
   =================================== */

/* === CSS RESET & BASE === */
* {
    box-sizing: border-box;
}

/* === CONTAINER & LAYOUT === */
.irc-registration-container {
    max-width: 1200px;
    min-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.registration-content {
    padding: 0 20px;
}

/* === HERO SECTION === */
.registration-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 60px 20px;
    margin-bottom: 40px;
    border-radius: 0 0 20px 20px;
}

.hero-content h1.registration-title {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 700;
}

.registration-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    margin: 0 0 20px 0;
}

.hero-divider {
    width: 60px;
    height: 4px;
    background: white;
    margin: 0 auto;
    border-radius: 2px;
}

/* === SECTION STYLING === */
section {
    margin-bottom: 60px;
}

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

.section-title {
    font-size: 2rem;
    color: #2c3e50;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.section-icon {
    font-size: 1.8rem;
}

.section-description {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
}

/* === FEES SECTION === */
.fees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.fee-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid;
}

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

.fee-card-foreign { border-top-color: #3498db; }
.fee-card-local { border-top-color: #e74c3c; }
.fee-card-student { border-top-color: #f39c12; }

.fee-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.fee-card-header h3 {
    font-size: 1.4rem;
    color: #2c3e50;
    margin: 0;
}

.participation-type {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.fee-amount {
    text-align: center;
    margin: 30px 0;
}

.fee-amount .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
}

.fee-amount .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: #666;
}

.fee-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.fee-features li {
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
}

.fee-features li:last-child {
    border-bottom: none;
}

.important-note, .eligibility-note {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-top: 15px;
}

/* === POLICY SECTION === */
.policy-grid {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));*/
    gap: 25px;
}

.policy-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #3498db;
    transition: box-shadow 0.3s ease;
}

.policy-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

.policy-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 10px;
}

.policy-icon {
    font-size: 1.5rem;
}

.policy-header h3 {
    color: #2c3e50;
    margin: 0;
    font-size: 1.3rem;
}

.policy-deadline {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background: #e8f4ff;
    border-radius: 6px;
}

.deadline-label {
    font-weight: 600;
    color: #2c3e50;
}

.deadline-date {
    font-weight: 700;
    color: #e74c3c;
}

.policy-details h4 {
    color: #2c3e50;
    margin: 15px 0 8px 0;
    font-size: 1rem;
}

.policy-details ul, .policy-details ol {
    margin: 0 0 15px 0;
    padding-left: 20px;
}

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

.policy-warning {
    background: #ffe8e8;
    border: 1px solid #ffcccb;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    color: #721c24;
}

/* === FORM SECTION === */
.form-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Removed tab progress styling - now using continuous form */

.registration-form {
    padding: 40px;
}

.form-section {
    display: block;
    margin-bottom: 50px;
}

.form-section .section-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.form-section .section-header h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.8rem;
}

.form-section .section-description {
    color: #666;
    margin: 0;
    font-size: 1.1rem;
}

/* === FORM CARDS === */
.form-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid #e9ecef;
}

.card-header {
    margin-bottom: 25px;
}

.card-header h4 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 1.3rem;
}

.card-header p {
    color: #666;
    margin: 0;
}

/* === FORM ELEMENTS === */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    flex: 100%;
}

.form-group label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    /*display: flex;*/
    flex-direction: column;
    gap: 2px;
}

.form-group label small {
    color: #666;
    font-weight: 400;
    font-size: 0.85rem;
}

.required {
    color: #e74c3c;
    font-weight: bold;
}

.form-control {
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52,152,219,0.1);
}

.form-control:invalid {
    border-color: #e74c3c;
}

/* === SPECIAL FORM ELEMENTS === */
.important-notice {
    background: #e8f4ff;
    border: 1px solid #bee5eb;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
}

.notice-icon {
    font-size: 1.2rem;
    color: #3498db;
}

.co-authors-container {
    space-y: 20px;
}

.co-author-group {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
}

.co-author-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: white;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
}

.co-author-header h5 {
    margin: 0;
    color: #2c3e50;
}

.toggle-coauthor {
    background: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.toggle-coauthor:hover {
    background: #2980b9;
}

.co-author-details {
    padding: 20px;
    background: white;
    border-top: 1px solid #e9ecef;
}

/* === RADIO GROUPS === */
.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.radio-option:hover {
    border-color: #3498db;
}

.radio-option input[type="radio"] {
    display: none;
}

.radio-option input[type="radio"]:checked + .radio-custom + .radio-label {
    color: #3498db;
    font-weight: 600;
}

.radio-option input[type="radio"]:checked ~ * {
    color: #3498db;
}

.radio-option:has(input:checked) {
    border-color: #3498db;
    background: #e8f4ff;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 50%;
    position: relative;
}

.radio-option input[type="radio"]:checked + .radio-custom {
    border-color: #3498db;
}

.radio-option input[type="radio"]:checked + .radio-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: #3498db;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-label {
    font-weight: 500;
    color: #2c3e50;
}

/* === PAYMENT OPTIONS === */
.payment-options {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.payment-option {
    cursor: pointer;
    display: block;
}

.payment-option input[type="radio"] {
    display: none;
}

.option-card {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.payment-option:hover .option-card {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.payment-option input[type="radio"]:checked + .option-card {
    border-color: #3498db;
    background: #e8f4ff;
    box-shadow: 0 8px 25px rgba(52,152,219,0.15);
}

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

.option-title {
    font-weight: 600;
    color: #2c3e50;
    font-size: 1.1rem;
}

.option-type {
    background: #ecf0f1;
    color: #2c3e50;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.option-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #e74c3c;
    margin: 10px 0;
}

.option-features {
    color: #666;
}

/* === FILE UPLOAD === */
.student-upload {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #ccc;
}

.file-upload-area {
    position: relative;
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.file-upload-area:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.upload-icon {
    font-size: 2rem;
    color: #666;
}

.upload-text {
    font-weight: 600;
    color: #2c3e50;
}

.upload-types {
    font-size: 0.9rem;
    color: #666;
}

/* === BUTTONS === */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

.btn-success {
    background: #27ae60;
    color: white;
    font-size: 1.1rem;
    padding: 15px 30px;
}

.btn-success:hover {
    background: #219a52;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39,174,96,0.3);
}

.btn-icon {
    font-size: 1.2rem;
}

.submit-icon {
    font-size: 1.3rem;
}

/* === FORM SUBMISSION === */
.form-submit {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e9ecef;
}

/* === NOTICES === */
.track-verification-notice {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
}

.attendance-requirement {
    background: #ffe8e8;
    border: 1px solid #ffcccb;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.requirement-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.requirement-header h4 {
    margin: 0;
    color: #721c24;
}

.requirement-icon {
    font-size: 1.3rem;
}

.support-notice {
    background: #e8f4ff;
    border: 1px solid #bee5eb;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
}

.support-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.support-header h4 {
    margin: 0;
    color: #2c3e50;
}

.support-icon {
    font-size: 1.3rem;
    color: #3498db;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .hero-content h1.registration-title {
        font-size: 2rem;
    }
    
    .registration-subtitle {
        font-size: 1rem;
    }
    
    .fees-grid,
    .policy-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .registration-form {
        padding: 20px;
    }
    
    .form-submit .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .registration-content {
        padding: 0 10px;
    }
    
    .form-card {
        padding: 20px;
    }
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-step.active {
    animation: fadeIn 0.5s ease-in-out;
}

/* === ACCESSIBILITY === */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.form-control:focus,
.btn:focus {
    outline: 2px solid #3498db;
    outline-offset: 2px;
}

/* === PRINT STYLES === */
@media print {
    .registration-hero,
    .form-submit {
        display: none !important;
    }
    
    .irc-registration-container {
        box-shadow: none !important;
    }
    
    .form-card {
        break-inside: avoid;
    }
}