:root {
    --bs-font-sans-serif: "Roboto", sans-serif;
    --bs-body-font-family: var(--bs-font-sans-serif);
}

.rounded-4\/5 {
    border-radius: 1.5rem !important;
}

.form-container {
    border-radius: 1.5rem !important;
    max-width: 800px;
    background-color: var(--bs-white);
}

.form-container-warning {
    box-shadow: inset 0 4px 0 0 var(--bs-warning);
}

.form-container-danger {
    box-shadow: inset 0 4px 0 0 var(--bs-danger);
}

.form-container-success {
    box-shadow: inset 0 4px 0 0 var(--bs-success);
}

.form-container-primary {
    box-shadow: inset 0 4px 0 0 var(--bs-primary);
}

.form-container-secondary {
    box-shadow: inset 0 4px 0 0 var(--bs-secondary);
}

.form-container-info {
    box-shadow: inset 0 4px 0 0 var(--bs-info);
}

.form-container-light {
    box-shadow: inset 0 4px 0 0 var(--bs-light);
}

.form-container-dark {
    box-shadow: inset 0 4px 0 0 var(--bs-dark);
}

.form-check-input {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.25rem;
    margin-left: -1.5rem;
    border-radius: 8px;
    border: 1px solid #D7DCE0 !important;
}

.form-check-input:checked {
    background-color: #22953A;
    border-color: #22953A;
}

.form-check-label {
    margin-left: 8px;
}

.form-control {
    padding-top: 4px;
    padding-bottom: 4px;
    background-color: #f0f0f0;
    border-radius: 12px;
    border: 1px solid #f0f0f0;
}

.form-control:focus {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #7E858F;
    box-shadow: 0 0 0 0;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: .75rem;
}

.btn-fixed {
    width: 200px;
}

/* Обертка для позиционирования */
.position-relative {
    position: relative;
}

/* Range поверх input */
.range-over-input {
    position: absolute;
    bottom: 16px;
    
    left: 6;
    right: 6;
    width: 100%;
    z-index: 10;
    background: transparent;
}

/* Толщина линии */
.range-over-input::-webkit-slider-runnable-track {
    height: 4px;
    background: #dee2e6;
    border-radius: 3px;
    margin-right: 14px;
    margin-left: 8px;
}

.range-over-input::-moz-range-track {
    height: 4px;
    background: #dee2e6;
    border-radius: 3px;
}

/* Бегунок как на макете */
.range-over-input::-webkit-slider-thumb {
    appearance: none;
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 50%;
    margin-top: -14px;
    box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

.range-over-input::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background: #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0,0,0,.15);
}

.range-over-input-warning::-webkit-slider-thumb {
    border: 8px solid var(--bs-warning);
}

.range-over-input-warning::-moz-range-thumb {
    border: 8px solid var(--bs-warning);
}

.range-over-input-danger::-webkit-slider-thumb {
    border: 8px solid var(--bs-danger);
}

.range-over-input-danger::-moz-range-thumb {
    border: 8px solid var(--bs-danger);
}

.range-over-input-success::-webkit-slider-thumb {
    border: 8px solid var(--bs-success);
}

.range-over-input-success::-moz-range-thumb {
    border: 8px solid var(--bs-success);
}

.range-over-input-primary::-webkit-slider-thumb {
    border: 8px solid var(--bs-primary);
}

.range-over-input-primary::-moz-range-thumb {
    border: 8px solid var(--bs-primary);
}

.range-over-input-secondary::-webkit-slider-thumb {
    border: 8px solid var(--bs-secondary);
}

.range-over-input-secondary::-moz-range-thumb {
    border: 8px solid var(--bs-secondary);
}

.range-over-input-info::-webkit-slider-thumb {
    border: 8px solid var(--bs-info);
}

.range-over-input-info::-moz-range-thumb {
    border: 8px solid var(--bs-info);
}

.range-over-input-light::-webkit-slider-thumb {
    border: 8px solid var(--bs-light);
}

.range-over-input-light::-moz-range-thumb {
    border: 8px solid var(--bs-light);
}

.range-over-input-dark::-webkit-slider-thumb {
    border: 8px solid var(--bs-dark);
}

.range-over-input-dark::-moz-range-thumb {
    border: 8px solid var(--bs-dark);
}

.feature-icon {
    width: 48px!important;
    height: 48px!important;
    border-radius: .75rem;
}

.full-canvas {
    height: 100vh !important;
    max-height: 100vh !important;
    top: 0;
}

/* Фиксированная кнопка внизу */
.agree-wrapper {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 12px;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}
