/* DriftWallpapers dark theme override for caddy-security portal */

html,
html.bg-blue-100 {
  background-color: #09090b !important;
}

body {
  background-color: #09090b !important;
}

/* Logo: hide broken favicon img, replace with CSS-drawn "DW" tile */
.logo-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.logo-img {
  display: none !important;
}

.logo-box::before {
  content: "DW";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  border-radius: 1rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.05em;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
  margin-bottom: 1rem;
}

/* Card container */
.app-container {
  background-color: #18181b !important;
  border: 1px solid #27272a !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6) !important;
}

/* "Sign In" page title */
.logo-txt {
  color: #fafafa !important;
}

/* Label text */
.text-primary-700 {
  color: #a1a1aa !important;
}

/* Link text */
.text-primary-600 {
  color: #818cf8 !important;
}

/* Icon prefix inside input box */
.app-inp-prf-img {
  color: #52525b !important;
}

/* Text inputs */
.app-inp-txt {
  background-color: #09090b !important;
  border-color: #27272a !important;
  color: #fafafa !important;
}

.app-inp-txt:focus {
  background-color: #09090b !important;
  border-color: #6366f1 !important;
  color: #fafafa !important;
  --tw-ring-color: rgba(99, 102, 241, 0.3) !important;
}

.app-inp-txt::placeholder {
  color: #52525b !important;
  opacity: 1 !important;
}

/* Primary button */
.app-btn-pri {
  background-color: #6366f1 !important;
  border-color: transparent !important;
}

.app-btn-pri:hover {
  background-color: #4f46e5 !important;
}

.app-btn-pri:focus {
  --tw-ring-color: rgba(99, 102, 241, 0.4) !important;
}

/* Secondary button */
.app-btn-sec {
  background-color: #27272a !important;
  border-color: transparent !important;
  color: #a1a1aa !important;
}

.app-btn-sec:hover {
  background-color: #3f3f46 !important;
}

/* Error / alert messages */
.bg-red-50 {
  background-color: #450a0a !important;
}

.text-red-700,
.text-red-800 {
  color: #fca5a5 !important;
}

.border-red-400 {
  border-color: #7f1d1d !important;
}

/* Portal home page nav */
.app-navbar,
nav {
  background-color: #18181b !important;
  border-bottom: 1px solid #27272a !important;
}

/* Portal links */
.app-page a {
  color: #818cf8 !important;
}

.app-page a:hover {
  color: #a5b4fc !important;
}

/* Sign Out button on portal home */
.app-login-btn-txt {
  background-color: #27272a !important;
  color: #fafafa !important;
}

.app-login-btn-txt:hover {
  background-color: #3f3f46 !important;
}

.app-login-btn-box {
  border-color: #27272a !important;
}
