:root {
  --landing-overlay: rgba(0, 0, 0, 0.50);
}

.landing-body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

.landing-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  overflow: hidden;
}

.landing-background {
  position: absolute;
  inset: 0;
  background-image: url('landing-bg.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.85);
}

.landing-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: linear-gradient(120deg, var(--landing-overlay), rgba(0, 0, 0, 0.15));
}

.landing-card {
  width: 100%;
  max-width: 460px;
  background: #f2f3f4;
  border-radius: 0;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
  padding: 56px 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.landing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.landing-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.landing-title {
  margin: 0;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #111827;
}

.landing-subtitle {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
}

.landing-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-field {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
}

.landing-label {
  color: #fff;
  background: #000;
  padding: 8px 12px;
  width: 140px;
  min-width: 140px;
  height: 40px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  text-align: left;
  letter-spacing: 0.02em;
}

.landing-select {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23000' d='M6 8L1 3h10z'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: #000;
  border: 1px solid #000;
  padding: 8px 36px 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  outline: none;
  flex: 1;
  min-width: 0;
  height: 40px;
  box-sizing: border-box;
  appearance: none;
  cursor: pointer;
}

.landing-select:focus {
  border-color: #000;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.landing-select:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.landing-select option {
  background: #fff;
  color: #000;
  text-transform: uppercase;
}

.landing-error {
  min-height: 1.2em;
  font-size: 0.85rem;
  color: #b91c1c;
}

.landing-actions {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.landing-button {
  border-radius: 999px;
  border: none;
  padding: 10px 16px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.05s ease;
}

.landing-button.primary {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(96, 168, 58, 0.45);
}

.landing-button.primary:hover:not(:disabled) {
  background: #4a8b2f;
  box-shadow: 0 10px 24px rgba(96, 168, 58, 0.55);
  transform: translateY(-1px);
}

.landing-button.secondary {
  background: #ffffff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.landing-button.secondary:hover:not(:disabled) {
  background: #f3f4f6;
}

.landing-button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.landing-loading {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.landing-loading-card {
  background: rgba(17, 24, 39, 0.92);
  color: #e5e7eb;
  border-radius: 16px;
  padding: 16px 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6);
}

.landing-spinner {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 3px solid rgba(209, 213, 219, 0.4);
  border-top-color: #ffffff;
  animation: landing-spin 0.7s linear infinite;
}

.landing-loading-text {
  margin: 0;
  font-size: 0.95rem;
}

.landing-admin-btn {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  color: #374151;
  text-decoration: none;
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
.landing-admin-btn:hover {
  background: #f3f4f6;
  color: #111827;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.landing-admin-icon {
  width: 22px;
  height: 22px;
  display: block;
}

@keyframes landing-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 640px) {
  .landing-card {
    padding: 32px 28px 28px;
  }

  .landing-title {
    font-size: 1.25rem;
  }
}

