@import url('https://fonts.googleapis.com/css2?family=ABeeZee:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/*
 * Global base styles used across all pages of the Dulo platform.  These
 * definitions establish the ABeeZee typeface, set up a colourful
 * background and provide reusable classes for cards, buttons and
 * navigation tabs.  The palette draws inspiration from the Dulo brand
 * colours in the proposal and pitch deck (blue and purple gradients).
 */

html, body {
  margin: 0;
  padding: 0;
  font-family: 'ABeeZee', sans-serif;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100%;
  color: #1f2937;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 20px 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 32px;
  font-weight: bold;
  color: #4f46e5;
}

.tagline {
  color: #6b7280;
  font-size: 16px;
}

.nav-tabs {
  display: flex;
  gap: 10px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.tab {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.tab:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.tab.active {
  background: #4f46e5;
  color: white;
  transform: translateY(-2px);
}

.card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  margin-bottom: 25px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-2px);
}

.property-card {
  border: 2px solid #e5e7eb;
  border-radius: 15px;
  padding: 20px;
  margin: 15px 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  border-color: #4f46e5;
  box-shadow: 0 5px 20px rgba(79, 70, 229, 0.1);
}

.btn {
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 5px;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

.btn-secondary {
  background: linear-gradient(135deg, #6b7280, #4b5563);
}

.btn-success {
  background: linear-gradient(135deg, #059669, #047857);
}

.btn-danger {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.status-available { background: #d1fae5; color: #065f46; }
.status-pending   { background: #fef3c7; color: #92400e; }
.status-occupied  { background: #dbeafe; color: #1e40af; }
.status-approved  { background: #d1fae5; color: #065f46; }
.status-rejected  { background: #fecaca; color: #dc2626; }

/* Utility grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-tabs { justify-content: center; }
  header { flex-direction: column; gap: 15px; }
}