/* BlossomCall - Main Styles */
:root {
  --bg-primary: #0f0f0f;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #252525;
  --bg-hover: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-primary: #3b82f6;
  --accent-secondary: #60a5fa;
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
  --success: #22c55e;
  --warning: #eab308;
  --danger: #ef4444;
  --border-color: #333333;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.5);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: 0.2s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover {
  color: var(--accent-secondary);
}

/* Buttons - Modern Professional Design */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  min-height: 44px;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}
.btn-primary:hover:not(:disabled) {
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
  transform: translateY(-2px);
}
.btn-primary:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(59, 130, 246, 0.3);
}
.btn-secondary {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.btn-secondary:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--accent-primary);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transform: translateY(-1px);
}
.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
}
.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent-primary);
  border-color: rgba(59, 130, 246, 0.2);
  transform: translateX(-2px);
}
.btn-ghost:active:not(:disabled) {
  transform: translateX(0);
}
.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
  border: none;
}
.btn-danger:hover:not(:disabled) {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  box-shadow: 0 6px 16px rgba(239, 68, 68, 0.4);
  transform: translateY(-2px);
}
.btn-danger:active:not(:disabled) {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}
.btn-success {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  box-shadow: 0 2px 8px rgba(34, 197, 94, 0.25);
}
.btn-success:hover:not(:disabled) {
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.35);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 0.5rem 1rem;
  min-height: 36px;
  font-size: 0.8125rem;
  border-radius: 8px;
}
.btn-full {
  width: 100%;
}
.btn-icon {
  padding: 0.625rem;
  min-width: 44px;
  border-radius: 10px;
}
.btn-round {
  width: 3.5rem;
  height: 3.5rem;
  min-height: 3.5rem;
  border-radius: 50%;
  padding: 0;
}
.btn-round svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Icons */
.icon,
i[data-lucide] {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke-width: 2;
}

/* Ensure Lucide icons are visible */
i[data-lucide] svg {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

/* Forms */
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  font-family: inherit;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.form-group input::placeholder {
  color: var(--text-muted);
}
.form-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.form-error {
  margin-bottom: 1rem;
  padding: 0.625rem;
  font-size: 0.875rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--danger);
  border-radius: var(--radius-md);
  color: var(--danger);
}
.form-error:empty {
  display: none;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.checkbox-label input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent-primary);
}

/* Avatar */
.avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: white;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar.large {
  width: 5rem;
  height: 5rem;
  font-size: 2rem;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Status Dot */
.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: var(--radius-full);
  background: var(--text-muted);
}
.status-dot.available {
  background: var(--success);
}
.status-dot.busy, .status-dot.dnd {
  background: var(--danger);
}
.status-dot.away {
  background: var(--warning);
}

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  padding: 0 0.375rem;
  font-size: 0.6875rem;
  font-weight: 600;
  background: var(--danger);
  border-radius: var(--radius-full);
  color: white;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}
.modal.active {
  display: flex;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.modal-content {
  position: relative;
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.modal-content.modal-small {
  max-width: 22rem;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition);
}
.modal-close:hover {
  color: var(--text-primary);
}
.modal-content h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* Search Input */
.search-input {
  width: 16rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  color: var(--text-primary);
}
.search-input:focus {
  outline: none;
  border-color: var(--accent-primary);
}

/* Gradient Text */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hidden */
.hidden {
  display: none !important;
}

/* Toast */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 99999;
}

/* Toast above controls bar on mobile */
@media (max-width: 768px) {
  #toast-container {
    bottom: 90px;
    right: 1rem;
    left: 1rem;
  }

  .toast {
    width: 100%;
  }
}
.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  animation: slideIn 0.3s ease;
}
.toast.success {
  border-color: var(--success);
}
.toast.error {
  border-color: var(--danger);
}
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(1rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Empty State */
.empty-state {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* ===================== LANDING PAGE ===================== */
#landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border-color);
}
.landing-header .logo {
  font-size: 1.5rem;
  font-weight: 700;
}
.landing-header nav {
  display: flex;
  gap: 0.75rem;
}

.landing-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4rem 2rem;
}

