﻿:root {
    --primary-blue: #0a1172;
    --secondary-blue: #1a2396;
    --accent-blue: #2d3fdb;
    --light-gray: #f8f9fa;
    --text-dark: #2c3e50;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Left Side - Login Form */
.login-form-section {
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-blue);
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(10, 17, 114, 0.3);
}

    .logo-icon i {
        font-size: 40px;
        color: white;
    }

.brand-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.brand-subtitle {
    font-size: 14px;
    color: #6c757d;
    margin-top: 5px;
}

.login-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    text-align: center;
}

.login-subtitle {
    color: #6c757d;
    text-align: center;
    margin-bottom: 35px;
    font-size: 15px;
}

.form-floating {
    margin-bottom: 20px;
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        border-color: var(--primary-blue);
        box-shadow: 0 0 0 0.2rem rgba(10, 17, 114, 0.1);
    }

.form-floating label {
    padding: 1rem 1.25rem;
    color: #6c757d;
}

.form-check {
    margin: 20px 0;
}

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-login {
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 10px;
}

    .btn-login:hover {
        background: var(--secondary-blue);
        transform: translateY(-2px);
        box-shadow: 0 5px 20px rgba(10, 17, 114, 0.4);
    }

.alert-danger {
    border-radius: 10px;
    border: none;
    background: #ffe5e5;
    color: #c62828;
    padding: 12px 20px;
    margin-bottom: 20px;
}

/* Right Side - Gym Image/Info */
.gym-info-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

    .gym-info-section::before {
        content: '';
        position: absolute;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
        animation: pulse 15s infinite;
    }

.gym-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.gym-icon {
    font-size: 120px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

.gym-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.gym-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 30px;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    width: 100%;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}



/* Loading Animation */
.btn-login.loading {
    position: relative;
    color: transparent;
}

    .btn-login.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-left: -10px;
        margin-top: -10px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-top-color: white;
        border-radius: 50%;
        animation: spin 0.6s linear infinite;
    }
