input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}
select{
    width: 100%;
    padding: 10px;
    margin-bottom: 5px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
 
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
button:hover {
    background-color: #45a049;
}
.dropdown {
    position: relative;

    cursor: pointer;
}

/* Скрытый список по умолчанию */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%; /* Наследуем ширину от родительского элемента .dropdown */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border-radius: 5px;
    top: 100%; /* Позиционирование прямо под родительским элементом */
    left: 0;   /* Выравнивание по левому краю родительского элемента */
}

/* Стиль для ссылок в выпадающем списке */
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-radius: 5px;
}

/* Изменение цвета фона при наведении на ссылки */
.dropdown-content a:hover {
    background-color: #f1f1f1;
}

/* Показываем список при наведении на контейнер */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Добавление плавного появления списка */
.dropdown-content {
    transition: opacity 0.3s ease;
    opacity: 0;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
}

.dealer-container {
    display: inline-block;
    margin-left: -10px;
    position: relative;
}

.tooltip {
    background-color: #000; /* Черный фон */
    color: #fff; /* Белый текст */
    text-align: center;
    border-radius: 5px;
    padding: 5px 10px;
    position: absolute;
    z-index: 1000; /* Высокий z-index для наложения */
    white-space: nowrap;
    font-size: 12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip.show {
    opacity: 1;
}

.d-none{
    display: none;
}


.zamer-info {
    border: 1px solid #ccc;
    padding: 20px;
    margin: 15px 0;
    border-radius: 8px;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

.zamer-info h5 {
    padding: 0;
    margin: 0;
    font-size: 20px;
    color: #333;
}

.zamer-info p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #555;
}

.hours-list {
    padding-left: 0;
    list-style-type: none;
}

.hours-list li {
    background-color: #e9ecef;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 4px;
    color: #333;
    font-size: 14px;
}

.hours-list li:last-child {
    margin-bottom: 0;
}

.hours-list li:before {
    content: "\2022"; /* Маркер в виде точки перед каждым элементом */
    color: #007bff;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0;
}


.booked-hours-list {
    padding-left: 0;
    list-style-type: none;
}

.booked-hours-list li {
    background-color: #f8d7da;
    padding: 10px;
    margin-bottom: 5px;
    border-radius: 4px;
    color: #721c24;
    font-size: 14px;
}

.booked-hours-list li:before {
    content: "\2022"; /* Маркер перед элементом списка */
    color: #dc3545;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0;
}

.w-100 {
   width: 100%;
  } 

  .mb-3
  {
    margin-bottom: 15px;
  }

  .mt-3
  {
    margin-top: 15px;
  }

  .badge {
    background-color: red;
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 5px;
  }


  td {
    position: relative;
}

.action-button {
    border: none;
    cursor: pointer;
    width: 100%;
    font-size: 18px;
    padding: 5px;
}

.action-menu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 4px;
    padding: 5px 0;
    top: 100%; /* Позиционируем меню под кнопкой */
    left: 0;
}

.action-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.action-menu ul li {
    padding: 8px 16px;
}

.action-menu ul li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.action-menu ul li a:hover {
    background-color: #f1f1f1;
}

.show {
    display: block;
}



.logo-upload {
    margin-top: 15px;
}

.upload-label {
    display: inline-block;
    cursor: pointer;
    text-align: center;
}

.upload-label img {
    display: block;
    margin: 0 auto 10px;
    border: 2px dashed #ccc;
    padding: 10px;
    border-radius: 5px;
}

.upload-text {
    color: #007bff;
    font-size: 14px;
    text-decoration: underline;
}

.upload-text:hover {
    color: #0056b3;
}


.search-container {
    display: flex;
    justify-content: center;
    margin: 20px;
    position: relative;
}
.search-container input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
.results-popup {
    position: absolute;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-height: 300px;
    overflow-y: auto;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none; /* Скрыто по умолчанию */
    z-index: 1000;
}
.results-popup table {
    width: 100%;
    border-collapse: collapse;
}
.results-popup th, .results-popup td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}
.results-popup th {
    background-color: #f8f8f8;
}
.results-popup tr:hover {
    background-color: #f1f1f1;
}