﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'PH-Regular';
}

body {
    background: linear-gradient(to right, #667eea, #764ba2);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.login-container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 400px;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #333;
}

.input-group {
    margin-bottom: .4rem;
}

    .input-group label {
        display: block;
        margin-bottom: 0.2rem;
        color: #555;
    }

    .input-group input,select {
        width: 100%;
        padding: 0.4rem;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 1rem;
        transition: border-color 0.3s;
    }

        .input-group input:focus {
            border-color: #667eea;
            outline: none;
        }

button {
    width: 100%;
    padding: 0.75rem;
    background-color: #667eea;
    border: none;
    border-radius: 6px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

    button:hover {
        background-color: #5a67d8;
    }

.signup-text {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

    .signup-text a {
        color: #667eea;
        text-decoration: none;
    }

/* Responsive design for small screens */
@media (max-width: 480px) {
    .login-container {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    button {
        font-size: 0.95rem;
    }

    .signup-text {
        font-size: 0.85rem;
    }
}
.error-message {
    margin-top: 0.25rem;
    color: red;
    font-size: 0.85rem;
    height: 1rem;
}
