* {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  font-size: 13px;
}

@font-face {
  font-family: Screener;
  src: url('../fontscreener/screenerbold.woff');
}

@font-face {
  font-family: Screenerbold;
  src: url('../fontscreener/screenerbold.woff');
}

body, html {
  min-height: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

body {
  font-family: Screener;
  background-image: url('../img/bg.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
  pointer-events: none;
}

.main, .ie-fixMinHeight, .wrap, form {
  position: relative;
  z-index: 1;
}

a {
  color: #486173;
  text-decoration: none;
}

img {
  display: block;
  width: 50%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 5px;
}

input, label {
  vertical-align: middle;
  white-space: normal;
  background: none;
  line-height: 1;
}

label {
  position: relative;
  display: block;
}

p::first-letter {
  text-transform: uppercase;
}

.main {
  min-height: calc(100vh - 90px);
  width: 100%;
  display: flex;
  flex-direction: column;
}

.ie-fixMinHeight {
  display: flex;
}

.ico {
  height: 14px;
  position: absolute;
  width: auto;
  top: 12px;
  left: 12px;
}

.logo {
  max-width: 160px;
  display: block;
  margin: 0 auto 20px auto;
}

.logo * {
  fill: #fff;
}

.lite .logo * {
  fill: #444;
}

h1 {
  text-align: center;
  color: #fff;
  font-size: 20px !important;
  font-family: Screenerbold;
}

.wrap {
  margin: auto;
  padding: 25px;
  transition: width 0.3s ease-in-out;
}

@media only screen and (min-width: 1px) and (max-width: 575px) {
  .wrap {
    width: 100%;
    padding: 20px;
  }
}

@media (min-width: 576px) {
  .wrap {
    width: 360px;
    padding: 30px;
  }
}

form {
  width: 100%;
  margin-bottom: 15px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.fadeIn {
  animation-name: fadeIn;
}

.animated {
  animation-duration: 1s;
  animation-fill-mode: both;
}

.info {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-size: 12px;
}

.info.bt {
  font-size: 10px;
  opacity: 0.4;
}

.info.alert {
  color: #da3d41;
}

input {
  outline: 0;
  appearance: none;
  font-family: Screener;
}

input:focus {
  outline: 0;
}

input[type="password"],
input[type="text"] {
  width: 100%;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 3px 15px 3px 35px;
  margin-bottom: 15px;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.8);
  transition: box-shadow 0.3s ease-in-out;
  font-size: 13px;
}

input[type="password"]:focus,
input[type="text"]:focus {
  box-shadow: 0 0 5px 0 rgba(255, 255, 255, 1);
}

input[type="submit"] {
  margin-top: 8px;
  background: #ee0303;
  color: #fff;
  border: 0;
  cursor: pointer;
  text-align: center;
  width: 100%;
  height: 38px;
  border-radius: 6px;
  transition: background 0.3s ease-in-out;
  font-family: Screenerbold;
  font-size: 13px;
  letter-spacing: 1px;
}

input[type="submit"]:focus,
input[type="submit"]:hover {
  background: #8b0000;
}

table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 15px;
}

table td {
  color: #fff;
  border-bottom: 1px solid #e6e6e6;
  padding: 8px 4px 8px 0;
  font-size: 12px;
}

table td:first-child {
  font-weight: 700;
}

.lite {
  background: #fff;
}

.lite input[type="password"],
.lite input[type="text"] {
  border: 1px solid #c3c3c3;
}

.lite .info,
.lite h1,
.lite table td {
  color: #444;
}

.lite input[type="password"]:focus,
.lite input[type="text"]:focus {
  box-shadow: 0 0 5px 0 rgba(62, 77, 89, 0.2);
}

.dark {
  background: #343434;
}

.dark input[type="submit"] {
  background: #dc3a41;
}

.dark input[type="submit"]:focus,
.dark input[type="submit"]:hover {
  background: #b92f35;
}

.dark input[type="password"],
.dark input[type="text"] {
  background-color: #fff;
}

.dark a {
  color: #dc3a41;
}

.dark table td {
  border-bottom: 1px solid #505050;
}

.guest-btn {
  background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px 0 8px 0;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  border: 1px solid rgba(255,255,255,0.3);
  font-family: Screenerbold;
  height: 36px;
}

.guest-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 90, 36, 0.5);
  background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
}

