/* D:\Sports-Booking-System\static\css\register.css */

body {
    font-family: 'Roboto', sans-serif;
    /* Changed to light gray background to match light dashboard theme */
    background-color: #f8f9fa; 
    color: #343a40; /* Dark text */
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: #198754; 
    text-shadow: 0 0 10px rgba(25, 135, 84, 0.4); 
    letter-spacing: 2px;
}

.register-container {
    background: #ffffff;
    border-radius: 15px; 
    border: 1px solid #dee2e6;
    padding: 40px 45px;
    max-width: 480px;
    width: 95%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden; /* Ensure overflow is hidden for transition */
}

/* ======================================= */
/* FIX FOR MULTI-STEP LAYOUT */
/* ======================================= */
.step {
    display: none; /* Hide all steps by default */
    animation: fadeIn 0.5s ease-out;
}

.step.active {
    display: block; /* Only show the active step */
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
/* ======================================= */

.step-indicator {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 500;
}

/* Progress Bar Styling */
.progress {
    height: 8px;
    background: #e9ecef;
    border-radius: 8px;
    margin-bottom: 20px;
}
.progress-bar {
    background: #198754; 
    transition: width 0.4s ease-in-out;
}

/* Form Controls Styling */
.form-control {
    background: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 10px; 
    height: 55px; 
    color: #343a40; 
    font-size: 1rem;
    padding-left: 20px;
    transition: all 0.3s;
}

.form-control::placeholder {
    color: #6c757d;
    font-weight: 400;
}

.form-control:focus {
    background: #ffffff;
    box-shadow: 0 0 0 0.25rem rgba(25, 135, 84, 0.25); 
    color: #343a40;
    border-color: #198754;
}

/* Button Styling */
.btn-next, .btn-register {
    background: #198754;
    border: none;
    border-radius: 50px;
    padding: 14px;
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    transition: all 0.3s;
}
.btn-next:hover, .btn-register:hover {
    background: #157347;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-prev {
    background: #f8f9fa; 
    color: #343a40;
    border: 1px solid #ced4da;
    border-radius: 50px;
    padding: 14px;
    font-size: 1.2rem;
    font-weight: bold;
}
.btn-prev:hover {
    background: #e9ecef;
}

/* Validation Feedback */
.is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}
.invalid-feedback {
    display: none; 
    color: #dc3545;
    margin-top: 5px;
    padding-left: 15px;
}
.input-group {
    margin-bottom: 20px;
}