.form-container {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    font-weight: bold;
}

input, select {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

input[type="radio"] {
    display: none;
}

    input[type="radio"] + label {
        position: relative;
        padding-left: 30px;
        cursor: pointer;
        font-weight: normal;
    }

        input[type="radio"] + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            border: 2px solid #007bff;
            border-radius: 50%;
            background: white;
        }

    input[type="radio"]:checked + label:before {
        background: #007bff;
    }

    input[type="radio"]:checked + label:after {
        content: '';
        position: absolute;
        left: 6px;
        top: 50%;
        transform: translateY(-50%);
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: white;
    }

button {
    grid-column: span 2;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

    button:hover {
        background-color: #0056b3;
    }

@media (max-width: 600px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    button {
        grid-column: span 1;
    }
}

/* Auth pages */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 80px);
    padding: 20px;
}
.auth-form {
    max-width: 400px;
    width: 100%;
}
.auth-form .form-group {
    margin-bottom: 1rem;
}
.auth-actions {
    margin-top: 1.5rem;
}
.auth-actions button {
    width: 100%;
    padding: 12px;
}
.auth-footer {
    margin-top: 1rem;
    text-align: center;
}
.auth-footer a {
    color: #007bff;
    text-decoration: none;
}
.auth-footer a:hover {
    text-decoration: underline;
}
.title-hr {
    margin: 0.5rem 0 1rem 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}

/* Custom text input with validation */
.custom-text-input .validation-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.custom-text-input input.input-validation-error,
.custom-text-input.has-error input {
    border-color: #dc3545;
    background-color: #fff5f5;
}

.custom-text-input input.input-validation-error:focus,
.custom-text-input.has-error input:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}
