*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

@font-face {
  font-family: "AlacritySans";
  src: url(../fonts/Alacrity-Sans-Regular.ttf);
}

body {
  max-width: 450px;
  margin: 0px auto;
  font-family: "AlacritySans", sans-serif !important;
}

.auth-page {
  background: url("../images/static/adm-lg-rg.png") no-repeat no-repeat
    center/cover;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.logo {
  text-align: center;
  padding-top: 20px;
}
.logo img {
  width: 70px;
  background: #fff;
  padding: 10px;
  border-radius: 50%;
}

.box {
  margin: 60px 8px 0 8px;
  background: #e8eaf0;
  border-radius: 25px 25px 0 0;
  padding: 30px 0;
  min-height: calc(100dvh - 120px);
  text-align: center;
  position: relative;
  flex: 1;
  font-variant: all-small-caps;
  font-size: 17px;
  font-family: "AlacritySans", sans-serif !important;
}

.icon-top {
  padding: 4px 6px;
  background: linear-gradient(45deg, #2f276b, #bd3863);
  border-radius: 50%;
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.input-box {
  width: 95%;
  margin: 14px auto;
  position: relative;
}
.input-box input {
  width: 100%;
  padding: 16px 40px;
  border-radius: 4px;
  border: 1px solid #ccc;
  outline: none;
  font-family: "AlacritySans", sans-serif !important;
}
.input-box i.left {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
}
.input-box i.right {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.input-box input:focus {
  border: 1px solid transparent;
  background-image: linear-gradient(#fff, #fff),
    linear-gradient(45deg, #2f276b, #bd3863);
  background-origin: border-box;
  background-clip: padding-box, border-box;

  box-shadow: 0 0 10px rgba(189, 56, 99, 0.5);
  transition: border-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.btn {
  width: 95%;
  padding: 15px;
  margin-top: 10px;
  border: none;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  background: linear-gradient(45deg, #2f276b, #bd3863);
  position: relative;
  overflow: hidden;
  font-variant: all-small-caps;
  font-weight: 800;
  font-family: "AlacritySans", sans-serif !important;
  font-size: 17px;
}
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.3);
  transform: skewX(-20deg);
}
.btn:hover::before {
  left: 125%;
  transition: 0.5s;
}

.remember {
  width: 95%;
  margin: 15px auto 7px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}

.remember input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #421a7c;
  border-radius: 3px;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
}

.remember input[type="checkbox"]:checked {
  background: linear-gradient(45deg, #2f276b, #bd3863);
  border: none;
}

.remember label {
  line-height: 1;
  display: flex;
  align-items: center;
  font-variant: normal;
}

.error {
  color: red;
  font-size: 14px;
  width: 95%;
  margin: auto;
  text-align: left;
  font-weight: bold;
  margin-top: -5px;
}

.lg-rg-noti{
	font-variant: all-small-caps;
	color: #666;
	font-weight: bold;
	text-align: right;
	margin-top: 25px;
	margin-right: 2.5%;
	font-size: 16px;
}

.lg-rg-noti span a{
	background: linear-gradient(45deg, #2f276b, #bd3863);
	color: #fff;
	border-radius: 20px;
	padding: 3px 8px;
}

.footer-container {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 450px;
  height: 70px;
  background: transparent;
  z-index: 9999;
}

.footer-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.footer-svg svg {
  width: 100%;
  height: 100%;
}

.footer-svg path {
  fill: #a53261;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
}

.f-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-variant: all-small-caps;
}

.f-item:hover,
.f-item:active,
.f-item:visited {
  color: white;
  text-decoration: none;
}

.f-spacer {
  flex: 1.2;
}

.f-item img {
  width: 20px;
  margin-bottom: 2px;
  filter: brightness(0) invert(1);
}

.f-center {
  position: absolute;
  left: 50%;
  top: -20px;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(45deg, #2f276b, #bd3863);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  text-decoration: none;
}

.f-center:hover {
  color: #fff;
}

.news-ticker {
  margin: 25px 0px 0px;
  padding: 22px 16px;
  border-radius: 6px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(3px);

  border: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff;
  font-size: 15px;
  font-weight: 500;

  position: relative;

  font-variant: all-small-caps;
  font-weight: bold;
}

.news-ticker::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: shine 3s infinite;
}

@keyframes shine {
  100% {
    left: 120%;
  }
}

.news-ticker span {
  display: inline-block;
  transition: all 0.3s ease;
}

.news-ticker-top {
  padding: 4px 10px;
  left: 10px;
  top: -13px;
  border-radius: 6px;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.15),
    rgba(255, 255, 255, 0.05)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.2);

  color: #fff;
  font-size: 15px;
  font-weight: 500;

  position: absolute;
  overflow: hidden;
  font-variant: all-small-caps;
  font-weight: bold;
}