@font-face {
    font-family: 'Jost';
    src: url('/static/fonts/Jost-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
}

body {
    font-family: 'Jost', sans-serif; 
    background: #f9f9f9;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 50%; 
    width: 30%; 
    margin: 80px auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 7px -2px rgba(0,0,0,0.1), 0 12px 18px 0 rgba(0,0,0,0.2);
}

img.logo {
    display: block;
    margin: 20px auto 0 auto; /* Added vertical spacing above the logo */
    max-width: 50%; 
    height: auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}
.form-group label {
    margin-bottom: 5px;
    color: #555;
    text-align: center; 
}
.form-group input {
    padding: 10px;
    border-radius: 4px;
    width: 24.5%; /* Changed to 35% of 70% */
    margin-left: auto; 
    margin-right: auto; 
    display: block; 
    border: 1px solid #ccc;
    text-align: center; /* Align text in the center of the input field */
}
.form-group button {
    padding: 10px;
    border-radius: 4px;
    width: 120px; /* Fixed width for the button */
    margin-left: auto; 
    margin-right: auto; 
    display: block; 
    text-align: center;
    background: linear-gradient(90deg, #db3d54 0, #db3d54 100%);
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color .2s ease;
}
.form-group button:hover {
    background-color: #c13545;
}
.error, .success {
    text-align: center;
    margin-bottom: 10px;
}
.error {
    color: red;
}
.success {
    color: green;
}
@media (max-width: 600px) {
    h1 {
        font-size: 1.5em; 
    }
    .form-group input, .form-group button {
        width: 80%; /* Ensuring the inputs and button fit mobile screens */
    }
    
    .container {
        max-width: 80%; 
        width: 50%; 
        margin: 80px auto;
        background-color: #fff;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 5px 7px -2px rgba(0,0,0,0.1), 0 12px 18px 0 rgba(0,0,0,0.2);
    }
}
