body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #f8fafc;
  color: #1e293b;
}

/* Login */
.login-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.login-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 320px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.login-card input {
  width: 100%;
  padding: 10px;
  margin: 1rem 0;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* Layout */
.app {
  display: none;
}

/* Sidebar */
.sidebar {
  width: 240px;
  height: 100vh;
  background: #0f172a;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.logo {
  font-weight: 600;
}

.user-email {
  font-size: 0.8rem;
  color: #94a3b8;
}

/* Main */
.main {
  flex: 1;
  padding: 2rem;
}

/* Topbar */
.topbar {
  margin-bottom: 1.5rem;
}

/* Cards */
.card {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.04);
}

/* Stats */
.stats {
  display: flex;
  gap: 1rem;
}

.stat-card {
  flex: 1;
}

.stat-card p {
  color: #64748b;
  margin: 0;
}

.stat-card h2 {
  margin: 0.5rem 0 0;
}

/* Inputs */
input {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

/* Buttons */
button {
  padding: 10px;
  border-radius: 8px;
  border: none;
  background: #2E8B57;
  color: white;
  cursor: pointer;
  transition: 0.2s ease;
}

button:hover {
  opacity: 0.9;
}

/* Result */
.result {
  font-weight: 600;
  margin-top: 1rem;
}

/* Success */
.success-message {
  margin-top: 0.5rem;
  color: #16a34a;
  display: none;
}

/* Deals */
.deal-card {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.deal-actions button {
  margin-right: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
}

.delete-btn {
  background: #ef4444;
}

.edit-btn {
  background: #3b82f6;
}