﻿@import url('https://fonts.googleapis.com/css2?family=Inter&display=swap');

body {
    background-color: #3a3a3a;
    font-family: 'Inter', sans-serif;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

main {
    width: 250;
    margin: 3rem auto;
    padding: 1.5rem;
    background-color: #f9fafb;
    border-radius: 0.375rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

h2 {
    margin: 0;
    font-weight: 700;
    color: #1f2937; /* koyu gri */
    text-align: center;
}

.validation-error {
    color: red;
    font-size: 0.875rem;
    text-align: center;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    input[type="text"]:focus,
    input[type="password"]:focus {
        outline: none;
        border-color: #6366f1;
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5);
    }

button {
    background-color: #4f46e5;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 0.375rem;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    button:hover,
    button:focus {
        background-color: #4338ca;
        outline: none;
    }
