/* Общий фон и заголовок — как в форме */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #e6f0f3;
  color: #333;
  padding: 20px;
  margin: 0;
}
h1 {
  text-align: center;
  font-size: 28px;
  margin-bottom: 25px;
  color: #333;
}

/* Лайтбокс */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}
.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 12px;
}


/* Карточка заявки — единый блок без повторов */
.request {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transition: transform .2s ease;
  cursor: default;
}
.request:hover { transform: translateY(-2px) scale(1.01); }
.request h3 { margin: 0 0 8px; color: #222; font-size: 20px; }
.request p  { color: #444; margin: 8px 0; line-height: 1.45; }
.request small { color: #666; }

/* Кликабельные ссылки (телефон) внутри карточек */
.request a { color: #eef6f6; text-decoration: none; }
.request a:hover { text-decoration: underline; }

/* Медиа */
img, video {
  max-width: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 10px;
  display: block;
}

/* Кнопки действий и ripple-база */
.actions { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }
.action-tab {
  background: linear-gradient(to right, #599cda, #599cda);
  color: #fff;
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform .2s;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.action-tab:hover { transform: scale(1.05); }
.wa-button   { background-color: #599cda; background-image: none; }
.edit-button { background-color: #fbbc05; color: #111; background-image: none; }
.delete-button { background-color: #f44336; background-image: none; }

/* Кнопка "На главную" — как в форме */
.home-button {
  display: block;
  width: fit-content;
  margin: 0 auto 25px;
  padding: 14px 28px;
  font-size: 16px;
  background: linear-gradient(to right, #599cda, #599cda);
  color: #fff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  transition: transform .2s;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.home-button:hover { transform: scale(1.05); }

/* Светлая поисковая форма (Удалить у себя ниже идущий тёмный блок для .search-form input...) */
.search-form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  padding: 20px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.search-form input[type="text"],
.search-form input[list][type="text"] {
  flex: 1 1 200px;
  padding: 14px 16px;
  border-radius: 30px;
  border: 1px solid #ccc;
  font-size: 16px;
  background: #f9f9f9;
  color: #333;
  outline: none;
}
.search-form input[type="text"]:focus,
.search-form input[list][type="text"]:focus {
  border-color: #007bff;
  box-shadow: 0 0 6px rgba(0,123,255,0.2);
}
.search-form button {
  padding: 14px 24px;
  border-radius: 30px;
  border: none;
  background-color: #599cda;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background .3s, transform .2s;
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.search-form button:hover {
  background-color: #599cda;
  transform: translateY(-2px);
}

/* Блок подписки — светлый */
.subscribe {
  background: #fff8e1;
  border: 1px solid #f9d56e;
  padding: 15px;
  border-radius: 10px;
  color: #444;
}
.subscribe form button {
  margin-top: 10px;
  background: linear-gradient(to right, #fbbc05, #f9a825);
  border: none;
  color: black;
  padding: 10px 16px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
}

/* Кнопка ↑ */
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background-color: #599cda;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  display: none;
  transition: opacity .3s ease, background-color .2s ease;
}
#scrollTopBtn:hover { background-color: #599cda; }

/* Мобилка — как было */
.bottom-nav{ display:none }
@media (max-width:780px){
  .nav{ display:none }
  .bottom-nav{
    position: fixed; left:0; right:0; bottom:0;
    display:flex; gap:8px;
    padding:14px 14px calc(14px + env(safe-area-inset-bottom));
    background:#202c33; border-top:1px solid #2a3942;
    overflow-x:auto; overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    z-index:1000;
  }
  .bn-link{
    position: relative; overflow: hidden;
    flex:0 0 auto; min-width:84px;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:6px; padding:12px 10px; border-radius:14px;
    text-decoration:none; color:#e9edef; font-weight:700; font-size:14px;
    -webkit-tap-highlight-color:transparent;
  }
  .bn-link span{ font-size:11px; color:#aebac1 }
  .bn-link.active { background: #1a242b; }
  .bn-link:active{ transform: scale(.97); background:#1a242b }

    /* отступы только на мобильных */
  main, body { padding-bottom: 74px; }
  #scrollTopBtn{ bottom: 90px; }

}


 


/* безопасная зона для вырезов */
:root{ --safe: env(safe-area-inset-bottom, 0px) }

  