/* Zanqir Premium Creamy White Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Creamy White Palette */
  --bg-primary: #FCFCF9;     /* Cream background */
  --bg-secondary: #FFFFFF;   /* Pure white for cards */
  --bg-hover: #F6F6F2;       /* Slight off-cream for hover */
  
  /* Text Colors */
  --text-main: #1A1A1A;      /* Pure almost black */
  --text-muted: #6B6B6B;     /* Elegant grey */
  
  /* Accents */
  --accent-gold: #D4AF37;    /* Premium gold */
  --accent-dark: #2C2C2C;    /* Very dark grey for primary buttons */
  
  /* Borders & Shadows */
  --border-light: #EFEFEA;
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 15px 50px rgba(0, 0, 0, 0.06);
  
  /* Utilities */
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 { font-size: 3rem; line-height: 1.2; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.75rem; }

p {
  color: var(--text-muted);
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Enhanced Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--text-main);
  text-decoration: none;
}

.logo span {
  color: var(--accent-gold);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-dark);
  color: #fff;
}

.btn-primary:hover {
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  background-color: var(--bg-hover);
  border-color: var(--text-muted);
}

/* Cards */
.card {
  background-color: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

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

.form-label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background-color: var(--bg-hover);
  color: var(--text-main);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-dark);
  background-color: var(--bg-secondary);
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

/* Dashboard specifics */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  width: 280px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-light);
  padding: 32px 24px;
}
.main-content {
  flex: 1;
  padding: 48px;
}

/* Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Buttery Smooth Animations */
@keyframes smoothFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

body {
  animation: smoothFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive & Mobile First Adjustments */
@media screen and (max-width: 860px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .roles-grid, .grid-3 {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .dashboard-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid var(--border-light);
    padding: 24px;
    z-index: 10;
  }
  .sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 16px;
  }
  .main-content {
    padding: 24px 16px;
  }
  .auth-card {
    padding: 32px 24px;
  }
}
