/* ================================
   NAGPUR FITNESS CLUB - LOGIN STYLES
   ================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: #f5f5f5;
    overflow: hidden;
}

/* ================================
   LOGIN CONTAINER LAYOUT
   ================================ */

.login-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* ================================
   LEFT SIDE - LOGO SECTION
   ================================ */

.login-left {
    flex: 1;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.logo-wrapper {
    text-align: center;
    max-width: 500px;
}

.logo {
    width: 100%;
    max-width: 450px;
    height: auto;
    animation: fadeInScale 0.8s ease-out;
}

/* ================================
   RIGHT SIDE - FORM SECTION
   ================================ */

.login-right {
    flex: 1;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    position: relative;
}

.login-header {
    position: absolute;
    top: 40px;
    width: 100%;
    text-align: center;
}

.login-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 3px;
    color: #999;
    text-transform: uppercase;
}

/* ================================
   FORM WRAPPER
   ================================ */

.login-form-wrapper {
    width: 100%;
    max-width: 500px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 60px 50px;
    animation: slideUp 0.6s ease-out;
}

.login-form-wrapper h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 36px;
    font-weight: 600;
    color: #000;
    text-align: center;
    margin-bottom: 10px;
}

.subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #999;
    text-align: center;
    margin-bottom: 40px;
}

/* ================================
   ALERTS
   ================================ */

.alert {
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    animation: slideDown 0.3s ease-out;
}

.alert-error {
    background: #ffe5e5;
    color: #d32f2f;
    border: 1px solid #d32f2f;
}

.alert-success {
    background: #e5f7e5;
    color: #2e7d32;
    border: 1px solid #2e7d32;
}

/* ================================
   FORM ELEMENTS
   ================================ */

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    height: 50px;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #000;
    background: #ffffff;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 5px;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: #000;
}

/* ================================
   SIGN IN BUTTON
   ================================ */

.btn-signin {
    width: 100%;
    height: 50px;
    background: #6366f1;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.btn-signin:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.btn-signin:active {
    transform: translateY(0);
}

/* ================================
   FINGERPRINT LINK
   ================================ */

.fingerprint-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.fingerprint-link:hover {
    color: #6366f1;
    gap: 10px;
}

/* ================================
   FINGERPRINT LOGIN SPECIFIC
   ================================ */

.fingerprint-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fingerprint-section {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

.fingerprint-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-bottom: 30px;
}

.fingerprint-icon {
    position: relative;
    display: inline-block;
    margin: 30px 0;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.fingerprint-icon:hover {
    transform: scale(1.05);
}

.fingerprint-icon svg {
    stroke: #000;
}

.lock-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #fff;
    border-radius: 50%;
    padding: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.lock-icon svg {
    width: 24px;
    height: 24px;
    fill: #000;
}

.fingerprint-instruction {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #666;
    margin-top: 20px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    margin-top: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: #6366f1;
    gap: 10px;
}

/* ================================
   ANIMATIONS
   ================================ */

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 1024px) {
    .login-left {
        flex: 0.8;
    }
    
    .logo {
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
    }
    
    .login-left {
        flex: none;
        height: 30vh;
        padding: 20px;
    }
    
    .logo {
        max-width: 250px;
    }
    
    .login-right {
        flex: none;
        height: 70vh;
        padding: 40px 20px;
        justify-content: flex-start;
        overflow-y: auto;
    }
    
    .login-header {
        position: static;
        margin-bottom: 20px;
    }
    
    .login-form-wrapper {
        padding: 40px 30px;
    }
    
    .login-form-wrapper h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .login-form-wrapper {
        padding: 30px 20px;
    }
    
    .login-form-wrapper h2 {
        font-size: 24px;
    }
    
    .form-control {
        height: 45px;
        font-size: 13px;
    }
    
    .btn-signin {
        height: 45px;
        font-size: 15px;
    }
}