/* DoorForce Technician — Sign Out UI */

.df-tech-signout-backdrop {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 14, 28, 0.72);
  backdrop-filter: blur(2px);
}

.df-tech-signout-backdrop[hidden] {
  display: none !important;
}

.df-tech-signout-card {
  width: min(440px, 100%);
  background: #0b1c33;
  color: #f4f7fb;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}

.df-tech-signout-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.df-tech-signout-icon {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 113, 113, 0.14);
  color: #fca5a5;
}

.df-tech-signout-head h2 {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.3;
  font-weight: 750;
}

.df-tech-signout-body {
  font-size: 0.98rem;
  line-height: 1.45;
  opacity: 0.95;
}

.df-tech-signout-body p {
  margin: 0 0 10px;
}

.df-tech-signout-warn {
  color: #fbbf24;
  font-weight: 650;
}

.df-tech-signout-detail {
  opacity: 0.8;
  font-size: 0.9rem;
}

.df-tech-signout-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.df-tech-signout-btn {
  min-height: 48px;
  width: 100%;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  padding: 12px 14px;
}

.df-tech-signout-btn.secondary {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: #f4f7fb;
}

.df-tech-signout-btn.primary {
  background: #0a2342;
  border-color: #38bdf8;
  color: #e0f2fe;
}

.df-tech-signout-btn.danger {
  background: #7f1d1d;
  border-color: #f87171;
  color: #fff;
}

.df-tech-signout-btn.danger-outline {
  background: transparent;
  border: 2px solid #f87171;
  color: #fca5a5;
}

.df-tech-account-card {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
}

.df-tech-account-card h3 {
  margin: 0 0 4px;
  font-size: 1.05rem;
}

.df-tech-account-card p {
  margin: 0 0 12px;
  opacity: 0.75;
  font-size: 0.92rem;
}

.df-tech-signout-entry {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid rgba(248, 113, 113, 0.55);
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.df-tech-signout-entry:hover,
.df-tech-signout-entry:focus-visible {
  background: rgba(239, 68, 68, 0.16);
  outline: none;
}

.sidebar-footer .df-tech-signout-entry {
  margin-top: 10px;
}

@media (max-width: 900px) {
  .sidebar-footer .df-tech-signout-entry {
    display: flex !important;
  }
}
