.networkForm {
    width: 100%;
}

.networkForm_Block {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Column header */
.networkForm_Column h2 {
    font-family: 'Anton', sans-serif;
    font-weight: 400;
    font-size: 36px;
    line-height: 44px;
    color: var(--Hittarp-svart);
    margin-bottom: 24px;
}

/* Form field containers */
.wpcf7-form p {
    margin-bottom: 24px;
    width: 100%;
}

/* Labels */
.wpcf7-form label {
    display: block;
    font-family: 'Oswald', sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--Hittarp-svart);
}

/* Text inputs, email, select and textareas */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form .wpcf7-email,
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    font-size: 16px;
    line-height: 1.5;
    margin-top: 4px;
    transition: border-color 0.2s ease;
    background-color: #fff;
}

/* Additional email field specificity */
.wpcf7-form .wpcf7-form-control.wpcf7-email {
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    width: 100%;
    display: block;
}

/* Specific styling for select dropdown */
.wpcf7-form select {
    width: auto;
    min-width: 200px;
    padding-right: 30px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 12px) center;
    cursor: pointer;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form .wpcf7-email:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--Hittarp-svart);
    outline: none;
}

/* Form field wrapper */
.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* Radio buttons container */
.wpcf7-radio {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

/* Radio button items */
.wpcf7-radio .wpcf7-list-item {
    margin: 0;
}

.wpcf7-radio .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    /* Reset font for radio labels */
    font-family: inherit;
    font-weight: normal;
    font-size: 16px;
}

.wpcf7-radio .wpcf7-list-item label:hover {
    background-color: #f5f5f5;
}

.wpcf7-radio .wpcf7-list-item input[type="radio"] {
    margin-top: 3px;
    margin-right: 10px;
}

.wpcf7-radio .wpcf7-list-item-label {
    flex: 1;
    color: var(--Hittarp-svart);
}

/* Message textarea */
.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Submit button */
.wpcf7-form input[type="submit"] {
    background-color: var(--Hittarp-red1);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: background-color 0.2s;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: var(--Hittarp-red2);
}

/* Required field asterisk */
.wpcf7-form .required {
    color: var(--Hittarp-red1);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .networkForm_Block {
        padding: 15px;
    }
}

@media (max-width: 768px) {
    .networkForm_Block {
        padding: 10px;
    }
    
    .wpcf7-form input[type="text"],
    .wpcf7-form input[type="email"],
    .wpcf7-form .wpcf7-email,
    .wpcf7-form select,
    .wpcf7-form textarea {
        padding: 10px;
    }
    
    .wpcf7-form select {
        width: 100%;
    }
}
