.border-b {
    border-bottom-width: 2px;
    color: cornflowerblue;
}

.border-t {
    border-top-width: 2px;
    color: cornflowerblue;
}
.mb-4 {
    margin-top: calc(var(--spacing) * 4);
}
.demo-exit-btn {
    position: fixed;
    bottom: 6rem;           /* Отступ 3rem от нижнего края */
    left: 50%;              /* Центрируем по горизонтали */
    transform: translateX(-50%); /* Смещаем на половину ширины кнопки */
    z-index: 1000;
    background: #fef3c7;
    border: 2px solid #f59e0b;
    color: #92400e;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}
/* Стили для блока информации о сервисе */
.service-info-header {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.service-info-header h2 {
    font-size: 1.125rem;
    font-weight: 700;
}

.service-info-header p {
    font-size: 0.875rem;
}

/* Адаптивные стили */
@media (max-width: 640px) {
    .service-info-header {
        text-align: center;
        margin-top: 1rem;
        padding-top: 1rem;
		padding-bottom: 10rem;
    }
    
    .service-info-header .flex-col {
        align-items: center;
    }
}
input[type="text"],
input[type="tel"],
select,
textarea {
  @apply focus:ring-2 focus:ring-blue-500 focus:outline-none;
}
@media print {
  .break-inside-avoid {
    page-break-inside: avoid;
    break-inside: avoid;
  }
}
/* Предотвращает разрыв строк таблиц между страницами */
#order-to-pdf tr {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

/* Убеждаемся, что контейнер имеет правильную высоту для захвата */
#order-to-pdf {
    background: white;
    height: auto !important;
    overflow: visible !important;
}
/* РЕГИСТРАЦИЯ */
        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }
		/* Новый индикатор шагов */
		.step-indicator {
			display: flex;
			justify-content: space-between;
			position: relative;
			margin-bottom: 3rem;
		}
		.step-indicator::before {
			content: '';
			position: absolute;
			top: 22px;
			left: 25px;
			right: 25px;
			height: 4px;
			background-color: #e2e8f0;
			z-index: 1;
		}
		.step-indicator::after {
			content: '';
			position: absolute;
			top: 22px;
			left: 25px;
			width: <?= $step == 2 ? '100%' : '0%' ?>;
			height: 4px;
			background-color: #2563eb;
			z-index: 2;
			transition: width 0.3s ease;
		}
		.step-dot {
			width: 50px;
			height: 50px;
			border-radius: 50%;
			background-color: #e2e8f0;
			z-index: 3;
			display: flex;
			align-items: center;
			justify-content: center;
			position: relative;
			border: 4px solid white;
			font-weight: bold;
			font-size: 1.2rem;
		}
		.step-dot.active {
			background-color: #2563eb;
			color: white;
		}
		.step-dot.completed {
			background-color: #16a34a;
			color: white;
		}
		.step-text {
			position: absolute;
			top: 60px;
			left: 50%;
			transform: translateX(-50%);
			font-size: 0.875rem;
			font-weight: 600;
			color: #4b5563;
			white-space: nowrap;
			width: 80px;
			text-align: center;
		}

		/* Скрываем второй текст на первом шаге и первый текст на втором шаге */
		.step-indicator .flex-col:first-child .step-text {
			display: <?= $step == 1 ? 'block' : 'none' ?>;
		}
		.step-indicator .flex-col:last-child .step-text {
			display: <?= $step == 2 ? 'block' : 'none' ?>;
		}
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1rem;
        }
        .service-category {
            border: 1px solid #e2e8f0;
            border-radius: 0.5rem;
            padding: 1rem;
            margin-bottom: 1rem;
            transition: all 0.2s ease;
        }
        .service-category:hover {
            border-color: #2563eb;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        }
        .price-input {
            transition: all 0.2s ease;
        }
        .price-input:focus {
            outline: none;
            border-color: #2563eb;
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
        }
        .brand-group {
            margin-bottom: 1.5rem;
        }
        .brand-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 0.5rem;
            margin-top: 0.5rem;
        }
        /* Убедимся, что все услуги видны */
        .service-category .space-y-3 {
            max-height: none !important;
            overflow: visible !important;
        }
        /* Стили для диапазона цен */
        .price-range-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .price-range-separator {
            color: #6b7280;
            font-weight: 500;
            user-select: none;
        }
        .price-input-small {
            width: 110px;
        }
        .price-preview {
            font-size: 0.875rem;
            color: #6b7280;
            margin-top: 0.25rem;
            min-height: 1.25rem;
        }
        .price-validation {
            font-size: 0.75rem;
            margin-top: 0.25rem;
            min-height: 1rem;
        }
        .price-hint {
            font-size: 0.75rem;
            color: #9ca3af;
            margin-top: 0.25rem;
        }
        .price-suggestion {
            background-color: #f3f4f6;
            border-radius: 0.375rem;
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            color: #6b7280;
            cursor: pointer;
            transition: all 0.2s;
            border: 1px solid #e5e7eb;
        }
        .price-suggestion:hover {
            background-color: #e5e7eb;
        }
        .suggestions-container {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
            margin-top: 0.5rem;
        }
        .checkbox-with-badge {
            position: relative;
        }
        .price-badge {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: #10b981;
            color: white;
            border-radius: 9999px;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: 600;
            opacity: 0;
            transform: scale(0);
            transition: all 0.2s ease;
        }
        .price-badge.active {
            opacity: 1;
            transform: scale(1);
        }