/* ==========================================================================
   FOTOX PRO AGENCIA - ADMIN LOGIN VIEW (PREMIUM DARK STUDIO SYSTEM)
   ========================================================================== */

body.admin-login-body {
  min-height: 100vh;
  margin: 0;
  padding: 30px 16px;
  background-color: #07080B;
  background-image: 
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(255, 107, 0, 0.12), transparent 70%),
    radial-gradient(circle at 90% 90%, rgba(255, 107, 0, 0.05), transparent 40%),
    linear-gradient(180deg, #07080B 0%, #0B0D13 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow-x: hidden;
  font-family: var(--font-main, 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif);
}

body.admin-login-body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.admin-login-container {
  width: 100%;
  max-width: 1080px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.admin-login-shell {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: rgba(13, 16, 23, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    0 30px 70px -15px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 107, 0, 0.15),
    0 0 40px rgba(255, 107, 0, 0.05);
  position: relative;
}

.admin-login-shell::before,
.admin-login-shell::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
}

.admin-login-shell::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--brand-orange, #FF6B00);
  border-left: 2px solid var(--brand-orange, #FF6B00);
}

.admin-login-shell::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--brand-orange, #FF6B00);
  border-right: 2px solid var(--brand-orange, #FF6B00);
}

.admin-login-brand {
  padding: 55px 50px;
  background: linear-gradient(150deg, rgba(20, 24, 35, 0.75) 0%, rgba(9, 11, 16, 0.95) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.admin-login-brand-top {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.admin-login-logo {
  max-width: 220px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.admin-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  background: rgba(255, 107, 0, 0.12);
  border: 1px solid rgba(255, 107, 0, 0.35);
  color: var(--brand-orange, #FF6B00);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 10px;
  text-transform: uppercase;
}

.admin-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--brand-orange, #FF6B00);
  box-shadow: 0 0 8px var(--brand-orange, #FF6B00);
  animation: adminPulse 2s infinite ease-in-out;
}

@keyframes adminPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.admin-login-brand h1 {
  font-family: var(--font-display, 'Barlow Condensed', 'Montserrat', sans-serif);
  font-weight: 900;
  font-size: 46px;
  line-height: 0.92;
  color: #FFFFFF;
  margin: 8px 0 12px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.admin-login-brand h1 em {
  color: var(--brand-orange, #FF6B00);
  font-style: italic;
  display: block;
}

.admin-login-brand-desc {
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 20px;
  max-width: 440px;
}

.admin-login-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.admin-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.admin-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange, #FF6B00);
  margin-top: 1px;
}

.admin-feature-icon svg {
  width: 14px;
  height: 14px;
}

.admin-feature-text strong {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #F1F5F9;
  letter-spacing: 0.02em;
}

.admin-feature-text span {
  display: block;
  font-size: 10.5px;
  color: #64748B;
  line-height: 1.4;
}

.admin-login-brand-footer {
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: #64748B;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.admin-status-online {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #10B981;
}

.admin-status-dot {
  width: 6px;
  height: 6px;
  background: #10B981;
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.8);
}

.admin-login-card {
  padding: 55px 45px;
  background: rgba(16, 19, 27, 0.96);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.admin-card-header {
  margin-bottom: 24px;
}

.admin-card-eyebrow {
  display: inline-block;
  color: var(--brand-orange, #FF6B00);
  font-size: 9.5px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.admin-card-header h2 {
  font-family: var(--font-display, 'Barlow Condensed', 'Montserrat', sans-serif);
  font-weight: 900;
  font-size: 32px;
  line-height: 1;
  color: #FFFFFF;
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.admin-card-header p {
  color: #94A3B8;
  font-size: 12.5px;
  margin: 0;
}

.admin-login-error {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(220, 38, 38, 0.35);
  border-left: 4px solid #DC2626;
  color: #FECACA;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 20px;
  animation: adminShake 0.4s ease-in-out;
}

.admin-login-error svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  color: #EF4444;
}

@keyframes adminShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

.admin-login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-field-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.admin-field-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #CBD5E1;
}

.admin-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-input-icon {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  color: #64748B;
  pointer-events: none;
  transition: color 0.2s ease;
}

.admin-input-field {
  width: 100%;
  height: 48px;
  background: #090B10;
  border: 1px solid #232838;
  color: #FFFFFF;
  padding: 0 14px 0 42px;
  font-family: var(--font-main, 'Plus Jakarta Sans', sans-serif);
  font-size: 13.5px;
  transition: all 0.2s ease;
  outline: none;
}

.admin-input-field::placeholder {
  color: #475569;
  font-size: 13px;
}

.admin-input-field:hover {
  border-color: #333C52;
  background: #0B0E14;
}

.admin-input-field:focus {
  border-color: var(--brand-orange, #FF6B00);
  background: #0E1118;
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.18);
}

.admin-input-wrap:focus-within .admin-input-icon {
  color: var(--brand-orange, #FF6B00);
}

.admin-input-field.has-toggle {
  padding-right: 44px;
}

.admin-password-toggle {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  width: 36px;
  background: transparent;
  border: none;
  color: #64748B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.admin-password-toggle:hover {
  color: var(--brand-orange, #FF6B00);
  background: rgba(255, 255, 255, 0.05);
}

.admin-password-toggle svg {
  width: 16px;
  height: 16px;
}

.admin-submit-btn {
  margin-top: 6px;
  height: 48px;
  background: linear-gradient(135deg, #FF7A00 0%, #E65500 100%);
  border: 1px solid #FF8533;
  color: #000000;
  font-family: var(--font-main, sans-serif);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(255, 107, 0, 0.25);
}

.admin-submit-btn:hover {
  background: linear-gradient(135deg, #FFA04D 0%, #FF6B00 100%);
  box-shadow: 0 6px 26px rgba(255, 107, 0, 0.45);
  transform: translateY(-1px);
}

.admin-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(255, 107, 0, 0.3);
}

.admin-submit-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
  transition: transform 0.2s ease;
}

.admin-submit-btn:hover svg {
  transform: translateX(3px);
}

.admin-card-footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.admin-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #94A3B8;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.admin-back-link:hover {
  color: var(--brand-orange, #FF6B00);
  transform: translateX(-3px);
}

.admin-back-link svg {
  width: 14px;
  height: 14px;
}

.admin-copy-note {
  font-size: 10px;
  color: #475569;
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  body.admin-login-body {
    padding: 20px 12px;
  }

  .admin-login-shell {
    grid-template-columns: 1fr;
  }

  .admin-login-brand {
    padding: 35px 24px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .admin-login-brand h1 {
    font-size: 36px;
  }

  .admin-login-features {
    display: none;
  }

  .admin-login-brand-footer {
    display: none;
  }

  .admin-login-card {
    padding: 35px 24px;
  }

  .admin-card-header h2 {
    font-size: 26px;
  }
}
