/* Dashboard Styles */
.dashboard-container {
  padding: 30px 0;
  background-color: #f8f9fa;
  min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
}

.dashboard-sidebar {
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 20px;
  height: 100%;
}

.user-profile-card {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.user-avatar {
  margin-bottom: 15px;
  color: #6c757d;
}

.dashboard-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-menu li {
  margin-bottom: 5px;
}

.dashboard-menu li a {
  display: block;
  padding: 10px 15px;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s;
}

.dashboard-menu li a:hover,
.dashboard-menu li.active a {
  background-color: #f0f5ff;
  color: #0d6efd;
}

.dashboard-menu li a i {
  width: 20px;
  margin-right: 10px;
  text-align: center;
}

.dashboard-content {
  background: white;
  border-radius: 5px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  padding: 25px;
}

.page-title {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.welcome-card {
  background-color: #f8f9fa;
  border: none;
}

.stat-card {
  text-align: center;
  transition: all 0.3s;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stat-card h5 {
  color: #6c757d;
  font-size: 16px;
}

.stat-card h3 {
  font-weight: 700;
  margin: 15px 0;
}

@media (max-width: 767px) {
  .dashboard-sidebar {
    margin-bottom: 30px;
  }
}

.profile-container {
  background-color: #f8f9fa;
  min-height: calc(100vh - 120px); /* Adjust based on header/footer height */
}

.custom-file-label::after {
  content: "Browse";
}

.img-thumbnail {
  padding: 0.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  max-width: 100%;
  height: auto;
}

.invalid-feedback {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  font-size: 80%;
  color: #dc3545;
}

.is-invalid {
  border-color: #dc3545;
}
.addresses-container {
  background-color: #f8f9fa;
  min-height: calc(100vh - 120px);
}

.card-title {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.border-primary {
  border: 1px solid #007bff !important;
}

.address-card {
  transition: all 0.3s ease;
}

.address-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
  .addresses-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .card-footer .btn {
    display: block;
    width: 100%;
    margin-bottom: 10px;
  }

  .card-footer .ml-2 {
    margin-left: 0 !important;
  }
}

.orders-container {
  background-color: #f8f9fa;
  min-height: calc(100vh - 120px);
}

.table-responsive {
  overflow-x: auto;
}

.table {
  width: 100%;
  margin-bottom: 1rem;
  color: #212529;
}

.table th {
  vertical-align: bottom;
  border-bottom: 2px solid #dee2e6;
  background-color: #f8f9fa;
}

.table td,
.table th {
  padding: 0.75rem;
  vertical-align: top;
  border-top: 1px solid #dee2e6;
}

.table-hover tbody tr:hover {
  background-color: rgba(0, 0, 0, 0.075);
}

.badge {
  display: inline-block;
  padding: 0.25em 0.4em;
  font-size: 75%;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25rem;
}

.badge-warning {
  color: #212529;
  background-color: #ffc107;
}

.badge-success {
  color: #fff;
  background-color: #28a745;
}

.badge-secondary {
  color: #fff;
  background-color: #6c757d;
}

.badge-info {
  color: #fff;
  background-color: #17a2b8;
}

.badge-primary {
  color: #fff;
  background-color: #007bff;
}

.badge-danger {
  color: #fff;
  background-color: #dc3545;
}

@media (max-width: 767px) {
  .orders-container {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .table {
    font-size: 0.9rem;
  }

  .btn-sm {
    padding: 0.25rem 0.5rem;
    font-size: 0.7rem;
  }
}

.only-mobile{
        display: none;
    }

@media (max-width: 991px){
    .only-mobile{
        display: block;
    }
    
}
