:root {
  --bg: #0f172a;       /* Фон страницы */
  --card: #1e293b;     /* Фон карточек */
  --muted: #475569;    /* Текст второстепенный */
  --text: #f1f5f9;     /* Основной текст */
  --sub: #94a3b8;      /* Подписи */
  --accent: red;   /* Акцент (кнопки) */
}

* {
  box-sizing: border-box;
}

body {
  padding: 35px 0;
  background: var(--bg);
   font-family: "Open Sans", sans-serif;
  color: var(--text);
  line-height: 1.5;
}

.wrap {
  max-width: 1000px;
  margin: 40px auto;
  padding: 0 20px;
}

h1 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: left;
  color: var(--text);
  font-weight: 900;
}
tr td:last-child {
    text-align: right;
}
h2,h3 {
    color: white;
    font-size: 22px;
    font-weight: 700;
}
.logos img {
    width: 200px;
}

#notify {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #4caf50;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 9999;
}
#notify.show {
  opacity: 1;
}
.phone {
    text-align: right;
    span {
 
        font-size: 14px;
        opacity: .65;
        display: block;
    }
}

.phone a {
    font-weight: 900;
    color: white;
    font-size: 22px;
}
.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.card {
  background: var(--card);
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

label {
  font-size: 14px;
  font-weight: 500;
  color: var(--sub);
  margin-bottom: 6px;
  display: block;
}

input,
select {
  width: 100%;
  padding: 15px 12px;
  border-radius: 10px;
  border: 1px solid #475569;
  background: #0f172a;
  color: var(--text);
  font-size: 14px;
}

input[readonly] {
  background: #1e293b;
  color: #94a3b8;
}

input[type=checkbox] {
  width: auto;
}
  @keyframes swing {
        0% { transform: rotate(0deg); }
        25% { transform: rotate(15deg); -webkit-transform: rotate(15deg); -moz-transform: rotate(15deg); -ms-transform: rotate(15deg); -o-transform: rotate(15deg); }
        50% { transform: rotate(0eg); }
        75% { transform: rotate(-15deg); -webkit-transform: rotate(-15deg); -moz-transform: rotate(-15deg); -ms-transform: rotate(-15deg); -o-transform: rotate(-15deg); }
        100% { transform: rotate(0deg); }
        
        
    }
.swing
 {
    animation: swing 2s infinite;
    -webkit-animation: swing 2s infinite;
}
.controls {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin: 10px 0;
}
select {
  width: 100%;
  padding: 15px 40px 15px 20px; /* справа место под стрелку */
  border-radius: 10px;
  border: 1px solid #475569;
  background: #0f172a;
  color: var(--text);
  font-size: 14px;

  /* скрыть стандартную стрелку */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* своя стрелка */
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23e5e7eb' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center; /* позиция стрелки */
  background-size: 16px 16px;
}
.item-s {
    font-weight: 900 !important;
    text-align: left !important;
}

.item-title {
    background: white;
    margin: 5px 0;
    color: #1e1e1e;
    text-align: left !important;
    border-radius: 7px;
    font-weight: bold;
    border-bottom: none;
}

.btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 15px 60px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #0ea5e9;
}
.whatsapp-button img {
    width: 30px;
}
.whatsapp-button {
    position: fixed;
    bottom: 30px;
    left: 20px;
    width: 60px;
    height: 60px;
    background-color: #2CB742;
    border-radius: 50%;
    display: flex
;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
    transition: transform 0.3s ease;
}

.btn.secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid #475569;
}

.muted {
  color: var(--sub);
  font-size: 13px;
}

.out {
  font-variant-numeric: tabular-nums;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th,
td {
  padding: 10px;
  border-bottom: 1px dashed #475569;
  text-align: left;
}

th {
  color: var(--accent);
  font-size: 15px;
}

.badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: red;
  border: 1px solid red;
  color: white;
  font-size: 12px;
  text-transform: uppercase;
}



@media (max-width: 900px) {
  .grid {
    grid-template-columns: 1fr;
  }
    .logos  {
        display: block;
        width: 100%;
    }
   .logos img {
    margin: 0 auto;
   }
  .logos, .phone {
    text-align: center;
  }
   td:first-child {
    width: 220px;
}
.row {
    display: grid
;
    grid-template-columns: auto;
    gap: 16px;
    margin-bottom: 16px;
    flex-direction: column;
}
.controls-btn {
    display: flex;
    flex-direction: column;
}
input, select {
    width: 100%;
    padding: 15px 12px;
    border-radius: 10px;
    border: 1px solid #475569;
    background: #0f172a;
    color: var(--text);
    font-size: 14px;
}
.btn {
    display: block;
    width: 100%;
    color: white;
    padding: 15px 10px;
}
    h1 {
        margin-bottom: 40px;
        font-size: 25px;
    }
}

@media (max-width: 350px) {
   td:first-child {
    width: 180px;
}
}