.conditions-section{
    background-color: #ffffff;
    color: #000000;
    padding: 80px 0;
    margin: 69px auto 0;
    min-height: 75vh;
}
.table-block{
    color: #000000;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards in a row have equal height */
    display: flex;
    align-items: center; /* Vertically align content */
}

.table-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.table-block table td{
    padding: 16px;
    background-color: #f8f8f8;
    margin: 8px;
    border: 1px solid #e0e0e0;
}

.conditions-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.conditions-section .section-cotitle {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.conditions-section a{
    color: #212529;
}
.conditions-section a:hover{
    color: #212529bf;
}
.conditions-section .btn{
    display: block;
}

.reg-section {
    background-color: #ffffff;
    color: #000000;
    padding: 80px 0;
    margin: 69px auto 0;
    min-height: 75vh;
}

.reg-section .success{
    margin: 5rem auto;
}

.reg-section .loading{
    display: none;
    width: 16px;
    height: 16px;
    background: url('images/gear.svg') center center /cover no-repeat;
}
.reg-section .chapter {
    font-weight: 600;
    color: #333;
    font-size: 1.25rem;
    margin: 2rem 0 1rem;
}
.reg-section .field {
    margin:0 0 4px 0;
    text-align: left;
}
.reg-section .info {
    margin:4px 0 0;
}
.reg-section .text {
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 10px 15px;
    transition: all 0.3s;
    width: 100%;
    margin-bottom: 4px;
}
.reg-section .block {
    margin: 1rem 0;
}
.reg-section .button {
    background-color: #ff0000;
    border-color: #ff0000;
    padding: 10px 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
    color: #fff;
    outline: none;
}
.reg-section a{
    color: #3b82f6;
}
.reg-section a:hover{
    color: #fa0000;
}
.reg-section .button:hover {
    background-color: #e60000;
    border-color: #e60000;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
}
.reg-section .error{
    color: #fa0000;
    display: block;
    font-size: 0.9rem;
}
.reg-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}
.radio {
    position: relative;
    display: block;
    padding-left: 32px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    transition: all 0.3s ease;
}
/* Скрываем нативный input */
.radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
/* Кастомный radio кружок */
.radio span {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    transition: all 0.3s ease;
}
/* Стиль при наведении */
.radio:hover input ~ span {
    border-color: #aaa;
}
/* Стиль для активного/выбранного radio */
.radio input:checked ~ span {
    border-color: #3b82f6; /* Синий цвет как в Tailwind */
    background-color: #fff;
}
/* Внутренняя точка radio */
.radio input:checked ~ span:after {
    content: "";
    position: absolute;
    display: block;
    top: 3px;
    left: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #3b82f6;
}
/* Фокус стили */
.radio input:focus-visible ~ span {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    outline: none;
}
/* Анимация при переключении */
.radio input:checked ~ span {
    animation: radioCheck 0.3s ease;
}
@keyframes radioCheck {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* Стиль для текста */
.radio {
    color: #333;
    line-height: 22px;
}
/* Стиль для активного варианта */
.radio input:checked ~ span + * {
    color: #3b82f6;
    font-weight: 500;
}
/* Основные стили для контейнера checkbox */
.checkbox {
    position: relative;
    display: block;
    padding-left: 32px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
    transition: all 0.3s ease;
}
/* Скрываем нативный input */
.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
/* Кастомный checkbox квадрат */
.checkbox span {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: all 0.3s ease;
}
/* Стиль для активного/выбранного checkbox */
.checkbox input:checked ~ span {
    border-color: #3b82f6;
    background-color: #3b82f6;
}
/* Галочка внутри checkbox */
.checkbox input:checked ~ span:after {
    content: "";
    position: absolute;
    display: block;
    left: 6px;
    top: 2px;
    width: 7px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
/* Фокус стили */
.checkbox input:focus-visible ~ span {
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
    outline: none;
}
/* Анимация при переключении */
.checkbox input:checked ~ span {
    animation: checkboxCheck 0.3s ease;
}
@keyframes checkboxCheck {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
/* Стиль для текста */
.checkbox {
    color: #333;
    line-height: 22px;
}
.response{
    margin: 8px 0;
    font-size: 16px;
    font-weight: bold;
}
