/* --- Google Font Import --- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --background-color: #f1f5f9;
    --surface-color: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --radius: 10px;
    --radius-sm: 6px;
}
 .logo {
            display: flex;
            align-items: center;
            transition: transform 0.3s ease;

        }

        .logo-img {
            height: 32px; /* Optimal logo size */
            width: auto;
            transition: transform 0.3s ease;
        }

        .logo:hover {
            transform: scale(1.05);
        }
/* --- General Body & Layout Styles --- */
.big-body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Use min-height to handle longer forms */
    margin: 0;
    padding: 20px 0; /* Add some padding for scrolling on small screens */
}

/* --- Container (Applies to both Login and Signup) --- */
.auth-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 450px; /* Slightly wider for the signup form */
    box-sizing: border-box;
}

/* --- Header --- */
h1 {
    text-align: center;
    color: #333;
    margin-top: 0;
    margin-bottom: 30px;
    font-weight: 600;
}
.error-message {
    color: #d93025; /* A standard error red */
    background-color: #fbe9e7;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
    font-size: 14px;
}

/* --- Form Styles --- */
form {
    display: flex;
    flex-direction: column;
}

/* --- Form Row for side-by-side elements --- */
.form-row {
    display: flex;
    gap: 15px; /* Space between the first and last name inputs */
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

/* --- Input Labels --- */
label {
    display: block;
    font-size: 14px;
    color: #555;
    margin-bottom: 8px;
    font-weight: 500;
}

/* --- Input Fields (all types) --- */
input[type="email"],
input[type="password"],
input[type="text"],
input[type="date"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
    font-family: 'Poppins', sans-serif; /* Ensure consistent font */
}

/* Make date input placeholder text look consistent */
input[type="date"]:invalid {
    color: #6c757d;
}

/* --- Input Field Focus State --- */
input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus,
input[type="date"]:focus {
    outline: none;
    border-color:  var(--primary-color); /* Purple border on focus */
}

/* --- Submit Button --- */
button[type="submit"] {
    background: linear-gradient(90deg, var(--primary-color),  var(--primary-dark)); /* Purple gradient */
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    margin-top: 10px; /* Add some space above the button */
}

/* --- Button Hover State --- */
button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(80, 43, 226, 0.3);
}

/* --- Link at the Bottom (Applies to both pages) --- */
.bottom-link {
    text-align: center;
    margin-top: 25px;
    color: #666;
    font-size: 14px;
}

.bottom-link a {
    color:  var(--primary-color); /* Purple link color */
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.3s ease;
}

.bottom-link a:hover {
    text-decoration: underline;
}