
/* Import font */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

body {
  margin: auto;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(135deg, #000000 0%, #434343 100%);
  background-size: 400% 400%;
  background-attachment: fixed;
  overflow-x: hidden;
  color: #e7eaec;
}

/* Wave background */
.wave {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1000% 1000% 0 0;
  position: fixed;
  width: 200%;
  height: 12em;
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: -1;
}

/* Container tampilan glassmorphism */
.container {
  max-width: 600px;
  margin: 250px auto;
  padding: 20px 30px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Judul container */
h1, h6 {
  font-family: 'Open Sans', sans-serif;
  font-weight: 300;
  text-align: center;
  position: relative;
  margin: 0 0 20px 0;
  color: #fff;
}

/* SVG Loading Animation */
.svg-wrapper {
  height: 60px;
  width: 320px;
  margin: 0 auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

/* Elemen SVG */
.shape {
  fill: none;
  stroke: #ffffff;
  stroke-width: 8px;
}

/* Text pada SVG */
.text {
  color: #fff;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 22px;
  letter-spacing: 8px;
  line-height: 32px;
  position: relative;
  top: -48px;
}

/* Form input dan tombol */
.form-group {
  margin-bottom: 20px;
}

.form-control, .card-input, .combo-box {
  background: rgba(255, 255, 255, 0.25);
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  margin-bottom: 22px;
  padding: 10px;
  color: #333;
}

.form-control:focus, .card-input:focus, .combo-box:focus {
  background-color: rgba(221, 221, 221, 0.8);
  outline: none;
}

.input-group-append {
  margin-left: -1px;
}

/* Tombol login/logout */
.btn-primary, .btn-login, .btn-logout {
  border: none;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
  width: 100%;
  background-color: rgba(40, 41, 40, 0.62);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover, .btn-login:hover, .btn-logout:hover {
  background-color: rgba(40, 41, 40, 0.8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Pesan Alert */
.alert, .alert-invalid {
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
}

.alert {
  background-color: rgba(76, 175, 80, 0.7);
  color: #ffffff;
}

.alert-invalid {
  background-color: rgba(191, 32, 0, 0.85);
  color: #ffffff;
}

/* Garis pemisah */
.line {
  border: 0;
  height: 2px;
  background-color: #6a6a6a;
  margin: 8px 0 18px 0;
}
