﻿form {
    width:320px;
    /*max-width: 90%;
    margin: 50px auto;*/
    padding: 20px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

    form label {
        display: block;
        margin-bottom: 8px;
        font-weight: bold;
        color: #333;
    }

    form input[type="text"],
    form input[type="tel"],
    form input[type="date"],
    form input[type="submit"],
    form select {
        width: 100%;
        padding: 10px;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-sizing: border-box;
        font-size: 16px;
    }

        form input[type="text"]:focus,
        form input[type="tel"]:focus,
        form input[type="date"]:focus,
        form select:focus {
            border-color: #0056b3;
            outline: none;
        }

    form input[type="submit"] {
        background-color: #007bff;
        color: white;
        cursor: pointer;
        transition: background-color 0.3s ease;
        font-size: 18px;
        font-weight: bold;
    }

        form input[type="submit"]:hover {
            background-color: #0056b3;
        }

.radio-group {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

    .radio-group label {
        font-weight: normal;
    }

    .radio-group input {
        margin-right: 5px;
    }

.file-upload {
    margin-bottom: 20px;

}

form .form-field {
    margin-bottom: 20px;
}

form .error {
    color: red;
    font-size: 14px;
}

form .success {
    color: green;
    font-size: 14px;
    text-align: center;
}

@media (max-width: 600px) {
    form {
        width: 90%;
        margin: 20px auto;
        padding: 15px;
    }

        form input[type="submit"] {
            width: 100%;
        }
}
