/* One-Click Demo Login Styling for Vibe96 Demo */
.demo-login-wrapper {
  margin-top: 1.5rem;
  padding: 1.1rem 1rem;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(45, 212, 191, 0.3);
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.demo-login-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #06b6d4, #f59e0b, #8b5cf6);
}

.demo-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 0.5rem;
}

.demo-divider span {
  width: 100%;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2dd4bf;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.demo-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
  margin-bottom: 0.85rem;
}

.demo-role-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.demo-role-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  background: rgba(30, 41, 59, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: #ffffff;
  cursor: pointer;
  text-align: left;
  transition: all 0.18s ease-in-out;
  position: relative;
  user-select: none;
}

.demo-role-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.demo-role-btn:active {
  transform: translateY(0);
}

.demo-admin-btn {
  border-color: rgba(16, 185, 129, 0.4);
}
.demo-admin-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
}

.demo-manager-btn {
  border-color: rgba(14, 165, 233, 0.4);
}
.demo-manager-btn:hover {
  background: rgba(14, 165, 233, 0.18);
  border-color: #0ea5e9;
}

.demo-cashier-btn {
  border-color: rgba(245, 158, 11, 0.4);
}
.demo-cashier-btn:hover {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
}

.demo-reception-btn {
  border-color: rgba(168, 85, 247, 0.4);
}
.demo-reception-btn:hover {
  background: rgba(168, 85, 247, 0.18);
  border-color: #a855f7;
}

.demo-btn-icon {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

.demo-btn-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.demo-btn-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f8fafc;
  line-height: 1.2;
}

.demo-btn-desc {
  font-size: 0.67rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.demo-credentials-note {
  margin-top: 0.75rem;
  padding-top: 0.55rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.6);
}

.demo-credentials-note code {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  font-family: monospace;
}

.demo-btn-loading {
  opacity: 0.7;
  pointer-events: none;
}

/* Landing page quick demo pill */
.landing-demo-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.9), rgba(14, 165, 233, 0.9));
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 0.45rem 0.95rem;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  margin-left: 0.5rem;
}

.landing-demo-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.5);
  filter: brightness(1.1);
}