.guest-panel {
  background: linear-gradient(145deg, #2d3436 0%, #1e272e 100%);
  border-radius: 16px;
  padding: 20px 18px;
  margin: 15px 0;
  color: white;
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
  animation: slideIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border: 1px solid rgba(255,255,255,0.1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.guest-title {
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 15px;
  text-align: center;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #ffd32a, #ff3f34);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 2px;
  font-family: Screenerbold;
}

.guest-icon {
  font-size: 32px;
  text-align: center;
  margin-bottom: 5px;
}

.guest-badge {
  background: rgba(255,255,255,0.2);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 10px;
  margin-bottom: 15px;
  border: 1px solid rgba(255,255,255,0.3);
  width: 100%;
  text-align: center;
  font-family: Screenerbold;
  letter-spacing: 1px;
}

.guest-checkbox {
  background: rgba(255,255,255,0.1);
  padding: 15px;
  border-radius: 12px;
  margin: 10px 0 18px 0;
  border: 2px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
}

.guest-checkbox label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: white;
  cursor: pointer;
  font-weight: 500;
  position: relative;
}

.guest-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 5px;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  border: 2px solid #ff3f34;
}

.guest-checkbox input[type="checkbox"]:checked + .custom-checkbox {
  background: #ff3f34;
  border-color: white;
}

.guest-checkbox input[type="checkbox"]:checked + .custom-checkbox::after {
  content: '✓';
  position: absolute;
  color: white;
  font-size: 14px;
  font-weight: bold;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.guest-checkbox input[type="checkbox"]:focus + .custom-checkbox {
  box-shadow: 0 0 0 3px rgba(255, 63, 52, 0.5);
}

.checkbox-text {
  color: white;
  font-size: 13px;
  font-weight: 600;
}

.guest-continue {
  background: linear-gradient(135deg, #ffd32a, #ff3f34);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 3px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.3);
  margin-bottom: 12px;
  text-shadow: 1px 1px 0 rgba(0,0,0,0.2);
  font-family: Screenerbold;
  height: 40px;
}

.guest-continue:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 rgba(0,0,0,0.3);
  background: linear-gradient(135deg, #ff3f34, #ffd32a);
}

.guest-continue:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 4px 0 rgba(0,0,0,0.2);
}

.back-to-login {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: white;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  backdrop-filter: blur(5px);
  letter-spacing: 1.5px;
  font-family: Screenerbold;
  height: 36px;
}

.back-to-login:hover {
  background: rgba(255,255,255,0.2);
  border-color: white;
  transform: scale(0.98);
}

.divider-custom {
  display: flex;
  align-items: center;
  text-align: center;
  color: #aaa;
  margin: 15px 0 10px 0;
}

.divider-custom::before,
.divider-custom::after {
  content: '';
  flex: 1;
  border-bottom: 1.5px dashed #ff6b6b;
}

.divider-custom span {
  padding: 0 12px;
  font-size: 11px;
  color: #ff6b6b;
  font-weight: bold;
  text-transform: uppercase;
  font-family: Screenerbold;
}

.footer-links {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(255,255,255,0.2);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 11px;
  transition: all 0.3s ease;
  font-family: Screenerbold;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links a:hover {
  color: #ff6b6b;
  transform: translateY(-1px);
}

.footer-links span {
  color: rgba(255,255,255,0.3);
  font-size: 11px;
}

.copyright {
  text-align: center;
  margin-top: 15px;
  color: rgba(255,255,255,0.5);
  font-size: 9px;
  font-family: Screener;
}

.ico {
  height: 14px;
  position: absolute;
  width: auto;
  top: 12px;
  left: 12px;
  filter: brightness(0.3);
  z-index: 2;
}

.lite .ico {
  filter: brightness(0.3);
}

.dark .ico {
  filter: brightness(0.7);
}

input[type="password"] ~ .ico,
input[type="text"] ~ .ico {
  filter: brightness(0.3);
}