* {
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #f7f8fc, #e6ebff);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 40px 20px;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
}

.vorm{
    background: #fff;
    padding: 30px 40px;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 50, 0.1);
    max-width: 480px;
    width: 100%;
    transition: box-shadow 0.3s ease;
}

.vorm:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 50, 0.15);
}

h2 {
    margin-bottom: 25px;
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    text-align: center;
}

label, legend {
    display: block;
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 8px;
    color: #222;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
select,
textarea,
input[type="file"] {
    width: 100%;
    background-color: #f7f8fc;
    border: 2px solid #cfd8ff;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 15px;
    color: #1a1a2e;
    transition: border-color 0.3s ease;
    outline-offset: 2px;
    margin-bottom: 20px;
    font-family: inherit;
    resize: vertical;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus,
input[type="file"]:focus {
    border-color: #6b7fff;
    background-color: #e6ebff;
}

textarea {
    min-height: 100px;
}


fieldset {
    border: none;
    margin: 20px 0;
    padding: 0;
}

fieldset legend {
    margin-bottom: 10px;
}

fieldset label {
    display: inline-flex;
    align-items: center;
    margin-right: 25px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    color: #444;
    user-select: none;
    transition: color 0.2s ease;
}

fieldset label:hover {
    color: #6b7fff;
}

input[type="radio"],
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #6b7fff;
}

button {
    background: #6b7fff;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 18px;
    padding: 14px 0;
    width: 100%;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(107, 127, 255, 0.4);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

button:hover {
    background-color: #4a59d9;
    box-shadow: 0 12px 28px rgba(74, 89, 217, 0.6);
}

button:focus {
    outline: none;
    box-shadow: 0 0 0 3px #a3b1ff;
}

