main {
    max-width: 800px;
    margin: 40px auto;
    padding: 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.08);
    padding-top:20px;
    position: relative;
    overflow: hidden;
}

h1, p {
    text-align: center;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
}

fieldset {
    border: none;
    margin-bottom: 15px;
}

legend {
    font-weight: bold;
    padding: 10px;
}

label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

input[type="radio"] {
    margin-right: 10px;
}

textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
}

form button {
    background-color: #70a6e0;
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

form button:hover {
    background-color: #0056b3;
}

.menu-toggle {
    margin-top: 30px;
}
body{
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8eb 100%);
    min-height: 100vh;
}

/* Förbättrad rubrikstyling */
h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    position: relative;
    padding-bottom: 15px;
}

h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #70a6e0, #4a89dc);
}

/* Moderniserat formulär */
form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Förbättrade input-fält */
input[type="text"],
input[type="email"],
textarea,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus,
select:focus {
    border-color: #70a6e0;
    box-shadow: 0 0 0 3px rgba(112, 166, 224, 0.2);
    outline: none;
    background-color: white;
}

/* Förbättrade radio-knappar */
.radio-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-option {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
}

.radio-option:hover {
    background: #e9e9e9;
}

input[type="radio"] {
    margin-right: 8px;
    accent-color: #70a6e0;
}

/* Modern knappstyling */
form button {
    background: linear-gradient(90deg, #70a6e0, #4a89dc);
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

form button:hover {
    background: linear-gradient(90deg, #5d95d0, #3a76c2);
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
/* Responsivitet */
@media (max-width: 768px) {
    main {
        margin: 20px;
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}