/* Step-by-Step Registration Form Styling */

/* Progress Steps */
.registration-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    padding: 0 20px;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
}

.progress-step:not(:last-child):after {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: #dee2e6;
    z-index: 1;
}

.progress-step.active:not(:last-child):after,
.progress-step.completed:not(:last-child):after {
    background: #212550;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    position: relative;
    z-index: 2;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
}

.progress-step.active .step-indicator {
    background: #212550;
    border-color: #212550;
    color: white;
    transform: scale(1.1);
}

.progress-step.completed .step-indicator {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.progress-step.completed .step-indicator i {
    font-size: 18px;
}

.step-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.progress-step.active .step-label {
    color: #212550;
    font-weight: 600;
}

.progress-step.completed .step-label {
    color: #28a745;
}

/* Step Content Wrapper */
.step-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.step-content.active {
    display: block;
}

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

/* Welcome Step Styling */
.welcome-section {
    text-align: center;
    padding: 40px 20px;
}

.welcome-title {
    font-size: 36px;
    font-weight: 700;
    color: #212550;
    margin-bottom: 16px;
}

.welcome-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Club Info Cards */
.club-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.info-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.info-card i {
    font-size: 48px;
    color: #212550;
    margin-bottom: 16px;
}

.info-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #212550;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 14px;
    color: #6c757d;
    margin: 0;
}

/* Sessions Calendar */
.sessions-intro {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 40px;
}

.sessions-intro h2 {
    font-size: 28px;
    font-weight: 700;
    color: #212550;
    margin-bottom: 20px;
    text-align: center;
}

.sessions-calendar {
    background: white;
    border-radius: 12px;
    padding: 20px;
}

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

.calendar-day {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 16px;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.calendar-day:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.calendar-day-header {
    font-weight: 700;
    color: #212550;
    font-size: 18px;
    margin-bottom: 16px;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
}

.session-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    font-size: 13px;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.session-item:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    transform: translateY(-1px);
}

.session-item:last-child {
    margin-bottom: 0;
}

.calendar-day .text-muted {
    padding: 20px 0;
    font-style: italic;
}

.session-time {
    font-weight: 600;
    color: #495057;
    display: block;
}

.session-name {
    color: #6c757d;
    display: block;
    margin-top: 2px;
}

.session-type {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-top: 4px;
}

.session-type.water {
    background: #e3f2fd;
    color: #1976d2;
}

.session-type.erg {
    background: #fff3e0;
    color: #f57c00;
}

.session-type.circuits {
    background: #f3e5f5;
    color: #7b1fa2;
}

.session-season {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-top: 4px;
    margin-left: 4px;
}

.session-season.winter {
    background: #e3f2fd;
    color: #0d47a1;
}

.session-season.summer {
    background: #fff8e1;
    color: #f57f17;
}

.session-season.seasonal {
    background: #fce4ec;
    color: #c2185b;
}

/* Session Details Modal */
.session-details-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1050;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.session-details-modal.active {
    display: block;
}

.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
}

.modal-backdrop.active {
    display: block;
}

.session-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.session-details-title {
    font-size: 20px;
    font-weight: 600;
    color: #212550;
}

.close-modal {
    background: none;
    border: none;
    font-size: 24px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.close-modal:hover {
    background: #f8f9fa;
    color: #495057;
}

/* Navigation Buttons */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 15px;
}

.btn-step {
    padding: 14px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-prev:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.btn-next {
    background: linear-gradient(135deg, #212550 0%, #1a1d3e 100%);
    color: white;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(33, 37, 80, 0.3);
}

.btn-submit {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(40, 167, 69, 0.3);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .registration-progress {
        padding: 0 10px;
    }

    .step-indicator {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-label {
        font-size: 12px;
    }

    .progress-step:not(:last-child):after {
        top: 17px;
    }

    .welcome-title {
        font-size: 28px;
    }

    .welcome-subtitle {
        font-size: 16px;
    }

    .club-info-grid {
        grid-template-columns: 1fr;
    }

    .sessions-calendar {
        padding: 10px;
    }

    .calendar-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

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

    .btn-step {
        width: 100%;
    }
}