:root {
    --primary-color: #4F46E5; 
    --primary-hover: #4338CA;
    --text-color: #1F2937;
    --text-secondary: #4B5563;
    --light-gray: #F3F4F6;
    --border-color: #E5E7EB;
    --error-color: #EF4444;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    color: var(--text-color);
    background-color: #f9fafb;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z' fill='%23d1d5db' fill-opacity='0.3' fill-rule='evenodd'/%3E%3C/svg%3E");
    line-height: 1.5;
}

.login-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
    padding: 1.5rem;
    box-sizing: border-box;
    margin: 1rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.25rem;
    position: relative;
    text-align: center;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: center;
}

input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.9375rem;
    box-sizing: border-box;
    transition: border-color 0.2s;
    margin: 0 auto;
}

.logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.logo img {
    height: 200px;
    width: auto;
    max-width: 100%;
}

h1 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    text-align: center;
}

input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(79, 70, 229, 0.2);
}

.forgot-password {
    display: block;
    text-align: center;
    font-size: 0.8125rem;
    color: var(--primary-color);
    text-decoration: none;
    margin-top: 0.5rem;
}

.btn {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
}

.signup-link {
    text-align: center;
    font-size: 0.8125rem;
    margin-top: 1.25rem;
    color: var(--text-secondary);
}

.signup-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.password-wrapper {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0;
    font-size: 1rem;
}

.error-message {
    color: var(--error-color);
    font-size: 0.8125rem;
    margin-top: 0.25rem;
    display: none;
}