body {
  font-family: 'Inter', sans-serif;
  background-color: #f9fafb;
  margin: 0;
  padding: 0;
}

.app-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.screen.hidden {
  display: none !important;
}

.screen.hidden .phone-frame {
  display: none !important;
}

.phone-frame {
  max-width: 375px;
  width: 100%;
  height: 667px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.desktop-frame {
  width: 100%;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.card {
  background: #fff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.input-group {
  position: relative;
  margin-bottom: 1rem;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  color: #6b7280;
}

.input-field {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 1rem;
  color: #1f2937;
  background-color: #f9fafb;
  transition: border-color 0.2s ease-in-out;
}

.input-field:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
}

.btn-outline {
  border: 1px solid #d1d5db;
  background-color: #fff;
  color: #374151;
}

.btn-outline:hover {
  background-color: #f3f4f6;
}

.btn-outline.active {
  background-color: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.btn-primary {
  background-color: #3b82f6;
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background-color: #2563eb;
}

.btn-secondary {
  background-color: #10b981;
  color: #fff;
  border: none;
}

.btn-secondary:hover {
  background-color: #059669;
}

.toggle-container {
  width: 2.5rem;
  height: 1.25rem;
  background-color: #d1d5db;
  border-radius: 9999px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.toggle-handle {
  width: 1rem;
  height: 1rem;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 0.125rem;
  left: 0.125rem;
  transition: transform 0.2s ease-in-out;
}

.toggle-container.active {
  background-color: #3b82f6;
}

.toggle-container.active .toggle-handle {
  transform: translateX(1.25rem);
}

.user-list {
  margin-bottom: 1rem;
}

.user-list-item {
  display: flex;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e5e7eb;
}

.user-list-item:last-child {
  border-bottom: none;
}

.user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  margin-right: 1rem;
}

.user-avatar.active {
  background-color: #3b82f6;
  color: #fff;
}

.party-amount-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.party-amount-input {
  width: 5rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  text-align: right;
  font-size: 0.875rem;
  color: #1f2937;
}

.party-amount-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.party-percentage-input {
  width: 4rem;
  padding: 0.25rem 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  text-align: right;
  font-size: 0.875rem;
  color: #1f2937;
}

.party-percentage-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.party-currency-display {
  font-size: 0.875rem;
  color: #1f2937;
  font-weight: 500;
}

.slide-in {
  animation: slideIn 0.3s ease-out forwards;
}

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

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}

.scrollable-content {
  flex: 1 1 auto;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.footer-buttons {
  flex: 0 0 auto;
  padding-top: 1rem;
}

.mobile-party-amount-input {
  border: 1px solid #e2e8f0;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  width: 5rem;
  text-align: right;
  font-weight: 500;
}

/* Add these styles to your existing styles.css */
.dark-mode {
  background-color: #1f2937;
  color: #f9fafb;
}

.dark-mode .app-header {
  background-color: #111827;
}

.dark-mode .phone-frame,
.dark-mode .desktop-frame,
.dark-mode .card {
  background-color: #374151;
  color: #f9fafb;
}

.dark-mode .input-field {
  background-color: #4b5563;
  color: #f9fafb;
  border-color: #6b7280;
}

.dark-mode .btn-outline {
  background-color: #374151;
  color: #f9fafb;
  border-color: #6b7280;
}

.dark-mode .btn-outline:hover {
  background-color: #4b5563;
}

.dark-mode .btn-outline.active {
  background-color: #3b82f6;
  color: #fff;
  border-color: #3b82f6;
}

.dark-mode .text-gray-800 {
  color: #f9fafb;
}

.dark-mode .text-gray-600 {
  color: #d1d5db;
}

.dark-mode .border-gray-200 {
  border-color: #4b5563;
}

.dark-mode .user-avatar {
  background-color: #6b7280;
  color: #f9fafb;
}

.dark-mode .user-avatar.active {
  background-color: #3b82f6;
}