:root {
  --bright-blue: #4364F7;
  --bright-purple: #6B72FF;
  --bg-gradient: linear-gradient(135deg, #e0c3fc 0%, #8ec5fc 50%, #c2e9fb 100%);
  --glass-border: rgba(255, 255, 255, 0.4);
  --text-dark: #2d3748;
}

* {
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--bg-gradient);
  background-attachment: fixed;
  overflow-x: hidden;
  /* Diubah agar bisa scroll jika konten panjang */
  position: relative;
}

/* Dekorasi bentuk geometris di latar belakang */
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 0;
}

.shape-1 {
  width: 111px;
  height: 111px;
  background: #ff9a9e;
  top: -50px;
  left: -50px;
  opacity: 0.6;
}

.shape-2 {
  width: 222px;
  height: 222px;
  background: #a18cd1;
  bottom: -100px;
  right: -100px;
  opacity: 0.5;
}

.shape-3 {
  width: 111px;
  height: 111px;
  background: #84fab0;
  bottom: 50px;
  left: 20%;
  opacity: 0.4;
}

/* Efek Glassmorphism pada Kartu Login */
.glass-card {
  z-index: 1;
  width: 100%;
  max-width: 420px;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 20px 15px;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

/* Logo Container */
.logo-container {
  width: 99px;
  height: 99px;
  margin: 0 auto 20px auto;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  padding: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.logo-umh {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

h1.title-weapon {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.3;
  margin-bottom: 5px;
}

p.subtitle {
  text-align: center;
  color: #4a5568;
  font-size: 0.95rem;
  margin-bottom: 15px;
  font-weight: 500;
}

/* Form Labels & Inputs */
.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
  display: block;
}

.form-control-glass,
select.form-control-glass {
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  padding: 6px 9px;
  color: #2d3748;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.form-control-glass:focus {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--bright-blue);
  box-shadow: 0 0 0 4px rgba(67, 100, 247, 0.15);
  outline: none;
}

.form-control-glass::placeholder {
  color: #718096;
}

/* Khusus Select arrow */
select.form-control-glass {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234364F7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  padding-right: 35px;
}

/* Input Group (untuk password dengan ikon mata) */
.input-group {
  display: flex;
  align-items: stretch;
}

.input-group .form-control-glass {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  flex: 1;
}

.input-group-text-glass {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-left: none;
  border-radius: 0 12px 12px 0;
  color: var(--bright-blue);
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0 15px;
  display: flex;
  align-items: center;
}

.input-group-text-glass:hover {
  background: rgba(255, 255, 255, 0.9);
  color: var(--bright-purple);
}

/* Styling Radio Button & Checkbox */
.form-check-glass {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
  color: #2d3748;
  font-size: 0.9rem;
  cursor: pointer;
}

.form-check-glass input[type="radio"],
.form-check-glass input[type="checkbox"] {
  accent-color: var(--bright-blue);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* Tombol Cerah */
.btn-bright {
  background: linear-gradient(90deg, var(--bright-blue) 0%, var(--bright-purple) 100%);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 8px;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(67, 100, 247, 0.3);
  transition: all 0.3s ease;
  width: 100%;
  cursor: pointer;
}

.btn-bright:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(67, 100, 247, 0.4);
  color: white;
}

.text-link {
  color: var(--bright-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
}

.text-link:hover {
  color: var(--bright-purple);
  text-decoration: underline;
}

.alert-glass {
  background: rgba(255, 200, 200, 0.5);
  border: 1px solid rgba(255, 100, 100, 0.3);
  color: #721c24;
  padding: 10px 15px;
  border-radius: 10px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  text-align: center;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-3 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 1.5rem;
}

.mb-3 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 1.5rem;
}

.d-flex {
  display: flex;
}

.justify-content-between {
  justify-content: space-between;
}

.align-items-center {
  align-items: center;
}

.d-grid {
  display: grid;
}