/* === MODERN LOGIN PAGE STYLES - Fittracker === */



* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    color: #fff;
    overflow: hidden; /* No scrolling */
}

/* FULL SCREEN BACKGROUND & LAYOUT */
.login-container {
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    /* The background is set by an inline style in the HTML for each page */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Dark overlay for readability */
.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 5, 25, 0.7);
    z-index: 1;
}

/* THE "GLASS" LOGIN FORM PANEL */
.login-form {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 400px;
    padding: 40px;
    background: rgba(25, 20, 50, 0.4); /* Semi-transparent background */
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px); /* The "glass" effect */
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

/* FORM TYPOGRAPHY */
.login-form h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #fff;
}

.login-form p {
    color: #ccc;
    margin-bottom: 30px;
}

/* FORM GROUPS & INPUTS */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 300;
    color: #ddd;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #00f2ff;
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

/* LOGIN BUTTON */
.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(90deg, #0dc0d4, #00f2ff);
    color: #000;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.3s;
}

.login-btn:hover {
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.6);
    transform: translateY(-2px);
}

/* RETURN LINK */
.return-link {
    display: inline-block;
    margin-top: 25px;
    color: #00f2ff;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.return-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* Page load animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.forgot-link {
    display: block;
    text-align: center;
    margin-top: 15px;
    color: #00aaff;
    font-size: 0.9rem;
}