.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;
}

.premium-btn {
    background: linear-gradient(135deg, #1e293b, #334155, #1e293b);
    background-size: 200% 200%;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.3);
    color: white;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    letter-spacing: 0.5px;
}

.premium-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.premium-btn:hover::before {
    left: 100%;
}

.premium-btn:hover {
    box-shadow:
        0 0 40px rgba(255, 255, 255, 0.5),
        inset 0 0 25px rgba(255, 255, 255, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-4px) scale(1.05);
    color: #fef3c7;
    border-color: rgba(255, 255, 255, 0.6);
}

.premium-btn-mobile {
    background: linear-gradient(135deg, #1e293b, #334155);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 0 25px rgba(255, 255, 255, 0.3),
        inset 0 0 15px rgba(255, 255, 255, 0.1),
        0 8px 32px rgba(0, 0, 0, 0.2);
    color: white;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(15px);
    letter-spacing: 0.5px;
}

.premium-btn-mobile:hover {
    box-shadow:
        0 0 35px rgba(255, 255, 255, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.6);
}

#mobile-menu {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#mobile-menu.hidden {
    opacity: 0;
    transform: translateY(-40px) scale(0.9);
    pointer-events: none;
}

#mobile-menu:not(.hidden) {
    opacity: 1;
    transform: translateY(0) scale(1);
}

header {
    box-shadow:
        0 32px 64px -12px rgba(245, 158, 11, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

header::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.3), transparent, rgba(255, 255, 255, 0.3));
    border-radius: 2rem;
    z-index: -1;
    opacity: 0.6;
}

/* nav links */
.nav-link {
    @apply text-slate-800 px-3 py-2 rounded-xl font-medium transition-all duration-300;
}

.nav-link:hover {
    @apply bg-white/20 text-white;
}

/* mobile */
.mobile-link {
    @apply text-xl font-bold text-slate-800 w-full text-center py-4 rounded-2xl transition-all;
}

.mobile-link:hover {
    @apply bg-white/20 text-white;
}

/* burger */
.line {
    height: 2px;
    width: 100%;
    background: #1e293b;
    border-radius: 999px;
    transition: all 0.4s ease;
}

/* animation */
.mobile-menu-toggle.is-open .line:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.mobile-menu-toggle.is-open .line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.is-open .line:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

