/* 
* Nichelest Nigeria Limited - Admin Panel Stylesheet
* Author: Your Name
* Version: 1.0
*/

/* ===== GENERAL STYLES ===== */
:root {
  --primary-color: #0056b3;
  --secondary-color: #f8f9fa;
  --accent-color: #ffc107;
  --text-color: #333;
  --light-text: #f8f9fa;
  --dark-text: #212529;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  --sidebar-width: 250px;
  --sidebar-collapsed-width: 70px;
  --header-height: 60px;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  background-color: #f5f5f5;
  overflow-x: hidden;
}

/* ===== ADMIN LOGIN ===== */
.admin-login-body {
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.admin-login-container {
  width: 100%;
  max-width: 400px;
  padding: 20px;
}

.admin-login-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.admin-login-header {
  text-align: center;
  margin-bottom: 30px;
}

.admin-login-logo {
  height: 60px;
  margin-bottom: 20px;
}

.admin-login-form .form-group {
  margin-bottom: 20px;
}

.admin-login-form label {
  font-weight: 500;
  margin-bottom: 8px;
}

.admin-login-form .form-control {
  height: 50px;
  border-radius: 5px;
  padding: 10px 15px;
}

.admin-login-form .btn-block {
  margin-top: 20px;
  height: 50px;
  font-weight: 500;
}

.admin-login-footer {
  text-align: center;
  margin-top: 20px;
}

/* ===== ADMIN CONTAINER ===== */
.admin-container {
  display: flex;
  min-height: 100vh;
}

/* ===== SIDEBAR ===== */
.admin-sidebar {
  width: var(--sidebar-width);
  background-color: #2c3e50;
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  z-index: 1000;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.admin-sidebar.collapsed {
  width: var(--sidebar-collapsed-width);
}

.sidebar-header {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-logo {
  height: 50px;
  margin-bottom: 10px;
}

.sidebar-header h3 {
  font-size: 1.2rem;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s ease;
}

.admin-sidebar.collapsed .sidebar-header h3 {
  display: none;
}

.sidebar-menu {
  flex: 1;
  padding: 20px 0;
  overflow-y: auto;
}

.sidebar-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-menu li {
  margin-bottom: 5px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.sidebar-menu a i {
  margin-right: 15px;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.admin-sidebar.collapsed .sidebar-menu a span {
  display: none;
}

.sidebar-footer {
  padding: 15px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-footer a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-footer a:hover {
  color: #fff;
}

.sidebar-footer a i {
  margin-right: 15px;
}

.admin-sidebar.collapsed .sidebar-footer a span {
  display: none;
}

/* ===== MAIN CONTENT ===== */
.admin-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  transition: all 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-sidebar.collapsed + .admin-content {
  margin-left: var(--sidebar-collapsed-width);
}

/* ===== NAVBAR ===== */
.admin-navbar {
  height: var(--header-height);
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-left {
  display: flex;
  align-items: center;
}

.sidebar-toggle {
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 1.2rem;
  cursor: pointer;
  margin-right: 15px;
  padding: 5px;
}

.page-title {
  font-size: 1.2rem;
  font-weight: 500;
}

.navbar-right {
  display: flex;
  align-items: center;
}

.navbar-search {
  margin-right: 20px;
}

.navbar-search .input-group {
  width: 250px;
}

.navbar-notifications {
  margin-right: 20px;
  position: relative;
}

.navbar-notifications .badge {
  position: absolute;
  top: -5px;
  right: -5px;
  font-size: 0.7rem;
}

.navbar-user {
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-right: 10px;
}

.user-name {
  font-weight: 500;
}

/* ===== DASHBOARD CONTENT ===== */
.dashboard-content,
.bookings-content,
.booking-details-content,
.send-message-content,
.update-status-content {
  padding: 20px;
  flex: 1;
}

.dashboard-content h1,
.bookings-content h1,
.booking-details-content h1,
.send-message-content h1,
.update-status-content h1 {
  margin-bottom: 20px;
  font-size: 1.8rem;
}

/* ===== STATS CARDS ===== */
.stats-cards {
  margin-bottom: 30px;
}

.stats-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stats-icon {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  font-size: 1.8rem;
}

.stats-card.total .stats-icon {
  background-color: rgba(78, 115, 223, 0.1);
  color: #4e73df;
}

.stats-card.pending .stats-icon {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.stats-card.confirmed .stats-icon {
  background-color: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}

.stats-card.completed .stats-icon {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.stats-info {
  flex: 1;
}

.stats-info h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  color: #6c757d;
}

.stats-info h2 {
  font-size: 1.8rem;
  margin: 0;
  font-weight: 700;
}

/* ===== CHARTS ===== */
.charts-row {
  margin-bottom: 30px;
}

.chart-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  height: 100%;
}

.chart-card h3 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: #333;
}

/* ===== TABLES ===== */
.table-responsive {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.table {
  margin-bottom: 0;
}

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

.table td {
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* ===== STATUS BADGES ===== */
.status-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge.status-pending {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.status-badge.status-confirmed {
  background-color: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}

.status-badge.status-in-progress {
  background-color: rgba(78, 115, 223, 0.1);
  color: #4e73df;
}

.status-badge.status-completed {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.status-badge.status-cancelled {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* ===== CARDS ===== */
.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 20px;
  border-top-left-radius: 10px !important;
  border-top-right-radius: 10px !important;
}

.card-body {
  padding: 20px;
}

.card-footer {
  background-color: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 20px;
  border-bottom-left-radius: 10px !important;
  border-bottom-right-radius: 10px !important;
}

/* ===== FORMS ===== */
.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: #495057;
}

.form-control {
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 10px 15px;
  font-size: 0.9rem;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.form-select {
  border-radius: 5px;
  border: 1px solid #ced4da;
  padding: 10px 15px;
  font-size: 0.9rem;
  height: auto;
}

.form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(0, 86, 179, 0.25);
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-text {
  font-size: 0.8rem;
  color: #6c757d;
}

/* ===== BUTTONS ===== */
.btn {
  border-radius: 5px;
  padding: 8px 15px;
  font-weight: 500;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

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

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

.btn-secondary:hover {
  background-color: #5a6268;
  border-color: #5a6268;
}

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

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

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

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
}

.btn-info {
  background-color: #17a2b8;
  border-color: #17a2b8;
  color: #fff;
}

.btn-info:hover {
  background-color: #138496;
  border-color: #138496;
  color: #fff;
}

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

.btn-warning:hover {
  background-color: #e0a800;
  border-color: #e0a800;
  color: #212529;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 10px 20px;
  font-size: 1rem;
}

.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  padding: 0;
  border-radius: 5px;
}

.btn-icon-sm {
  width: 30px;
  height: 30px;
  font-size: 0.8rem;
}

.btn-icon-lg {
  width: 45px;
  height: 45px;
  font-size: 1.2rem;
}

/* ===== FILTER OPTIONS ===== */
.filter-options {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

/* ===== BOOKING DETAILS ===== */
.booking-details-content .card {
  overflow: hidden;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}

.detail-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.detail-item .label {
  font-weight: 600;
  color: #495057;
}

.detail-item .value {
  text-align: right;
  color: #333;
}

/* ===== MESSAGE HISTORY ===== */
.message-history {
  max-height: 400px;
  overflow-y: auto;
}

.message-item {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  margin-bottom: 15px;
}

.message-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 0.85rem;
  color: #6c757d;
}

.message-type {
  font-weight: 600;
}

.message-type i {
  margin-right: 5px;
}

.message-content {
  color: #333;
}

/* ===== PAGINATION ===== */
.pagination {
  margin-bottom: 0;
}

.page-item.active .page-link {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.page-link {
  color: var(--primary-color);
}

.page-link:hover {
  color: #004494;
}

/* ===== DROPDOWN MENU ===== */
.dropdown-menu {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

.dropdown-item {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.dropdown-item:hover {
  background-color: rgba(0, 86, 179, 0.05);
}

.dropdown-item i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
}

.dropdown-divider {
  margin: 5px 0;
}

.dropdown-header {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6c757d;
}

/* ===== NOTIFICATIONS ===== */
.notification-item {
  padding: 10px 15px;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.3s ease;
}

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

.notification-item:hover {
  background-color: rgba(0, 86, 179, 0.05);
}

.notification-item.unread {
  background-color: rgba(0, 86, 179, 0.05);
}

.notification-item.unread:before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary-color);
  margin-right: 10px;
}

/* ===== PRINT STYLES ===== */
@media print {
  .admin-sidebar,
  .admin-navbar,
  .btn-print,
  .btn-export,
  .filter-options {
    display: none !important;
  }

  .admin-content {
    margin-left: 0 !important;
  }

  .card {
    box-shadow: none !important;
    border: 1px solid #dee2e6 !important;
  }

  .table-responsive {
    box-shadow: none !important;
    overflow: visible !important;
  }

  .table {
    border: 1px solid #dee2e6 !important;
  }
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
  .admin-sidebar {
    transform: translateX(-100%);
    position: fixed;
    z-index: 1050;
  }

  .admin-sidebar.show {
    transform: translateX(0);
  }

  .admin-content {
    margin-left: 0 !important;
  }

  .navbar-search .input-group {
    width: 200px;
  }
}

@media (max-width: 767px) {
  .navbar-search {
    display: none;
  }

  .user-name {
    display: none;
  }

  .stats-card {
    margin-bottom: 15px;
  }

  .stats-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .stats-info h2 {
    font-size: 1.5rem;
  }

  .filter-options .row > div {
    margin-bottom: 10px;
  }

  .btn-group .btn {
    padding: 5px 8px;
  }

  .btn-group .btn i {
    margin-right: 0;
  }

  .btn-group .btn span {
    display: none;
  }
}

@media (max-width: 575px) {
  .admin-navbar {
    padding: 0 15px;
  }

  .page-title {
    font-size: 1rem;
  }

  .dashboard-content,
  .bookings-content,
  .booking-details-content,
  .send-message-content,
  .update-status-content {
    padding: 15px;
  }

  .dashboard-content h1,
  .bookings-content h1,
  .booking-details-content h1,
  .send-message-content h1,
  .update-status-content h1 {
    font-size: 1.5rem;
  }

  .card-header,
  .card-body,
  .card-footer {
    padding: 15px;
  }

  .detail-item {
    flex-direction: column;
  }

  .detail-item .value {
    text-align: left;
    margin-top: 5px;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.animated {
  animation-duration: 0.5s;
  animation-fill-mode: both;
}

.fadeIn {
  animation-name: fadeIn;
}

.faster {
  animation-duration: 0.3s;
}

/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* ===== MODAL STYLES ===== */
.modal-content {
  border: none;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 20px;
}

.modal-body {
  padding: 20px;
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding: 15px 20px;
}

.modal-title {
  font-weight: 600;
}

/* ===== LIST GROUP ===== */
.list-group {
  border-radius: 10px;
  overflow: hidden;
}

.list-group-item {
  border: 1px solid rgba(0, 0, 0, 0.05);
  padding: 12px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.list-group-item:hover {
  background-color: rgba(0, 86, 179, 0.05);
}

.list-group-item.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ===== ALERT STYLES ===== */
.alert {
  border: none;
  border-radius: 10px;
  padding: 15px 20px;
  margin-bottom: 20px;
}

.alert-success {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

.alert-warning {
  background-color: rgba(255, 193, 7, 0.1);
  color: #ffc107;
}

.alert-info {
  background-color: rgba(23, 162, 184, 0.1);
  color: #17a2b8;
}

/* ===== CUSTOM CHECKBOXES ===== */
.custom-checkbox .form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 0.25rem;
}

.custom-checkbox .form-check-label {
  padding-left: 10px;
}

/* ===== LOADING SPINNER ===== */
.spinner-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.25rem;
  color: var(--primary-color);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 50px 20px;
}

.empty-state-icon {
  font-size: 4rem;
  color: #d1d1d1;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #495057;
}

.empty-state p {
  color: #6c757d;
  max-width: 500px;
  margin: 0 auto 20px;
}

/* ===== TOGGLE SWITCH ===== */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary-color);
}

input:focus + .toggle-slider {
  box-shadow: 0 0 1px var(--primary-color);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* ===== TOOLTIP CUSTOM STYLES ===== */
.tooltip {
  font-size: 0.8rem;
}

.tooltip-inner {
  padding: 5px 10px;
  border-radius: 5px;
}

/* ===== BADGE STYLES ===== */
.badge {
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 20px;
}

/* ===== PROGRESS BAR ===== */
.progress {
  height: 8px;
  border-radius: 4px;
  background-color: rgba(0, 0, 0, 0.05);
  margin-bottom: 10px;
}

.progress-bar {
  background-color: var(--primary-color);
}

/* ===== DATEPICKER CUSTOM STYLES ===== */
.datepicker {
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.datepicker table tr td.active,
.datepicker table tr td.active:hover,
.datepicker table tr td.active.disabled,
.datepicker table tr td.active.disabled:hover {
  background-color: var(--primary-color) !important;
  background-image: none !important;
}

/* ===== SELECT2 CUSTOM STYLES ===== */
.select2-container--default .select2-selection--single {
  height: 38px;
  border: 1px solid #ced4da;
  border-radius: 5px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 38px;
  padding-left: 15px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary-color);
}

.select2-dropdown {
  border: none;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.select2-search--dropdown .select2-search__field {
  padding: 8px;
  border-radius: 5px;
}

/* ===== TIMEPICKER CUSTOM STYLES ===== */
.bootstrap-timepicker-widget table td a {
  padding: 5px 0;
}

.bootstrap-timepicker-widget.dropdown-menu {
  padding: 10px;
}

/* ===== FILE UPLOAD ===== */
.custom-file-upload {
  border: 2px dashed #ced4da;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-file-upload:hover {
  border-color: var(--primary-color);
}

.custom-file-upload i {
  font-size: 2rem;
  color: #6c757d;
  margin-bottom: 10px;
}

.custom-file-upload p {
  margin-bottom: 0;
  color: #6c757d;
}

.custom-file-upload input[type="file"] {
  display: none;
}

.file-preview {
  margin-top: 20px;
}

.file-preview img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* ===== CALENDAR STYLES ===== */
.fc-header-toolbar {
  margin-bottom: 1.5rem !important;
}

.fc-toolbar-title {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
}

.fc-button-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.fc-button-primary:hover {
  background-color: #004494 !important;
  border-color: #004494 !important;
}

.fc-event {
  border-radius: 5px !important;
  padding: 3px 5px !important;
  font-size: 0.8rem !important;
}

.fc-day-today {
  background-color: rgba(0, 86, 179, 0.05) !important;
}

/* ===== DASHBOARD WIDGETS ===== */
.widget {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  height: 100%;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.widget-title {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 600;
}

.widget-body {
  flex: 1;
}

.widget-footer {
  margin-top: 20px;
  text-align: center;
}

/* ===== ACTIVITY TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline:before {
  content: "";
  position: absolute;
  top: 0;
  left: 8px;
  height: 100%;
  width: 2px;
  background-color: #e9ecef;
}

.timeline-item {
  position: relative;
  padding-bottom: 20px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: -22px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: #fff;
  border: 2px solid var(--primary-color);
}

.timeline-content {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
}

.timeline-date {
  font-size: 0.8rem;
  color: #6c757d;
  margin-bottom: 5px;
}

.timeline-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.timeline-text {
  color: #495057;
  margin-bottom: 0;
}

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

.quick-action {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.quick-action:hover {
  background-color: rgba(0, 86, 179, 0.05);
  transform: translateY(-5px);
}

.quick-action i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.quick-action span {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ===== RECENT ACTIVITY ===== */
.recent-activity {
  max-height: 400px;
  overflow-y: auto;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid #f0f0f0;
}

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

.activity-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(0, 86, 179, 0.1);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
}

.activity-title {
  font-weight: 600;
  margin-bottom: 5px;
}

.activity-time {
  font-size: 0.8rem;
  color: #6c757d;
}

/* ===== CUSTOMER INFO ===== */
.customer-info {
  display: flex;
  align-items: center;
}

.customer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
  object-fit: cover;
}

.customer-details {
  flex: 1;
}

.customer-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.customer-email,
.customer-phone {
  font-size: 0.9rem;
  color: #6c757d;
  display: block;
}

/* ===== BOOKING SUMMARY ===== */
.booking-summary {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

.summary-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.summary-label {
  font-weight: 500;
}

.summary-value {
  font-weight: 600;
}

.summary-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* ===== MESSAGE COMPOSER ===== */
.message-composer {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 20px;
  margin-bottom: 30px;
}

.message-preview {
  background-color: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
  border: 1px solid #e9ecef;
}

.message-preview-header {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e9ecef;
}

.message-preview-content {
  white-space: pre-line;
}

/* ===== TEMPLATE SELECTOR ===== */
.template-selector {
  margin-bottom: 20px;
}

.template-selector .list-group-item {
  cursor: pointer;
}

.template-selector .list-group-item:hover {
  background-color: rgba(0, 86, 179, 0.05);
}

.template-selector .list-group-item.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* ===== NOTIFICATION BADGE ===== */
.notification-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background-color: var(--danger-color);
  color: #fff;
  border-radius: 50%;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== HELP TOOLTIP ===== */
.help-tooltip {
  color: #6c757d;
  font-size: 0.9rem;
  margin-left: 5px;
  cursor: pointer;
}

/* ===== COLOR PICKER ===== */
.color-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-option {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.color-option.active {
  border-color: #333;
  transform: scale(1.1);
}

/* ===== SETTINGS PAGE ===== */
.settings-section {
  margin-bottom: 30px;
}

.settings-section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}

/* ===== RESPONSIVE UTILITIES ===== */
.d-sm-none {
  display: none !important;
}

@media (min-width: 576px) {
  .d-sm-block {
    display: block !important;
  }

  .d-sm-none {
    display: none !important;
  }
}

/* ===== PRINT SPECIFIC STYLES ===== */
@media print {
  body {
    background-color: #fff !important;
  }

  .no-print {
    display: none !important;
  }

  .print-only {
    display: block !important;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ===== END OF STYLESHEET ===== */
