/* #region All Element */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* #endregion */

/* #region General Css */

.mdTextCenterWhite{
    text-align: center;
    color: #fff !important;
}

.mdMarginBottom20Top10{
  margin-bottom: 20px; 
  margin-top:10px;
}

/* #endregion */

/* #region Body */

body {
  /* Champions League gradient - deep navy to rich blue with dots */
  background-color: #001E62;
  background-image:
    radial-gradient(circle at center, rgba(247, 181, 0, 0.12) 0.5px, transparent 0.5px),
    linear-gradient(135deg,
      #000D2E 0%,
      #001E62 20%,
      #003B7A 50%,
      #00245A 80%,
      #001542 100%
    );
  background-size: 24px 24px, 100% 100%;

  justify-content: center;
  align-items: center;
  min-height: 100vh;
  display: flex;
  position: relative;
  overflow: hidden;
}

/* #endregion */

/* #region ContentContainer */

.mdContentContainer{
  display:flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100vh;
  width: 100%;
  max-width: 100%;
  gap: 50px;
}

/* #endregion  */

/* #region Timer Container */

.mdTimer {
    color: rgba(255, 255, 255, 0.8);
    justify-content: space-between;
    align-items: center;
    padding: 2rem 3rem;
    display: flex;
    width: 100%;
}

.mdTime, .mdDate {
    font-size: 1.1rem;
    font-weight: 400;
}

/* #endregion Timer Container */

/* #region Login Container */

.mdLoginContainer {
  width: 90%;
  max-width: 500px;
  padding: 2.5rem;
  /* Champions League glassmorphism with premium navy gradient */
  background: linear-gradient(135deg,
    rgba(0, 30, 98, 0.85) 0%,
    rgba(0, 45, 120, 0.75) 25%,
    rgba(0, 59, 122, 0.80) 50%,
    rgba(0, 45, 120, 0.75) 75%,
    rgba(0, 30, 98, 0.85) 100%
  );
  border-radius: 24px;
  /* Simplified shadow */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(30px);
  /* Golden border with gradient */
  border: 2px solid transparent;
  background-clip: padding-box;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.mdLoginContainer:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.mdLoginHeader {
  text-align: center;
  margin-bottom: 3rem;
}

.mdLoginLogo {
  width: 35%;
  margin-bottom: 0.5rem;
}

.mdLoginHeader h3{
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 20px rgba(247, 181, 0, 0.2);
}

.mdFormGroup {
  margin-bottom: 1.5rem;
  position: relative;
}

.mdFormGroup label {
  display: block;
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.mdFormGroup input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(247, 181, 0, 0.25);
  border-radius: 10px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.mdFormGroup input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.mdFormGroup input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.mdCancelButton{

  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 20px;
  width: 100%;
  padding: 1rem;
  background: rgb(236, 40, 40);
  border: none;
  border-radius: 10px;
  color: #fdfdfd;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;

}

.mdCancelButton:hover {
  box-shadow: 0 5px 10px rgba(56, 136, 240, 0.2);
  background-color: rgb(255, 0, 0);
  color: white;
}

.mdLoginButton:hover {
  box-shadow: 0 5px 10px rgba(56, 136, 240, 0.2);
  background-color: rgb(47, 47, 194);
  color: white;
}

.mdLoginButton:active {
  transform: translateY(0);
}

.mdButtonLoader {
  display: none;
  align-items: center;
  justify-content: center;
}

#countdown{
 color: #F7B500;
 font-weight: 600;
}

.mdHelpLine{
  margin-bottom: 20px !important;
  color: #ffffff !important;
  font-weight: 600;
}

.mdTextYellow{
  color: #ffffff !important;
  margin-top: 8px !important;
  display: block;
}

/* #endregion Login Container */

/* #region Spinner */

.mdSpinnerContainer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
}

.mdSpinnerRing {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: mdSpin 0.8s linear infinite;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 15px rgba(247, 181, 0, 0.3);
}

@keyframes mdSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* #endregion */

/* #region Footer-Image */

.mdImageRow {
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    display: flex;
    padding: 5rem;
    width: 100%;
    height: 10%;
}

.mdImageItem {
  width: 15%;
  height: auto;
  border-radius: 30px;
}

/* #endregion Image */

