@charset "UTF-8";

/* ===== Reset dasar ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  line-height: 1.5;
  height: 100vh;
  width: 100%;
}

/* ===== Heading & text ===== */
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

/* ===== List ===== */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ===== Link ===== */
a {
  text-decoration: none;
  color: inherit;
}

/* ===== Media ===== */
img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===== Table ===== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* ===== Hidden ===== */
[hidden] {
  display: none;
}

/* ===== Smooth scroll (opsional) ===== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* body {
  background: url("../img/bg_1.jpg");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: cover;
} */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-login);
  color: var(--text);
  overflow: hidden;
}

/* Animasi Background Bulatan */
.bg-animate {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--accent), var(--primary));
  filter: blur(80px);
  animation: move 20s infinite alternate;
  opacity: 0.3;
}

@keyframes move {
  from {
    transform: translate(-10%, -10%);
  }
  to {
    transform: translate(20%, 20%);
  }
}

/* Container Glassmorphism */
.container {
  width: 900px;
  height: 580px;
  background: var(--glass);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  display: flex;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  animation: fadeIn 0.8s ease-out;
}

.logo-section {
  flex: 1;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

.logo img {
  height: 250px;
}
.form-section {
  flex: 1.2;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-toggle {
  display: flex;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 5px;
  width: fit-content;
}

.form-toggle button {
  padding: 10px 25px;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 600;
  transition: 0.3s;
}

.form-toggle button.active {
  background: linear-gradient(45deg, var(--accent), var(--primary));
}

.form-box {
  display: none;
  animation: slideIn 0.4s forwards;
}

.form-box.active {
  display: block;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.desc {
  font-size: 0.85rem;
  color: #ccc;
  margin-bottom: 25px;
}

.input-group {
  margin-bottom: 15px;
}
label {
  display: block;
  font-size: 0.75rem;
  margin-bottom: 5px;
  color: var(--primary);
}

input {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: white;
  outline: none;
}

input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(45deg, var(--accent), var(--primary));
  color: white;
  font-weight: 600;
  cursor: pointer;
  margin-top: 15px;
  transition: 0.3s;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .container {
    flex-direction: column;
    height: auto;
    margin: 20px;
  }
  .logo-section {
    display: none;
  }
}
