.text-4_5xl
{
    font-size: 52px;
}
.font-42
{
    font-size: 42px;
}
.border-1
{
    border: 1px solid;
}

.dentist-gradient
{
    background: RGBA(37, 180, 248, 0.3);
    background: linear-gradient(121deg,rgba(37, 180, 248, 0.3) 0%, rgba(37, 180, 248, 0) 100%);
    backdrop-filter: blur(200px);
}

.secondary-bg
{
    background: rgba(230, 246, 254, 10);
    background: linear-gradient(180deg,rgba(230, 246, 254, 1) 0%, rgba(230, 246, 254, 0) 71%);
}

.box-shadow1
{
    box-shadow: 0px 5px 50px 0px rgba(0, 0, 0, 0.08);
}

/* Buttons */
.btn-primary {
    @apply bg-blue-600 text-white px-4 py-2 rounded hover:bg-blue-700 transition;
}

.btn-secondary {
    @apply bg-gray-200 text-gray-800 px-4 py-2 rounded hover:bg-gray-300 transition;
}

.btn-danger {
    @apply bg-red-600 text-white px-4 py-2 rounded hover:bg-red-700 transition;
}

.btn-edit {
    @apply bg-yellow-500 text-white px-4 py-2 rounded hover:bg-yellow-600 transition;
}

.btn-primary-sm {
    @apply bg-blue-600 text-white px-3 py-1 rounded text-sm hover:bg-blue-700 transition;
}

.btn-secondary-sm {
    @apply bg-gray-200 text-gray-800 px-3 py-1 rounded text-sm hover:bg-gray-300 transition;
}

.btn-danger-sm {
    @apply bg-red-600 text-white px-3 py-1 rounded text-sm hover:bg-red-700 transition;
}

.btn-edit-sm {
    @apply bg-yellow-500 text-white px-3 py-1 rounded text-sm hover:bg-yellow-600 transition;
}

/* Input fields */
.input-field {
    @apply border border-gray-300 rounded px-3 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500;
}

/* Other */
.box-shadow1 {
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

/* Слайдер */
.dentists-slider {
    padding: 10px;
}

.swiper-slide {
    transition: transform 0.3s ease;
}

.swiper-slide:hover {
    transform: translateY(-5px);
}

/* Фон на всю ширину */
.full-width-bg {
    position: relative;
}

.full-width-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: inherit;
    z-index: -1;
}

/* В ваш CSS */
.swiper-slide {
    max-width: 300px; /* Ограничиваем максимальную ширину слайда */
}

/* Для случая с 1 врачом */
.dentists-slider--single .swiper-slide {
    max-width: 400px;
}

.reviews-slider .swiper-slide {
    height: auto; /* Чтобы все слайды были одной высоты */
    opacity: 0.7; /* Неактивные слайды полупрозрачны */
    transition: opacity 0.3s ease;
}
.reviews-slider .swiper-slide-active {
    opacity: 1; /* Активный слайд полностью видим */
}

.swiper-wrapper {
    transition-timing-function: cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
.reviews-slider .swiper-slide {
    transition: transform 0.4s ease;
}

/* Анимация для drag & drop зоны */
#dropZone {
    transition: all 0.3s ease;
}

#dropZone.highlight {
    border-color: #3b82f6;
    background-color: #eff6ff;
}


.accessibility-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border: 2px solid #333;
    border-radius: 8px;
    padding: 20px;
    z-index: 10000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    min-width: 300px;
    display: none;
}

.accessibility-panel.active {
    display: block;
}

.accessibility-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.accessibility-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.accessibility-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.accessibility-close:hover {
    color: #000;
}

.accessibility-controls {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.control-group span {
    font-weight: 500;
    min-width: 120px;
    color: #333;
}

.accessibility-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #2c5282;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    transition: background-color 0.3s;
}

.accessibility-toggle:hover {
    background: #1a365d;
}

.font-size-btn,
.theme-btn,
.image-btn,
.spacing-btn,
.reset-btn,
.hide-panel-btn {
    padding: 8px 12px;
    border: 1px solid #ccc;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
    font-size: 14px;
}

.font-size-btn:hover,
.theme-btn:hover,
.image-btn:hover,
.spacing-btn:hover,
.reset-btn:hover,
.hide-panel-btn:hover {
    background: #f0f0f0;
}

.theme-btn[data-theme="white"] { background: #ffffff; color: #000000; }
.theme-btn[data-theme="black"] { background: #000000; color: #ffffff; }
.theme-btn[data-theme="blue"] { background: #1e40af; color: #ffffff; }
.theme-btn[data-theme="brown"] { background: #78350f; color: #ffffff; }
.theme-btn[data-theme="green"] { background: #065f46; color: #ffffff; }

.reset-btn {
    background: #dc2626;
    color: white;
    border: none;
}

.reset-btn:hover {
    background: #b91c1c;
}

.hide-panel-btn {
    background: #4b5563;
    color: white;
    border: none;
}

.hide-panel-btn:hover {
    background: #374151;
}

/* Стили для доступности */
body.accessibility-mode {
    transition: all 0.3s ease;
}

body.font-large {
    font-size: 18px;
}

body.font-xlarge {
    font-size: 20px;
}

body.font-xxlarge {
    font-size: 22px;
}

body.line-height-medium {
    line-height: 1.6;
}

body.line-height-large {
    line-height: 1.8;
}

body.line-height-xlarge {
    line-height: 2.0;
}

body.theme-black {
    background: #000 !important;
    color: #fff !important;
}

body.theme-black a {
    color: #90cdf4 !important;
}

body.theme-blue {
    background: #c7d2fe !important;
    color: #1e3a8a !important;
}

body.theme-brown {
    background: #fef3c7 !important;
    color: #78350f !important;
}

body.theme-green {
    background: #d1fae5 !important;
    color: #065f46 !important;
}

.images-grayscale img {
    filter: grayscale(100%);
}

.images-hidden img {
    display: none !important;
}

.images-hidden .bg-image {
    background-image: none !important;
}
