/* General styling */
body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
}

.school-logo {
  padding: 0 0.5rem;

}

/* Custom text colors */
.text-primary {
  color: #e2851b !important;
}

.text-success {
  color: #1cc88a !important;
}

.text-info {
  color: #36b9cc !important;
}

.text-warning {
  color: #f6c23e !important;
}

.text-danger {
  color: #e74a3b !important;
}

/* Custom background colors */
.bg-primary {
  background-color: #e98426 !important;
}

.bg-success {
  background-color: #1cc88a !important;
}

.bg-info {
  background-color: #36b9cc !important;
}

.bg-warning {
  background-color: #f6c23e !important;
}

.bg-danger {
  background-color: #e74a3b !important;
}

/* Sidebar styling */
.sidebar {
  transition: width 0.3s ease-in-out;
}

.sidebar .nav-link {
  border-radius: 5px;
  margin-bottom: 5px;
  padding: 0.75rem 1rem;
  transition: all 0.2s;
}

.sidebar .nav-link:hover {
  background-color: #f8f9fa;
  transform: translateX(5px);
}

.sidebar .nav-link.active {
  background-color: #e8f0fe;
}

/* Cards styling */
.card {
  border: none;
  border-radius: 8px;
  box-shadow: 0 0.15rem 1.75rem rgba(33, 40, 50, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  box-shadow: 0 0.25rem 2rem rgba(33, 40, 50, 0.15);
}

/* Card with left colored border */
.border-left-primary {
  border-left: 0.25rem solid #df7817 !important;
}

.border-left-success {
  border-left: 0.25rem solid #1cc88a !important;
}

.border-left-info {
  border-left: 0.25rem solid #36b9cc !important;
}

.border-left-warning {
  border-left: 0.25rem solid #f6c23e !important;
}

.border-left-danger {
  border-left: 0.25rem solid #e74a3b !important;
}

/* Dashboard circles */
.dashboard {
  display: flex;
  justify-content: space-around;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.circle {
  width: 120px;
  height: 120px;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0.15rem 1.75rem rgba(33, 40, 50, 0.1);
  font-weight: 500;
  line-height: 1.2;
  transition: transform 0.2s;
}

.circle:hover {
  transform: scale(1.05);
}

/* Course cards */
.course-card {
  transition: transform 0.2s;
}

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

/* Progress bars */
.progress {
  height: 10px;
  border-radius: 5px;
}

.progress-bar {
  background-color: #e2851b;
}

/* Buttons */
.btn {
  border-radius: 5px;
  padding: 0.375rem 1rem;
}

.btn-primary {
  background-color: #e97414;
  border-color: #ffffff;
}

.btn-primary:hover {
  background-color: #e97414;
  border-color: #ffffff;
}

.btn-success {
  background-color: #1cc88a;
  border-color: #1cc88a;
}

.btn-success:hover {
  background-color: #17a673;
  border-color: #17a673;
}

/* Tables */
.table {
  vertical-align: middle;
}

/* Forms */
.form-control:focus {
  border-color: #4e73df;
  box-shadow: 0 0 0 0.25rem rgba(78, 115, 223, 0.25);
}

/* Calendar styles */
#calendar {
  min-height: 350px;
  height: auto;
}
.fc .fc-scrollgrid-liquid {
  height: 100%;
}

.fc-view-harness {
  min-height: 350px;
}

/* Responsive adjustments for mobile */
@media (max-width: 767.98px) {
  .sidebar {
    position: static !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .sidebar + div {
    margin-left: 0 !important;
  }
  
  .dashboard {
    flex-wrap: wrap;
  }
  
  .circle {
    margin-bottom: 1rem;
  }
}
  .flex-grow-1 {
    padding-left: 0 !important;
  }

@media (min-width:992px) {
  .flex-grow-1 {
    padding-left: 16.5rem !important;
  }
  footer {
    padding-left: 16.5rem !important;
  }
}

/* Animation for cards */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  animation: fadeIn 0.5s ease-out;
}