/* #region KeyFrames */  

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* #endregion */

/* #region GeometricShapes */

.mdGeometricShapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.mdShape {
  position: absolute;
  opacity: 0.3;
  animation: mdFloat 15s infinite;
}

.mdShape:nth-child(1) {
  top: 20%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #4158D0, #C850C0);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation-delay: 0s;
}

.mdShape:nth-child(2) {
  top: 60%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, #00DBDE, #FC00FF);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation-delay: -2s;
}

.mdShape:nth-child(3) {
  bottom: 20%;
  left: 20%;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #FFE53B, #FF2525);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  animation-delay: -4s;
}

.mdShape:nth-child(4) {
  top: 30%;
  right: 30%;
  width: 90px;
  height: 90px;
  background: linear-gradient(45deg, #21D4FD, #B721FF);
  clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
  animation-delay: -6s;
}

.mdShape:nth-child(5) {
  top: 70%;
  right: 5%;
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, #08AEEA, #2AF598);
  clip-path: circle(50% at 50% 50%);
  animation-delay: -8s;
}

.mdShape:nth-child(6) {
  top: 10%;
  left: 40%;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #FEE140, #FA709A);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  animation-delay: -10s;
}

.mdShape:nth-child(7) {
  bottom: 15%;
  right: 40%;
  width: 110px;
  height: 110px;
  background: linear-gradient(45deg, #FF3CAC, #784BA0);
  clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
  animation-delay: -12s;
}

.mdShape:nth-child(8) {
  top: 45%;
  left: 25%;
  width: 95px;
  height: 95px;
  background: linear-gradient(45deg, #F6D242, #FF52E5);
  border-radius: 50% 20% / 10% 40%;
  animation-delay: -14s;
}

@keyframes mdFloat {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  33% {
    transform: translate(30px, -50px) rotate(120deg) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) rotate(240deg) scale(0.9);
  }
  100% {
    transform: translate(0, 0) rotate(360deg) scale(1);
  }
}

/* #endregion */

/* #region Dark Glass Input Styles */

.form-control, input[type="text"], input[type="password"], input[type="email"] {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 2px solid rgba(247, 181, 0, 0.25) !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  padding: 12px 16px !important;
  transition: all 0.3s ease !important;
}

.form-control:focus, input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.18) !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1) !important;
  outline: none !important;
}

.form-control::placeholder, input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.mdLoginButton {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  width: 100%;
  padding: 1rem;
  /* Premium white gradient */
  background: linear-gradient(135deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.95) 100%
  ) !important;
  border: 2px solid rgba(255, 255, 255, 0.5) !important;
  border-radius: 14px !important;
  color: #001E62 !important;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2) !important;
}


.mdLoginButton:hover {
  background: linear-gradient(135deg,
    rgba(6, 182, 212, 0.9) 0%,
    rgba(14, 165, 233, 0.9) 50%,
    rgba(6, 182, 212, 0.9) 100%
  ) !important;
  color: #ffffff !important;
  border-color: rgba(6, 182, 212, 0.5) !important;
}

/* #endregion */

/* #region Responsive Media Queries */

