.admin-login-main {
  flex: 1;
}

.admin-login-section {
  display: flex;
  min-height: 70vh;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
}

.admin-login-wrap {
  width: 100%;
  max-width: 24rem;
}

.admin-login-card {
  border: 1px solid hsl(0 0% 88%);
  border-radius: 0.5rem;
  background: #ffffff;
  color: #141414;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.admin-login-card-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
}

.admin-login-shield {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.5rem;
  color: #ef4444;
}

.admin-login-title {
  margin: 0;
  font-family: 'Teko', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.admin-login-card-body {
  padding: 0 1.5rem 1.5rem;
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.admin-form-label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  color: #111111;
}

.admin-form-input {
  display: flex;
  width: 100%;
  height: 2.5rem;
  border: 1px solid #d4d4d8;
  border-radius: 0.375rem;
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  color: #111111;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.admin-form-input::placeholder {
  color: #6b7280;
}

.admin-form-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.18);
}

.admin-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  height: 2.5rem;
  border: 0;
  border-radius: 0.375rem;
  background: #ef4444;
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.admin-login-button:hover {
  background: #dc2626;
}

.admin-login-button:active {
  transform: translateY(1px);
}

.admin-login-button-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}


/* TOAST */
.custom-toast {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100% - 32px);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
  z-index: 9999;
  animation: toastSlideIn 0.35s ease;
  border-left: 5px solid;
  background: #fff;
}

.custom-toast-error {
  border-left-color: #dc2626;
}

.custom-toast-success {
  border-left-color: #16a34a;
}

.custom-toast-error .custom-toast-icon {
  background: #fee2e2;
  color: #dc2626;
}

.custom-toast-success .custom-toast-icon {
  background: #dcfce7;
  color: #16a34a;
}

.custom-toast-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: bold;
}

.custom-toast-content {
  flex: 1;
}

.custom-toast-title {
  font-size: 14px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}

.custom-toast-message {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
}

.custom-toast-close {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 20px;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.custom-toast-close:hover {
  color: #111827;
}

.toast-hide {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.3s ease;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 576px) {
  .custom-toast {
    top: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .admin-login-card-header {
    padding: 28px 20px 18px;
  }

  .admin-login-card-body {
    padding: 20px;
  }
}

.password-input-wrap {
  position: relative;
}

.password-input {
  padding-right: 45px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  color: #111827;
}