* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Staatliches', sans-serif;
}

body {
    background: var(--natural-white);
}

main {
    text-align: center;
    padding: 100px 100px 0px; /* Removed bottom padding */
    min-height: calc(100vh - 100px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.user-form {
    max-width: 400px;
    width: 100%;
    margin: 12rem auto 2rem auto; /* Reduced bottom margin from 12rem to 2rem */
    padding: 2.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--hemp-beige);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-form label {
    text-align: left;
    color: var(--charcoal-gray);
    font-size: 1rem;
    font-weight: 500;
}

.user-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--hemp-beige);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.user-form input:focus {
    outline: none;
    border-color: var(--forest-green);
}

.user-form input[type="submit"] {
    background: var(--clay-red);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: all 0.2s ease;
}

.user-form input[type="submit"]:hover {
    background: var(--forest-green);
    transform: translateY(-2px);
}

.flash-messages {
    width: 100%;
    max-width: 600px;
    margin: 20px auto;
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.alert {
    padding: 15px 40px 15px 15px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.alert-danger {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef5350;
}

.alert-success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #66bb6a;
}

.close-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: inherit;
    border: none;
    background: none;
    font-size: 20px;
    padding: 0 5px;
    opacity: 0.7;
}

.close-btn:hover {
    opacity: 1;
}