/* Main Styles */
body { 
  background: #f6f7fb; 
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Kanban Board */
.kanban { 
  display: flex; 
  gap: 1rem; 
  align-items: flex-start; 
  overflow-x: auto; 
  padding-bottom: 1rem;
}

.kanban-col { 
  min-width: 280px; 
  background: #f8f9fa; 
  border: 1px solid #e9ecef; 
  border-radius: 0.75rem; 
  padding: 0.75rem; 
}

.kanban-col h5 { 
  font-size: 1rem; 
  display: flex; 
  align-items: center; 
  gap: 0.5rem; 
  font-weight: 600;
}

.kanban-card { 
  background: #fff; 
  border: 1px solid #e9ecef; 
  border-radius: 0.75rem; 
  padding: 0.75rem; 
  margin-bottom: 0.5rem; 
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  transition: all 0.2s ease;
  cursor: pointer;
}
 

/* Progress Bar */
.progress-xs { 
  height: 6px; 
  border-radius: 3px;
}

.progress-bar {
  transition: width 0.3s ease;
}

/* Cards */
.card {
  border: 1px solid #e9ecef;
  border-radius: 0.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  transition: all 0.2s ease;
}
 

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid #e9ecef;
  font-weight: 600;
}

/* Badges */
.badge-status { 
  font-size: 0.8rem; 
  padding: 0.35em 0.65em;
  font-weight: 500;
}

/* Material Cards */
.material-card .card-body {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.material-card .thumb{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  max-height: 200px;
  object-fit: cover;
}

.material-card .actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.material-card .actions form{
  margin: 0;
}

.material-card .actions .btn{
  flex: 1 1 160px;
  white-space: nowrap;
}

@media (max-width:576px){
  .material-card .actions .btn{
    flex-basis: 100%;
  }
}

/* Buttons */
.btn {
  border-radius: 0.375rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.15s ease-in-out;
  border: 1px solid transparent;
}

.btn-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}

.btn i {
  margin-right: 0.25rem;
}

.btn-primary {
  background-color: #0d6efd;
  border-color: #0d6efd;
  color: #fff;
}
 

.btn-success {
  background-color: #198754;
  border-color: #198754;
  color: #fff;
}
 

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
  color: #fff;
}
 

.btn-warning {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #000;
}
 

.btn-info {
  background-color: #0dcaf0;
  border-color: #0dcaf0;
  color: #000;
}
 

.btn-outline-primary {
  color: #0d6efd;
  border-color: #0d6efd;
  background-color: transparent;
}
 

.btn-outline-secondary {
  color: #6c757d;
  border-color: #6c757d;
  background-color: transparent;
}
 

.btn-outline-danger {
  color: #dc3545;
  border-color: #dc3545;
  background-color: transparent;
}
 

.btn-outline-info {
  color: #0dcaf0;
  border-color: #0dcaf0;
  background-color: transparent;
}
 

/* Navbar */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,.1);
}

.navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
}

.nav-link {
  transition: all 0.2s ease;
}
 

.dropdown-menu {
  border: 1px solid #e9ecef;
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
  border-radius: 0.5rem;
}

.dropdown-item {
  transition: all 0.2s ease;
}
 

/* Forms */
.form-control, .form-select {
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
  border-radius: 0.5rem;
  border: none;
}

/* Tables */
.table {
  background: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
}

.table thead th {
  background-color: #f8f9fa;
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
}

/* Footer */
footer { 
  border-top: 1px solid #e9ecef; 
  margin-top: 3rem;
}

/* Stats Cards */
.stats-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
}

.stats-card.warning {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stats-card.success {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.stats-card.info {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

/* User Avatars */
.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #0d6efd;
  color: white;
  font-weight: 600;
  font-size: 0.75rem;
}

/* Task List */
.task-item {
  padding: 0.75rem;
  border-bottom: 1px solid #e9ecef;
  transition: background-color 0.2s ease;
}
 

.task-item:last-child {
  border-bottom: none;
}

.task-checkbox {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

/* Loading Spinner */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(0,0,0,.1);
  border-radius: 50%;
  border-top-color: #0d6efd;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .kanban {
    flex-direction: column;
  }
  
  .kanban-col {
    min-width: 100%;
  }
  
  .table-responsive {
    font-size: 0.875rem;
  }
}

/* Smooth Transitions */
* {
  transition: none !important;
}
 