.hero {
  text-align: center;
  max-width: 42rem;
  margin-bottom: 4rem;
}
.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.quick-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.join-code-box {
  display: flex;
  gap: 0.5rem;
}
.join-code-box input {
  width: 10rem;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-align: center;
  letter-spacing: 0.1em;
}
.join-code-box input:focus {
  outline: none;
  border-color: var(--accent-primary);
}
.or-divider {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 1.5rem;
  max-width: 64rem;
  width: 100%;
}
.feature {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.feature:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.feature h3 {
  font-size: 1rem;
  margin-bottom: 0.375rem;
}
.feature p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.landing-footer {
  padding: 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Auth Modal */
.auth-form h2 {
  text-align: center;
}
.auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}
.auth-switch {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

/* ===================== APP LAYOUT ===================== */
.app-layout {
  display: flex;
  height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 16rem;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.sidebar-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}
.sidebar-header .logo {
  font-size: 1.75rem;
}
.sidebar-header .logo-text {
  font-weight: 600;
  font-size: 1.125rem;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}
.nav-item:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}
.nav-item.active {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-primary);
}
.nav-item .icon {
  width: 1.25rem;
  height: 1.25rem;
}
.nav-item .badge {
  margin-left: auto;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
}
.user-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.user-info {
  flex: 1;
  min-width: 0;
}
.user-name {
  display: block;
  font-weight: 500;
  font-size: 0.9375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-status {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
}
.user-status select {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.8125rem;
  cursor: pointer;
}
.user-status select:focus {
  outline: none;
}

/* Main Content */
.main-content {
  flex: 1;
  overflow-y: auto;
  padding: 2rem;
}

.view {
  display: none;
}
.view.active {
  display: block;
}

.view-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.view-header h1 {
  font-size: 1.75rem;
  font-weight: 600;
}
.header-actions {
  display: flex;
  gap: 0.75rem;
}

/* Quick Actions Grid */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.action-card {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition);
}
.action-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}
.action-card.primary {
  background: var(--accent-gradient);
  border-color: transparent;
}
.action-card.primary:hover {
  filter: brightness(1.1);
}
.action-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
}
.action-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}
.action-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.action-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.action-card.primary p {
  color: rgba(255,255,255,0.8);
}

/* Sections */
.recent-section h2,
.contacts-section h2 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Call List */
.call-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.call-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
}
.call-item .avatar {
  width: 2.5rem;
  height: 2.5rem;
}
.call-item-info {
  flex: 1;
}
.call-item-name {
  font-weight: 500;
}
.call-item-time {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.call-item-status {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
}
.call-item-status.missed {
  background: rgba(239, 68, 68, 0.2);
  color: var(--danger);
}
.call-item-status.completed {
  background: rgba(34, 197, 94, 0.2);
  color: var(--success);
}

/* Contact List */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: border-color var(--transition);
}
.contact-item:hover {
  border-color: var(--accent-primary);
}
.contact-item .avatar {
  position: relative;
}
.contact-item .status-dot {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0.625rem;
  height: 0.625rem;
  border: 2px solid var(--bg-secondary);
}
.contact-item-info {
  flex: 1;
}
.contact-item-name {
  font-weight: 500;
}
.contact-item-username {
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.contact-item-actions {
  display: flex;
  gap: 0.5rem;
}

/* Settings */
.settings-content {
  max-width: 32rem;
}
.settings-section {
  padding: 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}
.settings-section h2 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.settings-section.danger {
  border-color: var(--danger);
}
.settings-section.danger h2 {
  color: var(--danger);
}

.avatar-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

/* Incoming Call Modal */
.incoming-call {
  text-align: center;
  animation: incomingCallPulse 1.5s ease-in-out infinite;
}
@keyframes incomingCallPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
  50% { box-shadow: 0 0 40px rgba(59, 130, 246, 0.7), 0 0 80px rgba(59, 130, 246, 0.3); }
}
.caller-info {
  margin-bottom: 2rem;
}
.caller-info .avatar {
  margin: 0 auto 1rem;
  animation: avatarRing 1s ease-in-out infinite;
}
@keyframes avatarRing {
  0%, 100% { transform: scale(1); }
  25% { transform: scale(1.08) rotate(-3deg); }
  75% { transform: scale(1.08) rotate(3deg); }
}
.caller-info h2 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}
.caller-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
}
.call-actions {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

/* Mobile Menu Button - Hidden on Desktop */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 200;
  width: 48px;
  height: 48px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
}

.mobile-menu-btn:hover {
  background: var(--bg-hover);
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

/* Sidebar Overlay - Mobile only */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 99;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  /* Show mobile menu button */
  .mobile-menu-btn {
    display: flex !important;
  }

  /* Sidebar slide-in from left */
  .sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    z-index: 100;
    transition: left 0.3s ease;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
  }

  .sidebar.open {
    left: 0;
  }

  /* Show overlay when sidebar is open */
  .sidebar-overlay.active {
    display: block !important;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .quick-actions {
    flex-direction: column;
  }

  .landing-header nav {
    gap: 0.5rem;
  }

  /* Adjust main content for menu button */
  .main-content {
    padding-top: 4rem;
  }
}

/* Room Info Box Styles */
.room-info-box {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin: 24px 0;
}

.room-code-large {
  text-align: center;
  margin-bottom: 24px;
}

.room-code-large .label {
  display: block;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.room-code-large .code-display {
  display: block;
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary-color);
  font-family: 'Courier New', monospace;
}

.share-link-box {
  display: flex;
  gap: 12px;
}

.link-input {
  flex: 1;
  padding: 12px 16px;
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: monospace;
}

.link-input:focus {
  outline: none;
  border-color: var(--primary-color);
}

/* Contact Selection Styles */
.contacts-select-list {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 8px;
  background: var(--bg-color);
}

.contact-select-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-select-item:hover {
  background: var(--hover-color);
}

.contact-select-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.contact-select-item .avatar.small {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.contact-select-item .contact-name {
  flex: 1;
  font-size: 14px;
  color: var(--text-primary);
}

.modal-large {
  max-width: 600px;
}
