/*
Theme Name: EIMMF Theme
Description: Тема для Евразийского Международного Медицинского Форума
Version: 1.0
Author: Шиндряев Андрей Михайлович 
*/

.wpcf7-form label {
    display: block;
    margin-bottom: 20px;
    font-weight: 500;
}

.wpcf7-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.wpcf7-radio label {
    display: inline-block;
    margin-right: 20px;
    font-weight: 400;
}

.wpcf7-submit {
    background-color: #000;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}

.wpcf7-submit:hover {
    background-color: #333;
}

.consent-label {
    display: block;
    font-size: 14px;
    font-weight: 400;
    margin-top: 20px;
}

.consent-label input[type="checkbox"] {
    margin-right: 10px;
}

.consent-wrapper {
    font-weight: normal;
    font-size: 14px;
}

.consent-wrapper label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    cursor: pointer;
}

.consent-wrapper input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.consent-wrapper a {
    color: var(--red);
    text-decoration: underline;
}

.consent-wrapper a:hover {
    text-decoration: none;
}
/* Booth Type radio buttons */
.wpcf7-form p:has([name="booth-type"]) {
    margin-bottom: 20px;
}

.wpcf7-form .wpcf7-radio {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wpcf7-form .wpcf7-list-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    padding: 12px 15px;
    border: none;
    background-color: transparent;
    border-radius: 4px;
    transition: background-color 0.3s;
    cursor: pointer;
}

.wpcf7-form .wpcf7-list-item:hover {
    background-color: var(--grey);
}

.wpcf7-form .wpcf7-list-item label {
    margin-bottom: 0;
    cursor: pointer;
    font-weight: 400;
    color: #000;
}

.wpcf7-form input[type="radio"] {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
    accent-color: var(--red);
}

/* Убираем стили по умолчанию для радио-кнопок */
.wpcf7-form .wpcf7-radio .wpcf7-list-item {
    border: none !important;
    background: transparent !important;
    padding-left: 0;
}