* {
    box-sizing: border-box; /* Include padding and border in the element's width */
}
body {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #f0f0f0;
    font-family: Arial, Helvetica, sans-serif; /* Common sans-serif font */
}

.login-card {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px; /* Adjust as needed for width */
}

.logo img {
    display: block;
    padding: 4rem; /* Adds space below the logo */
    max-width: 100%;
    height: auto;
}

.info-text {
    text-align: center;
    margin-bottom: 20px;
}

.form-row {
    margin-bottom: 10px;
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%; /* Full width inside the form-row */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #db0812; /* Highlight color */
    color: white;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box; /* Include padding and border in the element's width */
}

button:hover {
    background-color: #b0060f; /* Darker shade for hover effect */
}

button.secondary-button {
    width: 100%;
    padding: 10px;
    background-color: white;
    color: #db0812; /* Text color same as submit button */
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px; /* Space between submit and back buttons */
}

button.back-secondary:hover {
    background-color: #f0f0f0; /* Light grey background on hover */
}

.error {
    color: #db0812;
}

input:not(:placeholder-shown):invalid {
    border: 2px dashed #db0812;
}
  
input:not(:placeholder-shown):valid {
    border: 1px solid #aaa;
}