body {
    margin: 0;
    padding: 0;
    min-height: 200vh;

}

form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    padding: 20px;
    border: 1px solid #cccccc;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #f0f0f0, #d0d0d0, #a0a0a0);
    z-index: 1000;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

legend {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

label {
    display: block;

    color: #555;
}

input[type="text"],
input[type="number"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #cccccc;
    border-radius: 4px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:hover,
input[type="number"]:hover,
input[type="tel"]:hover,
input[type="email"]:hover,
textarea:hover {
    border-color: #0b8ff3;
    box-shadow: 0 0 0 2px rgba(153, 153, 153, 0.15);
}


textarea {
    resize: vertical;
    min-height: 60px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #d0d0d0;
    cursor: pointer;
}

.checkbox-wrapper label {
    font-size: 18px;
    color: #555;
}

.checkbox-container input[type="checkbox"]:hover {
    outline: 1px solid #0b8ff3;
    outline-offset: 2px;
}

input[type="submit"] {
    max-width: 70%;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    background-color: #949697;
    color: white;
    font-weight: bold;
    transition: background-color 0.3s;
}

input[type="submit"]:hover {
    background-color: #6c757d;
    transform: scale(1.1);
}

fieldset>*:not(legend):not(:last-child) {
    margin-bottom: 15px;
}