/* ==========================================================================
   Resident Features & Ticket Badges (Web Portal)
   ========================================================================== */

.guest-pass-ticket {
  background: #fff7ed;
  border: 2px dashed #ea580c;
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  margin: 10px 0;
}

.guest-pass-code {
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 800;
  color: #ea580c;
  letter-spacing: 0.08em;
}

.res-poll-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 12px;
}

.res-poll-option {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font-size: 0.82rem;
  margin-top: 6px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  transition: var(--transition-fast);
}

.res-poll-option:hover {
  border-color: var(--brand-primary);
  background: #fff7ed;
}

.res-poll-option.selected {
  border-color: var(--brand-primary);
  background: #fff7ed;
  font-weight: 700;
}

/* Bill Banner */
.res-bill-banner {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.res-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.res-quick-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: var(--radius-sm);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  text-align: center;
}

.res-quick-btn:hover {
  border-color: var(--brand-primary);
  color: var(--brand-primary);
}

.res-quick-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff7ed;
  color: #ea580c;
}

/* Bottom Nav */
.res-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px;
  z-index: 40;
}

.res-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-size: 0.65rem;
  color: #64748b;
  cursor: pointer;
}

.res-tab-item.active {
  color: var(--brand-primary);
  font-weight: 700;
}

.res-tab-item svg {
  width: 18px;
  height: 18px;
}

.guest-pass-ticket {
  background: #f8fafc;
  border: 2px dashed #ea580c;
  border-radius: var(--radius-sm);
  padding: 14px;
  text-align: center;
  margin: 10px 0;
}

.guest-pass-code {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ea580c;
}

.res-incoming-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.res-poll-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 10px;
}

.res-poll-option {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 7px 10px;
  font-size: 0.78rem;
  margin-top: 5px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.res-poll-option.selected {
  border-color: var(--brand-primary);
  background: #fff7ed;
  font-weight: 700;
}
