/* assets/css/style.css */

/* Базовый сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    transition: background-color 0.3s, color 0.3s;
}
header {
    position: sticky;
    top: 0;
    z-index: 1000;
}
header nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 20px;
    background-color: #fff; /* Фон шапки */
    border-bottom: 1px solid #e0e0e0;
}
header button {
    padding: 8px 16px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 4px;
}
header button:hover {
    background-color: #0056b3;
}
main {
    padding: 25px;
}
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 25px;
}
.login-container form input {
    width: calc(100% - 22px);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
}
.error { color: red; text-align: center; margin-bottom: 15px; }


/* --- СТИЛИ ТУМБЛЕРОВ --- */
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #ccc; /* Неактивный */
  transition: .4s;
  border-radius: 34px;
}
.slider.round { border-radius: 34px; }
.slider.round:before {
  border-radius: 50%;
}
.slider.round:before {
  position: absolute;
  content: "";
  height: 26px; width: 26px;
  left: 4px; bottom: 4px;
  background-color: white;
  transition: .4s;
}
input:focus + .slider { box-shadow: 0 0 1px #2196F3; }
input:checked + .slider { background-color: #2196F3; } /* Активный */
input:focus + .slider { box-shadow: none; }
input:focus + .slider.round { box-shadow: none; }
input:focus + .slider.round.before { box-shadow: none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focus + .slider.round.before { box-shadow:none; }
input:focused + .slider.round.before { box-shadow:none; }
input:focused + .slider.round.before { box-shadow:none; }
input:focused + .slider.round.before { box-shadow:none; }
.input-focus-fix { outline-offset:-1px !important; }
.input-focus-fix::-moz-focus-inner { border:0 !important; }