/* ===================================
   FORM CARD
=================================== */

.form-card {
  margin-top: 25px;

  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 25px;

  padding: 35px;
}
/* ===================================
   FORM HEADER
=================================== */

.form-header {
  display: flex;

  align-items: center;

  gap: 12px;

  margin-bottom: 25px;
}

.form-header i {
  font-size: 28px;

  color: #60a5fa;
}

.form-header h3 {
  color: white;

  font-size: 24px;

  font-weight: 600;

  margin: 0;
}
/* ===================================
   FORM
=================================== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;

  padding: 14px 16px;

  border: none;

  outline: none;

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);

  border: 1px solid rgba(255, 255, 255, 0.12);

  color: white;

  font-size: 15px;

  transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #3b82f6;

  box-shadow: 0 0 15px rgba(59, 130, 246, 0.25);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #cfcfcf;
}
.form-group textarea {
  resize: none;

  min-height: 120px;
}
/* ===================================
   BUTTON
=================================== */

.form-action {
  margin-top: 35px;

  display: flex;

  justify-content: flex-end;

  gap: 15px;
}
.btn-submit,
.btn-back {
  padding: 14px 28px;

  border: none;

  border-radius: 14px;

  font-size: 15px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s;

  text-decoration: none;
}
.btn-submit {
  background: #16a34a;

  color: white;
}

.btn-submit:hover {
  background: #15803d;

  transform: translateY(-2px);
}
.btn-back {
  background: #475569;

  color: white;
}

.btn-back:hover {
  background: #334155;

  transform: translateY(-2px);
}

.form-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 25px 0 35px;
}

@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}
/* ===================================
   SELECT
=================================== */

.form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background: rgba(255, 255, 255, 0.08);

  color: #fff;

  cursor: pointer;
}

.form-group select option {
  background: #1f2937;

  color: #ffffff;
}
.form-group select option {
  background: #374151;

  color: #fff;
}
.preview-foto {
  width: 120px;

  height: 150px;

  object-fit: cover;

  border-radius: 15px;

  border: 2px solid rgba(255, 255, 255, 0.15);

  margin-bottom: 15px;
}
/* ===================================
   LOGIN PAGE
=================================== */

.login-body {
  margin: 0;

  min-height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;

  padding: 30px;

  background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);

  font-family: "Poppins", sans-serif;
}

.login-container {
  width: 100%;

  max-width: 430px;
}

.login-card {
  background: rgba(255, 255, 255, 0.08);

  backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.12);

  border-radius: 28px;

  padding: 45px;

  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);

  animation: fadeLogin 0.7s ease;
}

.login-logo {
  text-align: center;

  margin-bottom: 30px;
}

.login-logo img {
  width: 90px;

  margin-bottom: 15px;
}

.login-logo h2 {
  color: #fff;

  margin: 0;

  font-size: 28px;

  font-weight: 700;
}

.login-logo p {
  margin-top: 8px;

  color: #cbd5e1;

  font-size: 14px;
}

.login-card h3 {
  color: white;

  text-align: center;

  margin-bottom: 25px;

  font-size: 22px;

  font-weight: 600;
}

.login-error {
  margin-bottom: 20px;

  padding: 12px 16px;

  border-radius: 12px;

  background: rgba(220, 38, 38, 0.15);

  border: 1px solid rgba(220, 38, 38, 0.35);

  color: #fecaca;

  font-size: 14px;

  display: flex;

  align-items: center;

  gap: 10px;
}
.login-input {
  position: relative;

  margin-bottom: 22px;
}

.login-input i {
  position: absolute;

  left: 18px;

  top: 50%;

  transform: translateY(-50%);

  color: #93c5fd;

  font-size: 16px;
}

.login-input input {
  width: 100%;

  padding: 15px 18px 15px 48px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  border-radius: 14px;

  background: rgba(255, 255, 255, 0.08);

  color: white;

  font-size: 15px;

  outline: none;

  transition: 0.3s ease;

  box-sizing: border-box;
}

.login-input input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.login-input input:focus {
  border-color: #60a5fa;

  background: rgba(255, 255, 255, 0.12);

  box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.18);
}

.login-btn {
  width: 100%;

  padding: 15px;

  border: none;

  border-radius: 14px;

  background: linear-gradient(135deg, #2563eb, #3b82f6);

  color: white;

  font-size: 16px;

  font-weight: 600;

  cursor: pointer;

  transition: 0.3s ease;
}

.login-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

.login-btn i {
  margin-right: 8px;
}

.login-footer {
  text-align: center;

  margin-top: 28px;

  color: rgba(255, 255, 255, 0.65);

  font-size: 13px;
}

@keyframes fadeLogin {
  from {
    opacity: 0;

    transform: translateY(30px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

@media (max-width: 500px) {
  .login-card {
    padding: 30px 25px;
  }

  .login-logo img {
    width: 75px;
  }

  .login-logo h2 {
    font-size: 24px;
  }

  .login-card h3 {
    font-size: 20px;
  }
}
