/* HWS Walmart - Main Styles */

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

:root {
  --primary-color: #0071dc;
  --primary-dark: #004c91;
  --secondary-color: #ffc220;
  --success-color: #1a9e48;
  --danger-color: #de1f3e;
  --warning-color: #f3a532;
  --info-color: #0574ac;
  --text-color: #2e2f32;
  --text-muted: #74767c;
  --background-color: #f5f5f5;
  --white: #ffffff;
  --border-color: #e5e5e5;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --radius: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 113, 220, 0.4);
}

.btn-large {
  padding: 16px 32px;
  font-size: 18px;
}

.btn-logout {
  background: transparent;
  border: 1px solid var(--danger-color);
  color: var(--danger-color);
  padding: 8px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-logout:hover {
  background: var(--danger-color);
  color: var(--white);
}

/* Header */
.app-header {
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left, .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-color);
}

.logo-icon {
  font-size: 28px;
}

.header-nav {
  display: flex;
  gap: 24px;
  margin-left: 32px;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.user-email {
  color: var(--text-muted);
  font-size: 14px;
}

/* Landing Page */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.landing-main {
  flex: 1;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero-subtitle {
  font-size: 24px;
  opacity: 0.9;
  margin-bottom: 16px;
}

.hero-description {
  font-size: 18px;
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-cta {
  margin-top: 32px;
}

.hero-cta .btn-primary {
  background: var(--white);
  color: var(--primary-color);
}

.hero-cta .btn-primary:hover {
  background: var(--secondary-color);
  color: var(--text-color);
}

/* Features */
.features-section {
  padding: 80px 0;
  background: var(--white);
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--background-color);
  padding: 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-color);
}

.feature-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* Footer */
.landing-footer {
  background: var(--text-color);
  color: var(--white);
  padding: 24px 0;
}

.footer-content {
  text-align: center;
}

.footer-copyright {
  opacity: 0.7;
  font-size: 14px;
}

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 24px;
}

.card-title {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--text-color);
}

/* Dashboard */
/* Note: dashboard-main styles are now in dashboard.css */

.page-title {
  font-size: 28px;
  margin-bottom: 24px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}

.stat-item {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}

.stat-value {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
}

/* Alerts */
.alert {
  padding: 16px 20px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.alert-info {
  background: #e7f3ff;
  border-left: 4px solid var(--info-color);
  color: var(--info-color);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-subtitle {
    font-size: 18px;
  }
  
  .header-nav {
    display: none;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
}

