/* Custom Properties for easy branding */
:root {
    --primary-color: #38d39f;
    --primary-dark: #2da17e;
    --bg-gradient: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Container adjusted for a single centered column */
.container {
    width: 90%;
    max-width: 500px; /* Narrowed since there is no image */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border-radius: 20px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

/* Removed .img and @keyframes float sections */

/* Form Content */
.login-content {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

form {
    width: 100%;
    max-width: 380px;
}

.login-content h2 {
    margin: 15px 0;
    color: #333;
    text-transform: capitalize;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Improved Input Fields */
.input-div {
    position: relative;
    display: grid;
    grid-template-columns: 10% 90%;
    margin: 25px 0; /* Slightly increased margin for vertical balance */
    padding: 10px 0;
    border-bottom: 2px solid #e1e1e1;
    transition: border-color 0.3s;
    text-align: left; /* Keep text left-aligned inside centered form */
}

.input-div:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: 0.4s ease;
}

.input-div.focus:after {
    width: 100%;
}

.input-div > div > h5 {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 16px;
    transition: 0.3s;
    pointer-events: none;
}

.input-div.focus > div > h5 {
    top: -10px;
    font-size: 13px;
    color: var(--primary-color);
}

.input-div input {
    width: 100%;
    border: none;
    outline: none;
    background: none;
    padding: 0.5rem;
    font-size: 1.1rem;
    color: #444;
}

/* Button Refinement */
.btn {
    width: 100%;
    height: 55px;
    border-radius: 12px;
    border: none;
    background: var(--primary-color);
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    box-shadow: 0 4px 15px rgba(56, 211, 159, 0.3);
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 211, 159, 0.4);
}