/* ============================================================
   CAWFA – LOGOUT MODULE STYLES
   (only affects logout-section area)
   ============================================================ */

/* ---- Main container ---- */
.logout-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  padding: 2rem 1rem;
  text-align: center;
  background: transparent;
}

/* ---- Logout message box ---- */
.logout-box {
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 2.5rem 3rem;
  max-width: 420px;
  width: 100%;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.6s ease-out;
}

.logout-box h1 {
  color: #D90404;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.3px;
}

.logout-box p {
  color: #ccc;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

/* ---- Spinner ---- */
.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: #D90404;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  animation: spin 1s linear infinite;
}

/* ---- Back to Login button ---- */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(180deg, #D90404 0%, #730707 100%);
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: linear-gradient(180deg, #e01515 0%, #8a0b0b 100%);
  transform: translateY(-2px);
}

/* ---- Animations ---- */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Mobile adjustments ---- */
@media (max-width: 480px) {
  .logout-box {
    padding: 2rem 1.5rem;
  }
  .logout-box h1 {
    font-size: 1.5rem;
  }
}
