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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  background: #F5F7FA;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.hidden {
  display: none !important;
}

/* Welcome Landing */
.welcome-container {
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.welcome-card {
  background: white;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #1B5E20;
  margin-bottom: 20px;
}

h1 {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.tagline {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}

/* Auth Card */
.auth-container {
  max-width: 400px;
  width: 100%;
}

.auth-card {
  background: white;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

/* Tabs */
.tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 2px solid #eee;
}

.tab {
  flex: 1;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 600;
  color: #666;
  transition: color 0.2s, border-bottom 0.2s;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
}

.tab.active {
  color: #1B5E20;
  border-bottom: 2px solid #1B5E20;
}

/* Forms */
.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #333;
}

input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border 0.2s;
}

input:focus {
  outline: none;
  border-color: #4CAF50;
}

/* Buttons */
.primary-btn {
  background: #1B5E20;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s;
}

.primary-btn:hover {
  background: #145014;
}

.primary-btn.full-width {
  width: 100%;
  margin-top: 10px;
}

.primary-btn.small {
  padding: 6px 12px;
  font-size: 13px;
}

.secondary-btn {
  background: #eee;
  color: #333;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

.text-btn {
  background: none;
  border: none;
  color: #1B5E20;
  cursor: pointer;
  margin-top: 15px;
  font-weight: 600;
}

/* Message */
.message {
  margin-top: 10px;
  color: red;
  font-size: 14px;
}

/* Dashboard */
.dashboard-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  background: white;
  padding: 15px 25px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.card h3 {
  margin-bottom: 15px;
  color: #1B5E20;
  font-size: 18px;
}

/* Wallet items, group items */
.wallet-item, .group-item, .proposal-item {
  border-bottom: 1px solid #eee;
  padding: 8px 0;
}

.wallet-item:last-child, .group-item:last-child, .proposal-item:last-child {
  border-bottom: none;
}

/* Inline forms for actions */
.inline-form {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.inline-form input {
  width: auto;
  flex: 1;
  min-width: 120px;
}