/* Базовые стили для мобильного приложения */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
  font-family: "Roboto", Arial, sans-serif;
}
.class2 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f5f0e9;
  padding: 20px;
  overflow-x: hidden;
}
.class1 {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #112250;
  padding: 20px;
  overflow-x: hidden;
}

.page {
  display: none;
  width: 100%;
  height: 100%;
  flex-direction: column;
  align-items: center;
}
.page.active {
  display: flex;
}



/* Главная страница */
.main {
  background: #112250;
  width: 100%;
  min-height: 812px;
  border-radius: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}
.fone-main-page {
  background: #112250;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  border-radius: 15px;
}
.fone-main-page2 {
  background: #ffffff;
  border-radius: 15px;
  width: 95%;
  height: 95%;
  position: absolute;
  top: 2.5%;
  left: 2.5%;
}
.fone-main-page3 {
  background: #112250;
  border-radius: 15px;
  width: 96%;
  height: 30%;
  position: absolute;
  top: 1%;
  left: 2%;
}
.fone-main-page4 {
  background: #ffffff;
  border-radius: 15px;
  width: 90%;
  height: 30%;
  position: absolute;
  top: 0%;
  left: 5%;
}
.divv {
  color: #112250;
  text-align: center;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: clamp(20px, 6vw, 28px);
  font-weight: 600;
  position: absolute;
  top: 3%;
  width: 100%;
  text-align: center;
}
.startimage {
  width: 45%;
  max-width: 170px;
  position: absolute;
  top: 15%;
  left: 40%;
  transform: translate(-30%, -30%);
  object-fit: cover;
}
.buttons-containerma {
  position: static;
  margin-top: 270px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
  max-width: 100vw;
}
.settings-page,
.adding-cargo-page,
.my-ls-page,
.search-all-page {
  background: #112250;
  border-radius: 22px;
  width: 100%;
  max-width: 300px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0;
  position: relative;
}
.settings-btn-text,
.cargo-btn-text,
.ls-btn-text,
.search-all-page-btn-text {
  color: #ffffff;
  font-family: "RobotoCondensed", sans-serif;
  font-size: clamp(20px, 5vw, 32px);
  font-weight: 700;
  text-align: center;
}