/* XS - Extra Small (max-width: 480px) - Smallest mobile devices */
@media (max-width: 480px) {
  body {
    background-size: 16px 16px, 100% 100%;
  }

  .mdContentContainer {
    gap: 20px;
    justify-content: center;
  }

  .mdTimer {
    padding: 1rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .mdTime, .mdDate {
    font-size: 0.85rem;
  }

  .mdLoginContainer {
    width: 95%;
    max-width: 100%;
    padding: 1.5rem;
    border-radius: 20px;
  }

  .mdLoginHeader {
    margin-bottom: 2rem;
  }

  .mdLoginLogo {
    width: 40%;
  }

  .mdLoginHeader h3 {
    font-size: 1rem;
  }

  .mdFormGroup {
    margin-bottom: 1.25rem;
  }

  .mdFormGroup label {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .mdFormGroup input {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .mdLoginButton, .mdCancelButton {
    padding: 0.85rem;
    font-size: 0.9rem;
    min-height: 44px;
  }

  .mdImageRow {
    display: none !important;
  }

  .mdShape {
    opacity: 0.15 !important;
    transform: scale(0.6);
  }
}

/* SM - Small (481px - 640px) - Standard mobile devices */
@media (min-width: 481px) and (max-width: 640px) {
  body {
    background-size: 20px 20px, 100% 100%;
  }

  .mdContentContainer {
    gap: 30px;
    justify-content: center;
  }

  .mdTimer {
    padding: 1.5rem 2rem;
  }

  .mdTime, .mdDate {
    font-size: 0.95rem;
  }

  .mdLoginContainer {
    width: 90%;
    padding: 2rem;
    border-radius: 22px;
  }

  .mdLoginHeader {
    margin-bottom: 2.5rem;
  }

  .mdLoginLogo {
    width: 38%;
  }

  .mdLoginHeader h3 {
    font-size: 1.1rem;
  }

  .mdFormGroup input {
    padding: 0.85rem;
    font-size: 0.95rem;
  }

  .mdLoginButton, .mdCancelButton {
    padding: 0.9rem;
    font-size: 0.95rem;
    min-height: 44px;
  }

  .mdImageRow {
    display: none !important;
  }

  .mdShape {
    opacity: 0.2 !important;
    transform: scale(0.7);
  }
}

/* MD - Medium (641px - 768px) - Large mobile/small tablets */
@media (min-width: 641px) and (max-width: 768px) {
  .mdContentContainer {
    justify-content: center;
  }

  .mdTimer {
    padding: 2rem 2.5rem;
  }

  .mdTime, .mdDate {
    font-size: 1rem;
  }

  .mdLoginContainer {
    width: 85%;
    max-width: 480px;
  }

  .mdImageRow {
    display: none !important;
  }

  .mdShape {
    opacity: 0.25 !important;
    transform: scale(0.8);
  }
}

/* LG - Large (769px - 1024px) - Tablets landscape, small laptops */
@media (min-width: 769px) and (max-width: 1024px) {
  .mdContentContainer {
    justify-content: center;
  }

  .mdTimer {
    padding: 2rem 3rem;
  }

  .mdLoginContainer {
    width: 80%;
    max-width: 500px;
  }

  .mdImageRow {
    display: none !important;
  }

  .mdShape {
    opacity: 0.28 !important;
  }
}

/* XL - Extra Large (1025px - 1440px) - Desktop, standard laptops */
@media (min-width: 1025px) and (max-width: 1440px) {
  .mdTimer {
    padding: 2rem 3rem;
  }

  .mdLoginContainer {
    width: 90%;
    max-width: 500px;
  }

  .mdImageRow {
    padding: 4.5rem;
    display: flex;
    justify-content: space-between;
  }

  .mdImageItem {
    width: 16%;
  }
}

/* 2XL - (1441px - 1920px) - Large desktop, Full HD screens */
@media (min-width: 1441px) and (max-width: 1920px) {
  .mdTimer {
    padding: 2rem 3rem;
  }

  .mdLoginContainer {
    width: 85%;
    max-width: 520px;
    padding: 2.75rem;
  }

  .mdImageRow {
    padding: 5rem;
  }

  .mdImageItem {
    width: 15%;
  }

  .mdLoginHeader h3 {
    font-size: 1.3rem;
  }
}

/* 3XL - (1921px+) - 4K monitors, Ultra-wide screens */
@media (min-width: 1921px) {
  body {
    background-size: 32px 32px, 100% 100%;
  }

  .mdContentContainer {
    gap: 60px;
  }

  .mdTimer {
    padding: 2.5rem 4rem;
  }

  .mdTime, .mdDate {
    font-size: 1.2rem;
  }

  .mdLoginContainer {
    width: 75%;
    max-width: 580px;
    padding: 3rem;
  }

  .mdLoginHeader {
    margin-bottom: 3.5rem;
  }

  .mdLoginHeader h3 {
    font-size: 1.4rem;
  }

  .mdFormGroup input {
    padding: 1.1rem;
    font-size: 1.05rem;
  }

  .mdLoginButton, .mdCancelButton {
    padding: 1.1rem;
    font-size: 1.05rem;
  }

  .mdImageRow {
    padding: 6rem;
  }

  .mdImageItem {
    width: 14%;
  }

  .mdShape {
    transform: scale(1.2);
  }
}

/* #endregion */