/* auth.css - Soothing Blue/Gray Theme */

:root {
    --bg-color: #f0f4f8; /* Light grayish blue */
    --container-bg: #ffffff;
    --primary-blue: #5a92ca; /* Muted steel blue */
    --accent-blue: #4a7aa8;
    --text-main: #334e68; /* Dark blue-gray text */
    --text-muted: #627d98;
    --border-color: #dbe3ec;
}

/* auth.css */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    color: var(--text-main);
    /* REMOVE THESE THREE LINES: */
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: center; */
    
    /* CHANGE THIS LINE: */
    min-height: 100vh; 
}

/* Ensure the main area takes up the full screen height and centers content */
.main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--topbar-height)); /* Subtract topbar to center perfectly */
    background: linear-gradient(135deg, #F8FAFC 0%, #E0F2FE 100%); /* Matching your index.php */
    padding: 20px;
}

/* Auth Card - Matching the 'landing-card' feel from index */
.container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    max-width: 450px;
    width: 100%;
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid #E2E8F0;
    text-align: center;
}

h2 {
    color: var(--primary-blue);
    margin-bottom: 24px;
    font-weight: 600;
    letter-spacing: -0.5px;
}

form input {
    width: 100%;
    padding: 14px;
    margin-top: 15px;
    border-radius: 10px;
    border: 2px solid var(--border-color);
    background: #f8fafc;
    color: var(--text-main);
    font-size: 1em;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(90, 146, 202, 0.1);
}

form button {
    width: 100%;
    padding: 14px;
    margin-top: 25px;
    background: var(--primary-blue);
    color: white;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    font-size: 1rem;
}

form button:hover {
    background: var(--accent-blue);
    transform: translateY(-1px);
}

p {
    margin-top: 20px;
    color: var(--text-muted);
}

p a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

p a:hover {
    text-decoration: underline;
}