* {
  box-sizing: border-box;
}
body, html {
  margin: 0;
  height: 100%;
  font-family: system-ui, sans-serif;
  background-color: #fff;
  color: #000;
}
.container {
  display: flex;
  height: 100vh;
}
.left-panel {
  background-color: #00a86b;
  flex: 1;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}
.left-panel img {
  max-width: 300px;
  height: auto;
  margin-bottom: 20px;
}
.left-panel h1 {
  font-weight: normal;
  letter-spacing: 0.15em;
  margin: 0;
  font-size: 22px;
  text-align: center;
}
.left-panel hr {
  width: 100px;
  border: 1px solid white;
  margin-top: 20px;
}
.right-panel {
  flex: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.login-container {
  width: 100%;
  max-width: 350px;
}
.login-container h2 {
  font-weight: normal;
  margin-bottom: 40px;
  font-size: 28px;
  text-align: center;
}
.login-container input[type="text"],
.login-container input[type="email"],
.login-container input[type="password"] {
  width: 100%;
  padding: 12px 10px;
  margin-bottom: 20px;
  border: none;
  border-bottom: 1px solid #aaa;
  font-size: 14px;
  outline: none;
}
.login-container input::placeholder {
  color: #aaa;
}
.login-container button[type="submit"] {
  width: 100%;
  background-color: #00a86b;
  color: white;
  border: none;
  padding: 14px 0;
  font-size: 16px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.login-container button[type="submit"]:hover {
  background-color: #00875a; /* Темный зеленый */
  transform: scale(1.05);
}
.login-container .register-link {
  display: block;
  margin-top: 16px;
  text-align: flex-end;
  font-size: 14px;
  color: #5a78e6;
  text-decoration: none;
}
.login-container .register-link:hover {
  text-decoration: underline;
}
/* ───── ДОБАВКИ ТОЛЬКО ДЛЯ ЭТОЙ СТРАНИЦЫ ───── */
.filters{
max-width:540px;
width:100%;
display:flex;
flex-direction:column;
gap:16px;
margin-bottom:32px;
}
.filters select{
width:100%;
padding:14px 16px;
border:none;
border-radius:6px;
background:#ecf0f3;
font-size:15px;
}

table.offers{
width:100%;
border-collapse:collapse;
}
table.offers th, table.offers td{
padding:12px 16px;
border-bottom:1px solid #e0e0e0;
text-align:left;
font-size:14px;
}
table.offers th{ background:#f7f8f9; font-weight:600; }
.content.offers{
align-items:flex-start;
justify-content:flex-start;
}
.btn-action{
padding:6px 12px;
font-size:13px;
border:none;
border-radius:4px;
cursor:pointer;
color:#fff;
background:#00a86b;
}
  .btn-action:hover{ background:#00875a; }
table.offers td.note,
table.deals  td.note{
  max-width: 300px;        /* ограничиваем ширину колонки */
  white-space: pre-wrap;   /* уважаем \n и переносим при нужде */
  word-break: break-word;  /* разрешаем переносить внутри ДЛИННЫХ слов */
}
.flashes {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

/* Общий вид карточки */
.flash {
    position: relative;
    padding: .75rem 2.5rem .75rem 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    color: #fff;
    font-size: .9rem;
    animation: slide-down .4s ease-out;
    min-width: 240px;
}
/* Категория: success */
.flash.success { background: #28a745; }        /* зелёный */
/* Категория: error   */
.flash.error   { background: #dc3545; }        /* красный  */
/* Кнопка закрытия */
.flash .close {
    position: absolute;
    top: 6px;
    right: 8px;

    /* убираем системные отступы и фон */
    padding: 0;
    background: transparent;
    border: none;

    /* делаем размер ровно под иконку */
    width: 1.2rem;
    height: 1.2rem;
    line-height: 1.2rem;

    /* внутри — крестик */
    font-size: 1.1rem;
    color: inherit;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}
.flash .close:hover,
.flash .close:focus,
.flash .close:active {
    background: transparent;
    outline: none;
}
.password-wrap{
  position:relative;
  display:block;
}
.password-wrap input{
  width:100%;
  padding-right:44px;          /* место под иконку */
}
/* кнопка-глаз */
.toggle-pass{
  position:absolute;
  top:50%;
  right:2px;
  transform:translateY(-42%);
  background:none;
  border:none;
  cursor:pointer;
  padding:0 12px;
  height:100%;
  display:flex;
  align-items:center;
}
.login-container .toggle-pass{
  transform:translateY(calc(-50% - 7px));
}
.toggle-pass img{
  width:22px;
  height:22px;
}
.link-row{
  display:flex;
  justify-content:space-between;
}

.forgot-link{
  font-size:14px;
  color:#5a78e6;
  text-decoration:none;
  margin-top: 16px;
}
.forgot-link:hover{ text-decoration:underline; }
/* Адаптив */
@media (max-width: 700px) {
  .container {
    flex-direction: column;
  }
  .left-panel {
    border-radius: 0 0 30px 30px;
    padding: 30px 20px;
    flex: none;
    width: 100%;
  }
  .right-panel {
    flex: none;
    width: 100%;
    padding: 30px 20px;
  }
  .login-container {
    max-width: 100%;
  }
}
@keyframes slide-down {
    from { transform: translateY(-20px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}