﻿.form-container {
    max-width: 550px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin: 1.5rem auto;
    padding: 1rem;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    line-height: 1.5;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

input {
    width: 100%;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    box-sizing: border-box;
}

.custom-width {
    width: 100%;
    max-width: 520px;
}

.mat-form-field-required-marker {
    color: red !important;
}

.button-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    .form-container {
        margin: 1rem;
        padding: 0.75rem;
    }

    .custom-width {
        max-width: 100%;
    }

    .button-container {
        flex-direction: column;
        gap: 0.75rem;
    }

    button {
        width: 100%;
    }
}

@media (min-width: 601px) {
    .form-container {
        padding: 2rem;
    }

    .button-container {
        flex-direction: row;
        gap: 1rem;
    }

    button {
        min-width: 150px;
    }
}
