* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Harabara Mais", sans-serif;

  /*/// Global Variabel ///*/
  --nav-height: 3.5rem;
  /*/ Colors /*/
  --color-main: #03045e;
  --color-second: #094226#031f13;
  --color-third: #102626;
  --color-third-25: #8b1b1d40;
  --color-golden: #c1d9b7;
  --color-golden-light: rgba(250, 242, 220, 1);
  --color-bright: #e5e2e2;
  --color-dark: #031f13;
  --color-shadow-bright: #e5a298; 
  --color-shadow: rgba(0, 30, 29, 0.75);

  /*// debug //*/
  /* border: 1px solid var(--color-main); */
}

body {
  height: 100vh;
}

.container {
  position: static;
  display: flex;
  /* overflow: hidden; */
  width: min(100vw - 15px, 1080px + 2rem);
  height: 100%;
  padding-inline: 1rem !important;
  margin-inline: auto;
}

.container-right,
.container-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card {
  display: grid;
  align-items: center;
  grid-template-columns: 35% 65%;
  width: 100%;
  max-width: 720px;
  height: 340px;
  margin: auto;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 5px 10px var(--color-shadow);
}

.card .container-left,
.card .container-right {
  height: 100%;
  justify-content: space-around;
}

.card .container-left {
  background-color: var(--color-main);
  backdrop-filter: blur(10px);
}

.card .container-left img {
  width: 60%;
  margin: auto;
  filter: drop-shadow(0 0 10px black);
}

.card .container-right {
  align-items: center;
  padding: 1rem;
  background-color: transparent;
  box-shadow: 0 0 10px var(--color-shadow);
  backdrop-filter: blur(10px);
}

.card form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 320px;
}

.card p {
  font-size: 0.8rem;
}

.card a {
  color: var(--color-second);
  font-weight: 800;
  text-decoration: none;
  padding-inline: 0.25rem;
}

.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  width: 100%;
  text-decoration: none;
  color: var(--color-main);
}

.logo img {
  display: none;
  height: 36px;
  width: 36px;
  filter: drop-shadow(0 0 5px grey);
}

.card h1 {
  font-size: 2.5rem;
}

.form-group {
  position: relative;
}

.form-control {
  width: 100%;
  height: 2rem;
  border-radius: 10px;
  padding-inline: 1rem;
  border: 1px solid #023e8a;
  background-color: white;
}

.form-control:focus {
  outline: 0;
  border: 2px solid var(--color-second);
  box-shadow: 0 0 0 0.2rem rgba(228, 35, 36, 0.5);
}

.showPass {
  position: absolute;
  right: 0;
  top: 50%;
  translate: -50% -50%;
  display: grid;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: transparent;
  color: grey;
}

.showPass input {
  appearance: none;
}

.hidden::before {
  content: "\f06e";
}

.showed::before {
  color: var(--color-second);
  content: "\f070";
}

.btn-primary {
    display: flex;
    justify-content: center; /* Tengah horizontal */
    align-items: center;  
    background: linear-gradient(145deg, #9eb6ff, #b6e6ff);
    color: white;
    box-shadow: 
        0 0 20px rgba(70, 70, 211, 0.5),
        0 0 40px rgba(200, 240, 255, 0.3);
    border-radius: 12px;
    border: none;
    padding: 12px 28px;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    cursor: pointer;
    animation: antarctica-glow 3s ease-in-out infinite alternate;
    transition: all 0.4s ease;
}

.btn-primary:hover {
    background: linear-gradient(145deg, #ccefff, #aee1ff);
    color: #002b4d;
    box-shadow: 
        0 0 30px rgba(255, 255, 255, 0.9),
        0 0 60px rgba(200, 240, 255, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.5);
    transform: scale(1.08);
}

/*.btn-primary {*/
/* height: 3rem;*/
/*  margin-top: 1.5rem;*/
/*  color: black;*/
/*  background-color: var(--color-second);*/
/*}*/

/*.btn-primary:hover {*/
/*  background-color: var(--color-main);*/
/*  box-shadow: 0 2px 8px var(--color-main);*/
/*}*/

.background {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: url('https://sso.smadu2.com/assets/SSO25/img/logIn/tumpukanes.jpg');
  background-size: cover;       
  background-position: center;  
  background-repeat: no-repeat; 
  overflow: hidden;
  user-select: none;
  z-index: -1;
}

.background img:first-child {
  height: 80%;
  mix-blend-mode: soft-light;
  margin: auto;
  margin-left: -20%;
  z-index: 1;
}

.background::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to right, var(--color-main), transparent);
  z-index: 0;
}

.disabled {
  pointer-events: none;
  color: gray !important;
}

@media (max-width: 720px) {
  .card {
    grid-template-columns: 100% !important;
    max-width: 360px;
  }

  .container-left {
    display: none;
  }

  .logo img {
    display: block;
  }
}

.alert {
  padding: 0.5rem;
  background-color: #e4232480;
  border-radius: 1rem;
}

@keyframes antarctica-glow {
    0% {
        box-shadow: 
            0 0 20px rgba(70, 70, 211, 0.5),
            0 0 40px rgba(200, 240, 255, 0.3);
    }
    100% {
        box-shadow: 
            0 0 30px rgba(255, 255, 255, 0.8),
            0 0 50px rgba(200, 240, 255, 0.6);
    }
}
