/* File: assets/css/style.css */
:root {
  --primary-color: #4285f4;
  --secondary-color: #34a853;
  --dark-color: #202124;
  --light-color: #f8f9fa;
  --danger-color: #ea4335;
  --warning-color: #fbbc05;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f5f5f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

.navbar-brand img {
  margin-right: 10px;
}

/* Card styling */
.card {
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card-header {
  border-radius: 10px 10px 0 0;
  font-weight: 600;
}

/* Button styling */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: #3b78e7;
  border-color: #3b78e7;
}

.btn-success {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

/* Form styling */
.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(66, 133, 244, 0.25);
}

/* Login and registration forms */
.auth-form {
  max-width: 450px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.auth-form .card-header {
  text-align: center;
  background-color: var(--primary-color);
  color: white;
  padding: 1.5rem 0;
}

.auth-form .form-control {
  padding: 0.75rem;
}

/* Dashboard widgets */
.dashboard-widget {
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dashboard-widget i {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.dashboard-widget .widget-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.dashboard-widget .widget-value {
  font-size: 1.8rem;
  font-weight: 700;
}

/* Color variants for widgets */
.widget-primary {
  background-color: var(--primary-color);
  color: white;
}

.widget-success {
  background-color: var(--secondary-color);
  color: white;
}

.widget-warning {
  background-color: var(--warning-color);
  color: white;
}

.widget-danger {
  background-color: var(--danger-color);
  color: white;
}

/* Tables */
.table-responsive {
  border-radius: 10px;
  overflow: hidden;
}

.table {
  margin-bottom: 0;
}

.table thead th {
  background-color: var(--primary-color);
  color: white;
  border: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .card-body {
    padding: 1rem;
  }
  
  .table-responsive {
    font-size: 0.9rem;
  }
  
  .dashboard-widget {
    min-height: 140px;
    padding: 1rem;
  }
  
  .dashboard-widget i {
    font-size: 2rem;
  }
  
  .dashboard-widget .widget-value {
    font-size: 1.5rem;
  }
}