/* --- AUTH PAGES GLOBAL STYLES --- */
:root {
    --primary: #002147; /* Navy Blue */
    --secondary: #10c45c; /* Green */
    --white: #ffffff;
    --light: #f4f6f8;
    --gray: #777;
    --border: #ddd;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background-color: var(--light);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MAIN CONTAINER (Split Screen) --- */
.auth-container {
    background: var(--white);
    width: 100%;
    height: 100vh; /* Full Screen */
    display: flex;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* --- LEFT SIDE (Image) --- */
.auth-image {
    flex: 1; /* 50% width roughly */
    background:
        linear-gradient(rgba(0, 33, 71, 0.85), rgba(0, 33, 71, 0.9)),
        url("https://images.unsplash.com/photo-1762330472502-83efbe1d4478?q=rb-1.2.1&auto=format&fit=crop&w=1350&q=80");
    background-size: cover;
    background-position: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    position: relative;
}

.auth-image h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}
.auth-image p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Home Link (Top Left) */
.back-home {
    position: absolute;
    top: 30px;
    left: 30px;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.back-home:hover {
    color: var(--secondary);
}

/* --- RIGHT SIDE (Form) --- */
.auth-form-side {
    flex: 1; /* 50% width */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    background: var(--white);
    max-width: 600px; /* Zyada chura na ho bari screen par */
    margin: 0 auto;
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
}
.auth-logo i {
    color: var(--secondary);
    font-size: 2rem;
}

.form-header {
    margin-bottom: 30px;
}
.form-header h3 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}
.form-header p {
    color: var(--gray);
}

/* --- INPUT FIELDS --- */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px; /* Left padding for icon */
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.input-group input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 5px rgba(16, 196, 92, 0.2);
}

/* Input Icons (Left) */
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

/* Password Toggle Icon (Right) */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--gray);
}

/* --- BUTTONS & LINKS --- */
.auth-btn {
    width: 100%;
    padding: 15px;
    background: var(--secondary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 10px;
}

.auth-btn:hover {
    background: #0ea04b;
    transform: translateY(-2px);
}

.extra-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

.extra-links a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}
.extra-links a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray);
    cursor: pointer;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .auth-image {
        display: none;
    } /* Mobile pe image hide */
    .auth-form-side {
        max-width: 100%;
        padding: 30px;
    }
    .auth-container {
        height: auto;
        min-height: 100vh;
    }
}
