/* Custom styles for 4 Seasons Lawn and Gardens */

body {
  background-color: #f8f9fa;
}

.sidebar {
  min-height: calc(100vh - 56px);
}

.card {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  border-radius: 0.5rem;
}

.card-header {
  border-top-left-radius: 0.5rem !important;
  border-top-right-radius: 0.5rem !important;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #1e7e34;
}

.bg-success {
  background-color: #28a745 !important;
}

.text-success {
  color: #28a745 !important;
}

.table th {
  background-color: #f8f9fa;
}

.nav-link.active {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745 !important;
  font-weight: bold;
}

.nav-link:hover {
  background-color: rgba(40, 167, 69, 0.05);
}

/* Project styling */
.bg-project {
  background-color: #6f42c1 !important;
}

.text-project {
  color: #6f42c1 !important;
}

.btn-project {
  background-color: #6f42c1;
  border-color: #6f42c1;
  color: white;
}

.btn-project:hover {
  background-color: #5a32a3;
  border-color: #5a32a3;
  color: white;
}

.form-control:focus,
.form-select:focus {
  border-color: #28a745;
  box-shadow: 0 0 0 0.25rem rgba(40, 167, 69, 0.25);
}

/* Calendar styles */
.calendar-day {
  height: 120px;
  border: 1px solid #dee2e6;
  padding: 5px;
}

.calendar-day:hover {
  background-color: rgba(40, 167, 69, 0.05);
}

.calendar-day.today {
  background-color: rgba(40, 167, 69, 0.1);
  font-weight: bold;
}

.calendar-day .day-number {
  font-weight: bold;
}

.appointment {
  background-color: #28a745;
  color: white;
  border-radius: 3px;
  padding: 2px 5px;
  margin-bottom: 2px;
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Dashboard stats */
.card .card-title {
  font-size: 1.1rem;
  font-weight: 500;
}

/* Login page */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  .container-fluid {
    width: 100%;
    padding: 0;
  }

  .card {
    box-shadow: none;
    border: none;
  }

  .card-header {
    background-color: #fff !important;
    color: #000 !important;
  }
}

