/* Общие стили */

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
    margin: 0;
    padding: 0;
}

/* Стили для полей ввода */
.input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 34px;
    box-sizing: border-box;
}

/* Стили для выпадающих списков */
.select {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 34px;
    box-sizing: border-box;
    appearance: none;
}

/* Стили при фокусе для input и select */
.input:focus,
.select:focus {
    border-color: #39f;
    outline: none;
    box-shadow: 0 0 0 2px rgba(51, 153, 255, 0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.grid-container {
    display: flex;
    flex-wrap: wrap;
    margin: -15px;
}

.grid-item {
    width: 50%;
    padding: 15px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .grid-item {
        width: 100%;
    }
}

.card {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.select {
    height: 34px;
    background-color: #fff;
    appearance: none;
    font-size: 15px; /* Установите нужный вам размер шрифта */
}

.radio, .checkbox {
    margin-right: 10px;
}

.form-controls {
    margin-bottom: 15px;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.table td {
    padding: 8px;
    border: 1px solid #ccc;
}

.total,
.delivery_total {
    font-size: 18px;
    font-weight: 700;
}

.calc_heading {
    font-size: 24px;
}

#location {
    margin-bottom: 10px;
}

#electro_engine {
    display: none;
}

#electro_label {
    display: none;
}

.table_hr {
    border-bottom: 1px solid #bbbbbb;
}

.under {
    border-bottom: dashed 1px #d4d4d4;
}

.footnote,
.footnote_txt {
    color: #dbb4b4;
}

.footnote_txt {
    font-size: 14px;
    padding-top: 0 !important;
}

.car_total_price {
    color: #ac0000;
}

.txt {
    margin-top: 0 !important;
    margin-left: 12px;
}

.info {
    margin-bottom: 0 !important;
}

.min_td {
    width: 80px;
}

@media (max-width: 960px) {
    .min_td {
        width: auto;
    }
}

@media (max-width: 441px) {
    .total-price {
        font-size: 14px;
    }

}

.min_td {
  white-space: nowrap;
  padding: 8px;
  font-size: 14px;
  text-align: right; /* если нужно выровнять по правому краю */
}

@media screen and (max-width: 480px) {
  .table_info, .min_td {
    font-size: 14px;
  }
}
/* Стили для sea_port_container label */

/* Для экранов шире 480px */
@media (min-width: 481px) {
    .sea_port_container label {
        display: inline-block;
        margin-right: 15px;
        margin-bottom: 0;
    }
}

/* Для экранов 480px и уже */
@media (max-width: 480px) {
    .sea_port_container label {
        display: block;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Стили для чекбоксов в разделе "Дополнительные услуги:" */

/* Стиль по умолчанию для широких экранов */
.checkbox-item {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 0;
}

/* Для экранов 480px и уже */
@media (max-width: 480px) {
    .checkbox-item {
        display: block;
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* Стили для значка информации и всплывающей подсказки */

.info-icon {
    position: relative;
    display: inline-block;
    cursor: pointer;
    margin-left: 5px;
    font-weight: bold;
    color: #007bff; /* Цвет значка */
}

.tooltip-text {
    font-weight: 400;
    visibility: hidden;
    width: 250px;
    background-color: #f9f9f9;
    color: #333;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -125px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    line-height: 1.4;
    opacity: 0;
    transition: opacity 0.3s;
}

.info-icon:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
table {
  width: 100%;
  table-layout: auto;
  border-collapse: collapse;
}

.table_info {
  word-wrap: break-word;
  padding: 8px;
  font-weight: 400;
}

