﻿/* Main layout structure */
.login-container {
    display: flex;
    height: 100vh;
}

/* Left login form */
.login-form-section {
    flex: 1;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Right side image/text section */
.gym-info-section {
    flex: 1;
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

/* Stats design */
.stats-container {
    display: flex;
    gap: 40px;
    margin-top: 25px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
}

/* -----------------------------------------
   RESPONSIVE RULES
------------------------------------------ */

/* ----------- Tablets (max 992px) ----------- */
@media (max-width: 992px) {

    .login-container {
        flex-direction: column;
        height: auto;
    }

    .gym-info-section {
        order: -1;
        padding: 50px 20px;
        text-align: center;
    }

    .stats-container {
        justify-content: center;
        gap: 30px;
    }
}

/* ----------- Mobile (max 768px) ------------ */
@media (max-width: 768px) {

    .login-form-section {
        padding: 25px 20px;
    }

    .brand-name {
        font-size: 24px;
    }

    .login-title {
        font-size: 22px;
    }

    .gym-title {
        font-size: 26px;
        line-height: 1.3;
    }

    .stats-container {
        flex-direction: column;
        gap: 15px;
    }
}

/* ----------- Small Mobile (max 576px) ------------ */
@media (max-width: 576px) {

    /* Hide the right side completely on small phones */
    .gym-info-section {
        display: none;
    }

    .login-container {
        height: auto;
        padding: 20px;
    }

    .login-form-section {
        width: 100%;
        padding: 10px;
    }

    .form-floating {
        margin-bottom: 15px;
    }

    .btn-login {
        width: 100%;
        padding: 14px;
        font-size: 16px;
    }
}
