* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f3f4f6;
    /* background-color: red; */
    display: grid;
    place-items: center;
    height: 100vh;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 0.5rem; /* Consistent with dashboard cards */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); /* Consistent with dashboard cards */
    text-align: center;
}

.login-title {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937; /* Consistent with dashboard text */
    margin-bottom: 2rem;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    text-align: left;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563; /* Consistent with dashboard secondary text */
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #1f2937;
    background-color: #f9fafb;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem; /* Consistent with buttons */
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

.submit-button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #4f46e5;
    border: none;
    border-radius: 0.375rem; /* Consistent with inputs */
    cursor: pointer;
    transition: background-color 0.2s;
}

.submit-button:hover {
    background-color: #4338ca;
}

@media screen and (max-width: 480px) {
    body {
        background-color: #ffffff;
    }
    .login-container {
        border-radius: 0;
        box-shadow: none;
        padding: 1.5rem;
    }
}