/*стили страницы поиска грузов*/
.settings {
  background: #112250;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
.settings-container {
  padding: 20px;
  width: 100%;
  max-width: 335px;
  margin: 0 auto;
}
.settings-title {
  color: #e0c58f;
  font-family: "Roboto", sans-serif;
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 30px;
  text-align: center;
}
.input-group {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
}
.input-label {
  color: #f5f0e9;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}
.input-field {
  background: #f5f0e9;
  border-radius: 12px;
  border: 1px solid #989eb1;
  height: 36px;
  width: 100%;
  padding: 0 12px;
  color: #112250;
  font-size: 14px;
}
.input-field.small {
  width: 120px;
}
.input-group.side-by-side {
  display: inline-flex;
  flex-direction: column;
  width: 130px;
  margin-right: 15px;
}
.buttons-row {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}
.save-btn {
  background: #e0c58f;
  border-radius: 15px;
  width: 100%;
  max-width: 180px;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 0px;
  position: relative;
}

.save-btn-text {
  color: #112250;
  font-family: "Segoe Print", sans-serif;
  font-size: 30px;
  font-weight: 700;
}
.back-to-main-from-search-btn {
  background: #e0c58f;
  border-radius: 15px;
  width: 100%;
  max-width: 90px;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 25px;
  position: relative;
  margin: 2;
}
.back-to-main-from-search-btn-text {
  color: #112250;
  font-family: "Segoe Print", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

/* Адаптивность */
@media (max-width: 480px) {
  .settings-container {
    padding: 15px;
  }
  .settings-title {
    font-size: 40px;
  }
  .save-btn {
    height: 60px;
  }
  .save-btn-text {
    font-size: 24px;
  }
  .back-to-main-from-search-btn {
    height: 60px;
  }
  .back-to-main-from-search-btn-text {
    font-size: 24px;
  }
}

@media (max-width: 360px) {
  .settings-title {
    font-size: 18px;
  }
  .input-label {
    font-size: 14px;
  }
  .save-btn {
    height: 55px;
  }
  .save-btn-text {
    font-size: 20px;
  }
  .back-to-main-from-search-btn {
    height: 55px;
  }
  .back-to-main-from-search-btn-text {
    font-size: 20px;
  }
}


/*стили страницы грузов*/
.main-cargo {
  width: 100%;
  min-height: 100vh;
  border-radius: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow: hidden;
  box-sizing: border-box;
}

.main-cargo-content {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
  align-items: flex-start;
  gap: 20px;
}

.rectangle-4343 {
  background: #e0c58f;
  border-radius: 22px;
  width: 120px;
  min-height: 100vh;
  margin-left: 5px;
  margin-top: 5px;
  flex-shrink: 0;
  position: sticky; /* Прилипает при скролле */
  top: 20px; /* Отступ сверху при прилипании */
  align-self: flex-start;
}

.div {
  color: #112250;
  text-align: left;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 28px;
  font-weight: 700;
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 35px;
  box-sizing: border-box;
}
.cargos-list {
  flex: 1;
  height: calc(100vh - 120px); /* Высота с учетом отступов */
  overflow-y: auto;
  padding: 0;
  -webkit-overflow-scrolling: touch;
  position: relative;
  top: 0; /* Убираем абсолютное позиционирование */
  margin: 0;
}

.cargo-item {
  background: #112250;
  border-radius: 22px;
  width: calc(100% - 40px); /* Адаптивная ширина */
  height: 80px;
  margin-bottom: 12px;
  margin-left: 0; /* Убираем левый отступ */
  position: relative;
  padding: 0;
}

.owner_profile_button {
  background: #112250;
  border-radius: 22px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.cargo-id_cargo {
  color: #f5f0e9;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  position: absolute;
  left: 12px;
  top: 12px;
  width: 60%;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cargo-name {
  color: #f5f0e9;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  left: 12px;
  top: 35px;
  width: 60%;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cargo-cargo {
  color: #f5f0e9;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  left: 12px;
  top: 50px;
  width: 60%;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cargo-type {
  color: #f5f0e9;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
  position: absolute;
  right: 12px;
  top: 15px;
  width: 35%;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Стили скроллбара */
.cargos-list::-webkit-scrollbar {
  width: 4px;
}
.cargos-list::-webkit-scrollbar-track {
  background: #f5f0e9;
  border-radius: 2px;
}
.cargos-list::-webkit-scrollbar-thumb {
  background: #e0c58f;
  border-radius: 2px;
}

.no-cargos-message {
  color: #112250;
  font-family: "RobotoCondensed", sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  width: 100%;
  padding: 40px 20px;
  box-sizing: border-box;
  white-space: normal;
}

@media (max-width: 480px) {
  .div {
    font-size: 20px;
  }
  .cargo-name {
    font-size: 14px;
  }
  .cargo-type {
    font-size: 9px;
  }
  .cargo-cargo {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .div {
    font-size: 18px;
    left: 15px;
  }
  .cargo-item {
    width: calc(100% - 70px);
    margin-left: 50px;
  }
}


/*стили страницы профиля (чужого)*/
.profile-forother {
  width: 100%;
  min-height: 100vh;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  background: #112250;
  gap: 20px;
}
.rectangle-4342 {
  width: 100%;
  height: auto;
  min-height: 300px;
  position: relative;
  margin-right: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}
.header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 30px;
  padding: 0 20px;
  box-sizing: border-box;
}
.div1 {
  color: #e0c58f;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  flex-shrink: 0;
}
.user-id_profile {
  color: #f5f0e9;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  flex-shrink: 0;
  margin-left: 40px;
}
.div3 {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  left: 48px;
  top: 111px;
  width: 81px;
}
.div4 {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  left: 48px;
  top: 187px;
  width: 194px;
  height: 28px;
}
.div5 {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  left: 48px;
  top: 148px;
  width: 194px;
  height: 28px;
}
.div6 {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  left: 48px;
  top: 226px;
  width: 194px;
  height: 28px;
}
.div7 {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  left: 48px;
  top: 268px;
  width: 194px;
  height: 28px;
}
.info-value {
  font-family: "RobotoCondensed-Light", sans-serif;
  color: #f5f0e9;
  font-size: 16px;
  position: absolute;
}
.user-name {
  top: 115px;
  width: 300px;
  left: 110px;
}
.user-telephone {
  top: 153px;
  width: 160px;
  left: 150px;
}
.user-inn {
  top: 190px;
  width: 160px;
  left: 110px;
}
.user-reyting {
  top: 230px;
  width: 240px;
  left: 140px;
}
.user-data {
  top: 272px;
  width: 240px;
  left: 210px;
}
.rectangle-4343ot {
  width: 100%;
  height: auto;
  min-height: 600px;
  position: relative;
  margin-right: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}
.div2 {
  color: #e0c58f;
  text-align: left;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  order: 1;
}
.reviews-list {
  background: #ffffff;
  border-radius: 15px;
  width: 100%;
  height: 350px;
  overflow-y: auto;
  padding: 15px;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  order: 2;
}
.reviews-list::-webkit-scrollbar {
  width: 4px;
}
.reviews-list::-webkit-scrollbar-track {
  background: #f5f0e9;
  border-radius: 2px;
}
.reviews-list::-webkit-scrollbar-thumb {
  background: #e0c58f;
  border-radius: 2px;
}
.review-item {
  background: #112250;
  border-radius: 15px;
  position: relative;
  width: calc(100% - 30px);
  min-height: 60px;
  height: auto;
  margin: 10px 0;
  margin-left: 0;
  padding: 15px;
  box-sizing: border-box;
}
.review-text {
  color: #f5f0e9;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  word-wrap: break-word;
  white-space: normal;
  margin: 0;
  line-height: 1.4;
}
.post-reviews {
  background: #e0c58f;
  border-radius: 22px;
  width: 290px;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-top: 20px;
  align-self: center;
  order: 3;
}
.post-reviews-btn-text {
  color: #112250;
  font-family: "RobotoCondensed", sans-serif;
  font-size: 24px;
  font-weight: 700;
}
.no-reviews {
  padding: 15px 20px;
  text-align: center;
  color: #112250;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  max-width: 80%;
  margin: 20px auto; /* Увеличиваем отступ */
  font-family: "RobotoCondensed", sans-serif;
}


/*стили страницы отзывов*/
.reviews {
  width: 100%;
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.rectangle-4343r {
  width: 100%;
  flex: 1;
  min-height: 700px;
  height: auto;
  position: relative;
  background: #112250;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 60px 20px 40px 20px;
  box-sizing: border-box;
  gap: 40px;
}

.div2r {
  color: #e0c58f;
  text-align: left;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 0;
  align-self: flex-start;
  margin-left: 30px;
  order: 1;
}

.rectangle-4337r {
  background: #ffffff;
  border-radius: 15px;
  flex: 1;
  width: 90%;
  height: 50vh; 
  min-height: 200px;
  max-height: 600px; 
  padding: 20px;
  resize: none;
  border: none;
  box-sizing: border-box;
  font-family: inherit;
  font-size: 16px;
  margin: 0 auto;
  order: 2;
}

.save-btn-reviews {
  background: #e0c58f;
  border-radius: 22px;
  width: 300px;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  align-self: center;
  order: 3;
}

.btn-reviews-text {
  color: #112250;
  font-family: "RobotoCondensed", sans-serif;
  font-size: 24px;
  font-weight: 700;
}


/*стили страницы лк грузоперевозчика*/
.lstransfercargo {
  width: 100%;
  min-height: 100vh;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  background: #112250;
  gap: 20px;
}
.rectangle-4342lstc {
  width: 100%;
  height: auto;
  min-height: 240px;
  position: relative;
  margin-right: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}
.div1lstc {
  color: #e0c58f;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  flex-shrink: 0;
}
.user-id_profile-stc {
  color: #f5f0e9;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 28px;
  font-weight: 500;
  margin: 0;
  flex-shrink: 0;
  margin-left: 40px;
}

.div3lstc {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  left: 48px;
  top: 100px;
  width: 81px;
}
.div4lstc {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  left: 48px;
  top: 220px;
  width: 194px;
  height: 28px;
}
.div5lstc {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  position: absolute;
  left: 48px;
  top: 143px;
  line-height: 1.5;
  width: 194px;
  height: 28px;
}

.info-valuestc {
  font-family: "RobotoCondensed-Light", sans-serif;
  color: #f5f0e9;
  font-size: 16px;
  position: absolute;
}
.user-reyting-stc {
  top: 105px;
  width: 240px;
  left: 180px;
}
.user-countrew-stc {
  top: 160px;
  width: 300px;
  left: 220px;
}
.user-balance-stc {
  top: 223px;
  width: 160px;
  left: 190px;
}

.rectangle-4342lstc-add-balancecont {
  width: 100%;
  height: auto;
  min-height: 60px;
  max-height: 100px;
  position: relative;
  margin-right: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}
.div9lstc {
  color: #e0c58f;
  text-align: left;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  width: 100%;
  max-width: 600px;
  margin: 0;
  padding: 0;
  align-self: flex-start;
  margin-left: 15px;
}
.balance-input-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  padding: 0 20px;
  box-sizing: border-box;
  gap: 20px;
  margin-left: 15px;
}

.div10lstc {
  color: #f5f0e9;
  flex: 1;
  text-align: left;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 20px;
  font-weight: 400;
  width: 50%;
  margin: 0;
  padding: 0;
  align-self: flex-start;
  line-height: 1.5;
  flex-shrink: 0;
}
.input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.rectangle-4337lstc {
  background: #ffffff;
  border-radius: 12px;
  width: 86.52px;
  height: 42.52px;
  border: none;
  padding: 0 12px;
  box-sizing: border-box;
  font-family: "RobotoCondensed", sans-serif;
  font-size: 16px;
  outline: none;
}
.rectangle-4344lstc {
  background: #e0c58f;
  border-radius: 12px;
  border: 1px solid #e0c58f;
  width: 50px;
  height: 42.52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.externallstc {
  display: flex;
  align-items: center;
  justify-content: center;
}

.rectangle-4342lstc-othercont {
  width: 100%;
  height: auto;
  min-height: 600px;
  position: relative;
  margin-right: auto;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
}
.div2lstc {
  color: #e0c58f;
  text-align: left;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  gap: 10px;
  order: 1;
}
.reviews-listlstc {
  background: #ffffff;
  border-radius: 15px;
  width: 100%;
  flex: 1;
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  order: 2;
}

.reviews-listlstc::-webkit-scrollbar {
  width: 4px;
}
.reviews-listlstc::-webkit-scrollbar-track {
  background: #f5f0e9;
  border-radius: 2px;
}
.reviews-listlstc::-webkit-scrollbar-thumb {
  background: #e0c58f;
  border-radius: 2px;
}

.review-itemlstc {
  background: #112250;
  border-radius: 15px;
  position: relative;
  width: calc(100% - 30px);
  min-height: 60px;
  height: auto;
  margin: 10px 0;
  margin-left: 0;
  padding: 15px;
  box-sizing: border-box;
}
.review-textlstc {
  color: #f5f0e9;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  word-wrap: break-word;
  white-space: normal;
  margin: 0;
  line-height: 1.4;
}
.no-reviewslstc {
  padding: 15px 20px;
  text-align: center;
  color: #112250;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  max-width: 80%;
  margin: 20px auto; /* Увеличиваем отступ */
  font-family: "RobotoCondensed", sans-serif;
}
.rectangle-434dfse3lstc {
  background: #e0c58f;
  border-radius: 12px;
  width: 100px;
  height: 36.91px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  align-self: flex-end;
  margin-right: 30px;
  margin-top: 10px;
  order: 3;
  transition: background-color 0.2s ease;
}
.to-main-btn-text {
  color: #112250;
  font-family: "Segoe Print", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

/*стили дополнительных элементов страницы лк грузовладельца*/
.lsownerrcargo {
  width: 100%;
  min-height: 100vh;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  background: #112250;
  gap: 20px;
}
.buttons-container {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.rectangle-4346lstc,
.rectangle-4345lstc,
.rectangle-4347lstc,
.rectangle-4343lstc {
  background: #e0c58f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
  position: static;
  margin: 0;
}
.rectangle-4346lstc {
  width: 65px;
  height: 36.91px;
}
.rectangle-4345lstc {
  width: 65px;
  height: 36.91px;
}
.rectangle-4347lstc {
  width: 80px;
  height: 36.91px;
}
.rectangle-4343lstc {
  width: 100px;
  height: 36.91px;
}
.to-main-btn-text,
.to-history-btn-text,
.to-activecargo-btn-text,
.to-tracking-btn-text {
  color: #112250;
  font-family: "Segoe Print", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

/*стили дополнительных элементов для страницы добавления грузов*/
.adding-cargo {
  background: #112250;
  height: 812px;
  width: 420px;
}
.adding-cargo-container {
  padding: 20px;
  width: 335px;
  margin: 0 auto;
}
.input-group.side-by-side {
  display: inline-flex;
  flex-direction: column;
  width: 130px;
  margin-right: 15px;
}



/*стили для страницы информации*/
.adding-info-for-owner {
  width: 100%;
  min-height: 812px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  box-sizing: border-box;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.block-container-reg {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 400px;
  gap: 15px;
}

.variant1,
.variant2 {
  color: #e0c58f;
  text-align: left;
  font-family: "RobotoCondensed-Bold", sans-serif;
  text-align: center;
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 700;
  width: 100%;
  max-width: 400px;
  position: static;
  margin: 0;
}

.for-registration-user,
.for-nonregistration-user {
  color: #040404;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 400;
  width: 100%;
  max-width: 400px;
  position: static;
  margin: 0;
  line-height: 1.5;
}

.rigistration-btn,
.wrigistration-btn {
  background: #112250;
  border-radius: 15px;
  width: 100%;
  height: 67px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  position: static;
  margin: 10px 0;
  transition: background-color 0.2s ease;
}

.rigistration-btn:hover,
.wrigistration-btn:hover {
  background: #0a1a3a;
}

.rigistration-btn-text,
.wrigistration-btn-text {
  color: #ffffff;
  font-family: "SegoePrint-Bold", sans-serif;
  font-size: clamp(16px, 3vw, 20px);
  font-weight: 700;
}

/*стили для страницы регистрации*/
.registration {
  width: 100%;
  min-height: 812px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  gap: 30px;
}

.info-registration-container {
  padding: 20px;
  width: 100%;
  box-sizing: border-box;
}

.buttons-container-reg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

.save-registration,
.out-registration {
  background: #e0c58f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
  padding: 10px 20px;
  min-width: 80px;
  height: 40px;
}

.save-registration:hover,
.out-registration:hover {
  background: #d4b67a;
}

.save-registration-text,
.out-registration-text {
  color: #ffffff;
  font-family: "Segoe Print", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  padding: 0 10px;
}


/*стили дополнительных элементов для страницы активных грузов*/
.activecargo {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  gap: 20px;
  box-sizing: border-box;
}

.cargos-active-list {
  position: relative;
  top: 110px;
  height: calc(86vh - 100px);
  overflow-y: auto;
  padding-right: 0px;
  -webkit-overflow-scrolling: touch;
}
.cargo-active-item {
  background: #112250;
  border-radius: 22px;
  position: relative;
  width: calc(100% - 80px);
  height: 80px;
  margin-bottom: 12px;
  left: 0px;
  top: 0px;
  margin-left: 40px;
}
.cargo_active_button {
  background: #112250;
  border-radius: 22px;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cargo-active-name {
  color: #f5f0e9;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  left: 12px;
  top: 50px;
  width: 60%;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cargo-active-type {
  color: #f5f0e9;
  text-align: right;
  font-size: 10px;
  font-weight: 700;
  position: absolute;
  right: 12px;
  top: 15px;
  width: 35%;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cargo-active-id {
  color: #f5f0e9;
  text-align: left;
  font-size: 22px;
  font-weight: 700;
  position: absolute;
  left: 12px;
  top: 15px;
  width: 60%;
  pointer-events: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cargos-active-list::-webkit-scrollbar {
  width: 4px;
}
.cargos-active-list::-webkit-scrollbar-track {
  background: #f5f0e9;
  border-radius: 2px;
}
.cargos-active-list::-webkit-scrollbar-thumb {
  background: #e0c58f;
  border-radius: 2px;
}
@media (max-width: 480px) {
  .div {
    font-size: 20px;
  }
  .cargo-active-name {
    font-size: 14px;
  }
  .cargo-active-type {
    font-size: 9px;
  }
  .cargo-active-id {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .div {
    font-size: 18px;
    left: 15px;
  }
  .cargos-active-list {
    width: calc(100% - 70px);
    margin-left: 50px;
  }
}



/*стили дополнительных элементов для страницы изменения  грузов*/
.profile-active-cargos {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 20px;
  gap: 20px;
  box-sizing: border-box;
}
.save-change-btn,
.save-archive-btn {
  background: #e0c58f;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
  position: static;
  margin: 0;
}
.save-change-btn {
  width: 150px;
  height: 67px;
}
.save-archive-btn {
  width: 130px;
  height: 67px;
}
.save-change-text,
.save-archive-text {
  color: #112250;
  font-family: "Segoe Print", sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}



/*стили дополнительных элементов для страницы истории грузов для владельца*/
.history-cargo {
  width: 100%;
  min-height: 100vh;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  background: #112250;
  margin: 0;
  box-sizing: border-box;
}

.rectangle-4342lstc2 {
  width: 100%;
  height: auto;
  margin-right: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  margin: 0;
}

.header-row2 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

.div1lstc2 {
  color: #e0c58f;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.rectangle-4342lstc-add-balancecontt {
  width: 100%;
  height: auto;
  min-height: 60px;
  max-height: 100px;
  margin-right: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  margin: 0;
}

.balance-input-containerr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 10px;
  padding: 0 20px;
  box-sizing: border-box;
  gap: 20px;
  margin-left: 15px;
}
.input-wrapperr {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.div10lsowhis {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  left: 100px;
  top: 110px;
  width: 110px;
  height: 28px;
}
.rectangle-4337lsowhis {
  background: #ffffff;
  border-radius: 12px;
  width: 210px;
  height: 42.52px;
  padding: 10px 10px;
  resize: none;
  box-sizing: border-box;
}
.rectangle-4344lsowhis {
  background: #e0c58f;
  border-radius: 12px;
  border-style: solid;
  border-color: #e0c58f;
  border-width: 1px;
  width: 50px;
  height: 42.52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-sizing: border-box;
}
.externallsowhis {
  width: 45px;
  height: 45px;
  position: relative;
  overflow: visible;
}
.rectangle-4342lstc-historycargoresult {
  width: 100%;
  max-width: 1200px;
  height: auto;
  min-height: 600px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  margin: 0 auto;
  align-items: center;
}

.activity-cargoowner-list {
  background: #ffffff;
  border-radius: 15px;
  width: 100%;
  flex: 1;
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

.activity-cargoowner-list::-webkit-scrollbar {
  width: 4px;
}
.activity-cargoowner-list::-webkit-scrollbar-track {
  background: #f5f0e9;
  border-radius: 2px;
}
.activity-cargoowner-list::-webkit-scrollbar-thumb {
  background: #e0c58f;
  border-radius: 2px;
}
.flow_profile_button {
  background: #112250;
  border-radius: 15px;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  left: 0;
  top: 0;
}
.activity-cargoowner-item {
  background: #112250;
  border-radius: 15px;
  width: 100%;
  min-height: 60px;
  height: auto;
  margin: 10px 0;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
}
.activity-cargoowner-text {
  color: #f5f0e9;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
  word-wrap: break-word;
  white-space: normal;
  margin: 0;
  pointer-events: none;
  position: static;
  width: 100%;
}
.no-activity-cargoowner {
  padding: 15px 20px;
  text-align: center;
  color: #112250;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  max-width: 80%;
  margin: 10px auto;
}

/*стили дополнительных элементов для страницы  трекинга грузов*/
.tracking-cargo {
  width: 100%;
  min-height: 100vh;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px;
  background: #112250;
  margin: 0;
  box-sizing: border-box;
}

.active-map-list {
  background: #ffffff;
  border-radius: 15px;
  width: 100%;
  flex: 1;
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
}

#active-map {
  height: 100%;
  width: 100%;
}


/*стили для дополнительных элементов страницы поиска по id*/
.div10lsowhissearchid {
  color: #f5f0e9;
  text-align: left;
  font-family: "RobotoCondensed-Regular", sans-serif;
  font-size: 20px;
  font-weight: 400;
  width: 100%; /* Занимает всю ширину контейнера */
  word-wrap: break-word; /* Перенос длинных слов */
  overflow-wrap: break-word; /* Современная альтернатива */
  white-space: normal; /* Разрешает перенос текста */
  margin: 0; /* Убрал абсолютное позиционирование */
  padding: 0;
}
.rectangle-4342lstc-add-balanceconttt {
  width: 100%;
  height: auto;
  min-height: 60px;
  max-height: none;
  margin-right: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
  margin: 0;
}
.buttons-containersid {
  display: flex;
  align-items: center;
  gap: 15px;
  justify-content: flex-end; /* Изменено с center на flex-end */
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
  margin-left: auto; /* Добавлено - прижимает к правому краю */
}

.balance-input-containersid {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
  padding: 0 20px;
  box-sizing: border-box;
}
.rectangle-4337alss {
  background: #ffffff;
  border-radius: 12px;
  width: 210px;
  height: 42.52px;
  padding: 10px 10px;
  resize: none;
  box-sizing: border-box;
}
.div2lstdcc {
  color: #e0c58f;
  text-align: left;
  font-family: "RobotoCondensed-Bold", sans-serif;
  font-size: 32px;
  font-weight: 700;
  align-self: flex-start;
  gap: 10px;
  order: 1;
}
.search-spirit-base-list {
  background: #ffffff;
  border-radius: 15px;
  width: 100%;
  flex: 1;
  height: 300px;
  overflow-y: auto;
  padding: 15px;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  order: 2;
}
.search-spirit-base-list::-webkit-scrollbar {
  width: 4px;
}
.search-spirit-base-list::-webkit-scrollbar-track {
  background: #f5f0e9;
  border-radius: 2px;
}
.search-spirit-base-list::-webkit-scrollbar-thumb {
  background: #e0c58f;
  border-radius: 2px;
}
.flow_profile_button_fromsearch {
  background: #112250;
  border-radius: 15px;
  width: 100%;
  height: 100%;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  position: absolute;
  left: 0;
  top: 0;
}
.search-spirit-base-item {
  background: #112250;
  border-radius: 15px;
  width: 100%;
  min-height: 60px;
  height: auto;
  margin: 10px 0;
  padding: 15px;
  box-sizing: border-box;
  position: relative;
}
.search-spirit-base-text {
  color: #f5f0e9;
  font-size: 13px;
  text-align: center;
  font-weight: 500;
  word-wrap: break-word;
  white-space: normal;
  margin: 0;
  pointer-events: none;
  position: static;
  width: 100%;
}
.no-result-search-spirit-base {
  padding: 15px 20px;
  text-align: center;
  color: #112250;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  max-width: 80%;
  margin: 10px auto;
}
.search-spirit-base-list::-webkit-scrollbar {
  width: 4px;
}
.search-spirit-base-list::-webkit-scrollbar-track {
  background: #f5f0e9;
  border-radius: 2px;
}
.search-spirit-base-list::-webkit-scrollbar-thumb {
  background: #e0c58f;
  border-radius: 2px;
}
@media (max-width: 480px) {
  .div {
    font-size: 20px;
  }
  .cargo-active-name {
    font-size: 14px;
  }
  .cargo-active-type {
    font-size: 9px;
  }
  .cargo-active-id {
    font-size: 9px;
  }
}
@media (max-width: 360px) {
  .div {
    font-size: 18px;
    left: 15px;
  }
  .cargos-active-list {
    width: calc(100% - 70px);
    margin-left: 50px;
  }
}

/*Элементы страницы сохранения данных водителя*/
.track-driver {
  width: 100%;
  min-height: 812px;
  border-radius: 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px;
  overflow: hidden;
}


/*стили для выпадающего списка*/
.custom-select {
    position: relative;
    width: 100%;
}

.select-search {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    display: none;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.select-option {
    padding: 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.select-option:hover {
    background-color: #f5f5f5;
}

.select-option:last-child {
    border-bottom: none;
}
