/* Registration Page Styles */

.page-header {
    padding: calc(var(--navbar-height) + 60px) 0 40px;
    text-align: center;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.page-header h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
}

/* Progress Steps */
.registration-progress {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 40px 0;
    position: relative;
}

.registration-progress::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: var(--border-subtle);
}

.progress-step {
    flex: 1;
    max-width: 160px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 2px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    transition: all var(--transition);
}

.progress-step.active .progress-step-circle {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.3);
}

.progress-step.completed .progress-step-circle {
    background: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-primary);
}

.progress-step-label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.progress-step.active .progress-step-label {
    color: var(--accent-cyan);
}

/* Form Steps */
.registration-form {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideUp 0.4s ease;
}

.form-step-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}

.member-section {
    margin-bottom: 32px;
    padding: 24px;
    background: rgba(10, 20, 40, 0.4);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}

.member-section.leader {
    border-color: rgba(0, 212, 255, 0.2);
}

.member-section h3 {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 16px;
}

.member-section.leader h3::after {
    content: ' (Team Leader)';
    color: var(--accent-orange);
}

/* Team Summary */
.team-summary {
    background: rgba(0, 212, 255, 0.05);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 24px;
}

.team-summary h4 {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-cyan);
    margin-bottom: 12px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.summary-item {
    text-align: center;
}

.summary-item .label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-item .value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Payment Section */
.payment-section {
    text-align: center;
}

.fee-display {
    margin: 24px 0;
}

.fee-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 32px;
}

.fee-option {
    padding: 20px;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    text-align: center;
}

.fee-option.active {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.05);
}

.fee-option h4 {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.fee-option .amount {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-cyan);
}

.fee-option .deadline {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

.qr-container {
    max-width: 280px;
    margin: 24px auto;
    padding: 16px;
    background: #fff;
    border-radius: var(--radius-md);
}

.qr-container img {
    width: 100%;
}

.upi-id {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent-cyan);
    margin: 16px 0;
    letter-spacing: 0.05em;
}

.payment-instructions {
    text-align: left;
    max-width: 500px;
    margin: 24px auto;
}

.payment-instructions ol {
    padding-left: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.payment-instructions li {
    margin-bottom: 8px;
}

/* File Upload */
.file-upload {
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    margin-top: 24px;
}

.file-upload:hover,
.file-upload.dragover {
    border-color: var(--accent-cyan);
    background: rgba(0, 212, 255, 0.03);
}

.file-upload input {
    display: none;
}

.file-upload-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    opacity: 0.5;
}

.file-upload p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-preview {
    margin-top: 16px;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.file-preview img {
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
}

/* Confirmation */
.confirmation-summary {
    text-align: left;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.9rem;
}

.confirmation-row .label {
    color: var(--text-muted);
}

.confirmation-row .value {
    font-weight: 500;
    text-align: right;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 32px;
    gap: 16px;
}

.form-navigation .btn {
    min-width: 140px;
}

/* Success Page */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: calc(var(--navbar-height) + 40px) 0 60px;
}

.success-card {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 48px 32px;
}

.success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(0, 200, 100, 0.15);
    border: 2px solid #00c864;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.success-card h1 {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: #00c864;
}

.success-details {
    text-align: left;
    margin: 32px 0;
    padding: 24px;
    background: rgba(10, 20, 40, 0.4);
    border-radius: var(--radius-md);
}

.registration-id-display {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-cyan);
    letter-spacing: 0.1em;
    margin: 16px 0;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Receipt */
@media print {
    .navbar, .footer, .success-actions, .no-print {
        display: none !important;
    }
    body {
        background: #fff;
        color: #000;
    }
    .success-card {
        box-shadow: none;
        border: none;
    }
}

.receipt {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: #fff;
    color: #111;
}

.receipt-header {
    text-align: center;
    border-bottom: 2px solid #0066ff;
    padding-bottom: 20px;
    margin-bottom: 24px;
}

.receipt-header h1 {
    font-size: 1.5rem;
    color: #0066ff;
}

.receipt-header p {
    color: #555;
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .registration-progress {
        gap: 0;
    }

    .progress-step-label {
        font-size: 0.6rem;
    }

    .summary-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .fee-options {
        grid-template-columns: 1fr;
    }

    .form-navigation {
        flex-direction: column;
    }

    .form-navigation .btn {
        width: 100%;
    }
}
