/* Custom Styles */
#scheduled-time {
    display:none;
  }

button#calendar-button
 {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: .75rem;
    border: 1px solid #ced4da;
    margin: 0;
}
button#time-button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: .75rem;
    border: 1px solid #ced4da;
    margin: 0;
}

/* Color Palette based on logo */
:root {
  --brand-blue: #30C4DC; /* Light blue from hashtag icon */
  --brand-yellow: #FFCC33; /* Yellow/gold from thumbs up */
  --brand-pink: #E57B94; /* Pink/red from heart icon */
  --brand-dark: #212529; /* Dark color for text */
  --brand-light: #f8f9fa; /* Light background color */
  --brand-gray: #6c757d; /* Medium gray for secondary elements */
  --brand-light-gray: #e9ecef; /* Light gray for backgrounds */
  
  /* Bootstrap overrides */
  --bs-primary: var(--brand-blue);
  --bs-secondary: var(--brand-gray);
  --bs-success: #28a745;
  --bs-danger: var(--brand-pink);
  --bs-warning: var(--brand-yellow);
  --bs-info: #17a2b8;
  --bs-light: var(--brand-light);
  --bs-dark: var(--brand-dark);
}

/* Typography */
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #f5f7fa;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
}

/* Simplified Top Header */
.top-header {
  background-color: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 8px 16px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
  height: 50px;
  transition: all 0.3s;
}

.header-logo {
  height: 35px;
  width: auto;
}

.header-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Compact Business Selector */
.business-selector-compact {
  display: flex;
  align-items: center;
  background-color: var(--brand-light);
  padding: 4px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.business-selector-compact:hover {
  background-color: var(--brand-light-gray);
}

.business-selector-compact .business-name {
  font-weight: 600;
  color: var(--brand-dark);
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Compact Credits Display */
.credits-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: var(--brand-light);
  padding: 4px 12px;
  border-radius: 16px;
  text-decoration: none;
  color: var(--brand-dark);
  font-weight: 600;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.credits-compact:hover {
  background-color: var(--brand-yellow);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.credits-compact i {
  color: var(--brand-yellow);
  font-size: 14px;
}

.credits-compact:hover i {
  color: var(--brand-dark);
}

.credits-number {
  font-weight: 700;
}

/* Mobile header adjustments */
@media (max-width: 768px) {
  .top-header {
    padding: 6px 12px;
  }
  
  .header-logo {
    height: 30px;
  }
  
  .business-selector-compact {
    font-size: 0.85rem;
    padding: 3px 10px;
  }
  
  .business-selector-compact .business-name {
    max-width: 100px;
  }
  
  .credits-compact {
    font-size: 0.85rem;
    padding: 3px 10px;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Layout - Sidebar and Main Content */
.wrapper {
  display: flex;
  width: 100%;
  align-items: stretch;
  margin-top: 50px; /* Reduced for smaller header */
}

/* Modern Icon-First Sidebar */
#sidebar {
  width: 60px;
  background: var(--brand-dark);
  color: #fff;
  transition: all 0.3s ease;
  position: fixed;
  z-index: 1020;
  height: calc(100vh - 50px);
  top: 50px;
  left: 0;
}

#sidebar:not(.collapsed) {
  width: 220px;
}

/* Sidebar Expand Toggle */
.sidebar-expand-toggle {
  position: absolute;
  right: -20px;
  top: 20px;
  width: 35px;
  height: 35px;
  background: var(--brand-blue);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 1050;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.sidebar-expand-toggle:hover {
  background: #28b0c5;
  transform: scale(1.1);
}

#sidebar.collapsed .sidebar-expand-toggle i {
  transform: rotate(0deg);
}

#sidebar:not(.collapsed) .sidebar-expand-toggle i {
  transform: rotate(180deg);
}

/* Sticky sidebar when it reaches the top */
#sidebar.sticky {
  position: fixed;
  top: 0;
}

/* For mobile, keep sidebar fixed */
@media (max-width: 768px) {
  #sidebar {
    position: fixed;
  }
}

/* For mobile, keep sidebar fixed */
@media (max-width: 768px) {
  #sidebar.collapsed {
    margin-left: -1px!important;
  }
}

@media (max-width: 576px) {
  .header-user-info {
      display: flex !important; /* Keep visible but adjust layout */
      gap: 5px;
  }
  
  .header-user-info .credits-display {
      padding: 4px 10px;
      font-size: 0.85rem;
  }
  
  .header-user-info .credits-display span {
      display: none; /* Hide "Credits" text on very small screens */
  }
  
  .header-user-info .credits-display i {
      margin-right: 2px;
  }
}

@media (max-width: 768px) {
  .list-group-flush {
      overflow:scroll;
  }
}

#sidebar.collapsed {
  width: 60px;
}

#sidebar ul.components {
  padding: 20px 0;
  margin: 0;
  list-style: none;
}

#sidebar ul li {
  position: relative;
}

#sidebar ul li a {
  padding: 12px 20px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s;
  border-left: 3px solid transparent;
  white-space: nowrap;
}

#sidebar ul li a i {
  width: 20px;
  font-size: 18px;
  text-align: center;
  flex-shrink: 0;
}

#sidebar.collapsed ul li a {
  justify-content: center;
  padding: 12px 0;
}

#sidebar.collapsed ul li a i {
  margin: 0;
}

#sidebar:not(.collapsed) ul li a i {
  margin-right: 10px;
}

#sidebar ul li a .menu-text {
  opacity: 1;
  transition: opacity 0.3s;
}

#sidebar.collapsed ul li a .menu-text {
  opacity: 0;
  width: 0;
  overflow: hidden;
}

#sidebar ul li a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--brand-blue);
}

#sidebar ul li.active > a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--brand-blue);
}

/* Connection status dots */
.connection-status {
  font-size: 8px;
  vertical-align: middle;
}

#sidebar .sidebar-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.9em;
  margin-bottom: 60px; /* Add space at the bottom to prevent overlap with the main footer */
}

#content {
  width: calc(100% - 60px);
  padding: 30px;
  min-height: calc(100vh - 50px);
  transition: all 0.3s;
  margin-left: 60px;
  position: relative;
  overflow-x: hidden; /* Prevent horizontal scroll from button overflow */
}

#sidebar:not(.collapsed) ~ #content {
  margin-left: 220px;
  width: calc(100% - 220px);
}

/* Add more padding to container elements */
#content .container {
  padding-left: 20px;
  padding-right: 20px;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--brand-dark);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  display: none; /* Hidden by default */
  justify-content: space-around;
  align-items: center;
  height: 65px;
  z-index: 1025;
  padding: 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Show on mobile screens */
@media (max-width: 767px) {
  .mobile-bottom-nav {
    display: flex !important;
  }
}

.mobile-bottom-nav .nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 12px;
  border-radius: 12px;
  transition: all 0.2s;
  flex: 1;
  max-width: 80px;
  position: relative;
}

.mobile-bottom-nav .nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
}

.mobile-bottom-nav .nav-item.active {
  color: white;
}

.mobile-bottom-nav .nav-item.active::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: var(--brand-blue);
  border-radius: 0 0 3px 3px;
}

.mobile-bottom-nav .nav-item i {
  font-size: 22px;
  margin-bottom: 4px;
}

.mobile-bottom-nav .nav-item span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1040;
  display: flex;
  align-items: flex-end;
}

.mobile-menu {
  background: white;
  width: 100%;
  max-height: 80vh;
  border-radius: 20px 20px 0 0;
  overflow-y: auto;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--brand-light-gray);
  position: sticky;
  top: 0;
  background: white;
  z-index: 1;
}

.mobile-menu-header h5 {
  margin: 0;
  font-weight: 600;
}

.mobile-menu-content {
  padding: 10px;
}

.mobile-menu-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  text-decoration: none;
  color: var(--brand-dark);
  border-radius: 10px;
  transition: all 0.2s;
  margin-bottom: 5px;
}

.mobile-menu-item:hover {
  background-color: var(--brand-light);
  color: var(--brand-dark);
}

.mobile-menu-item i {
  width: 24px;
  margin-right: 15px;
  text-align: center;
  color: var(--brand-gray);
}

.mobile-menu-item.text-danger {
  color: var(--bs-danger);
}

.mobile-menu-item.text-danger i {
  color: var(--bs-danger);
}

.mobile-menu hr {
  margin: 10px 0;
  border-color: var(--brand-light-gray);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #content {
    margin-left: 0;
    width: 100%;
    padding: 15px;
    padding-bottom: 80px; /* Space for bottom nav */
  }
  
  .wrapper {
    margin-top: 50px;
  }
  
  /* Mobile footer should have no left margin and space for bottom nav */
  footer {
    margin-left: 0;
    margin-bottom: 60px;
  }
  
  .svg-background.bottom-left {
    display:none;
  }

  /* Ensure cards take full width on mobile */
  .card {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1rem;
  }

  /* Adjust form elements for better mobile layout */
  .form-control, .form-select {
    width: 100%;
  }

  /* Improve footer link spacing */
  footer small {
    display: block;
    margin-bottom: 0.5rem;
  }
  footer a {
    display: inline-block;
    margin: 0 0.5rem 0.5rem;
  }
   
  /* Adjust button padding */
  .btn {
    padding: 0.5rem 1rem;
  }

  /* Adjust pagination for touch */
  .pagination .page-link {
    padding: 0.6rem 0.85rem;
  }
}

/* Extra small devices */
@media (max-width: 576px) {
  .top-header {
    height: 50px;
    padding: 6px 10px;
  }
  
  .container-fluid {
    flex-direction: row;
    align-items: center;
  }
  
  .header-logo {
    height: 28px;
  }
  
  .wrapper {
    margin-top: 50px;
  }
  
  #sidebar {
    top: 50px;
    height: calc(100vh - 50px);
  }
  
  #content {
    padding: 10px;
  }
  
  .card-body {
    padding: 1rem;
  }
}

/* Card Styling */
.card {
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

.card-header {
  border-radius: 0.75rem 0.75rem 0 0;
  background-color: rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem;
}

.card-body {
  padding: 1.5rem;
}

/* Button Styling */
.btn {
  border-radius: 0.5rem;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  transition: all 0.3s;
  margin: .3rem .3rem;
}

.btn-primary {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-primary:hover {
  background-color: #28b0c5;
  border-color: #28b0c5;
}

.btn-warning {
  background-color: var(--brand-yellow);
  border-color: var(--brand-yellow);
  color: var(--brand-dark);
}

.btn-warning:hover {
  background-color: #e6b800;
  border-color: #e6b800;
  color: var(--brand-dark);
}

.btn-danger {
  background-color: var(--brand-pink);
  border-color: var(--brand-pink);
}

.btn-danger:hover {
  background-color: #d06a83;
  border-color: #d06a83;
}

.btn-outline-primary {
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn-outline-primary:hover {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}

/* Form Controls */
.form-control {
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ced4da;
  margin-bottom: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.2rem rgba(48, 196, 220, 0.25);
}

/* Event field specific styling */
#event + .input-group-append .btn {
  margin-left: 8px;
}

.input-group + small.form-text {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  display: block;
}

/* Dashed border for "Add New" cards */
.border-dashed {
  border: 2px dashed #ced4da;
  border-radius: 0.75rem;
  transition: all 0.3s;
}

.border-dashed:hover {
  border-color: var(--brand-blue);
  background-color: rgba(48, 196, 220, 0.05);
}

/* Center content in cards */
.card-body.d-flex.flex-column.align-items-center.justify-content-center {
  min-height: 180px;
}

/* Active business card styling */
.card.border-primary {
  border: 2px solid var(--brand-blue);
}

/* Badge styling */
.badge {
  padding: 0.5em 0.75em;
  font-weight: 600;
  border-radius: 0.375rem;
}

.badge-primary, .bg-primary {
  background-color: var(--brand-blue) !important;
  color: white;
}

.badge-warning, .bg-warning {
  background-color: var(--brand-yellow) !important;
  color: var(--brand-dark);
}

.badge-danger, .bg-danger {
  background-color: var(--brand-pink) !important;
  color: white;
}

/* Welcome Panel */
.welcome-panel {
  background-color: white;
  border-left: 4px solid var(--brand-blue);
  margin-bottom: 2rem;
  position: relative;
}

.welcome-panel .card-body {
  padding: 1.5rem;
}

.welcome-panel h4 {
  color: var(--brand-dark);
  margin-bottom: 1rem;
}

.quick-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stat-item svg {
  width: 24px;
  height: 24px;
  color: var(--brand-blue);
}

.next-steps {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.next-steps h5 {
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.collapse-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--brand-gray);
  font-size: 0.875rem;
  cursor: pointer;
}

/* Help Icons */
.help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: var(--brand-light-gray);
  border-radius: 50%;
  color: var(--brand-gray);
  font-size: 12px;
  cursor: pointer;
  margin-left: 0.25rem;
  transition: all 0.3s;
}

.help-icon:hover {
  background-color: var(--brand-blue);
  color: white;
}

/* Empty State */
.empty-state-container {
  padding: 3rem 1.5rem;
  text-align: center;
}

/* Pricing Page Specific Styles */
.pricing-card {
  /* Removed position: relative and overflow: hidden */
}

/* Removed .popular-badge CSS rules for corner ribbon */

.empty-state-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  color: var(--brand-gray);
}

/* Business Tabs */
.business-tabs {
  margin-bottom: 1.5rem;
}

.business-tabs .nav-link {
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem 0.5rem 0 0;
  font-weight: 600;
  color: var(--brand-gray);
}

.business-tabs .nav-link.active {
  background-color: white;
  color: var(--brand-blue);
  border-bottom: 2px solid var(--brand-blue);
}

/* SVG Background Elements */
.svg-background {
  position: absolute;
  z-index: -1;
  opacity: 0.05;
}

.svg-background.top-right {
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
}

.svg-background.bottom-left {
  bottom: 0;
  left: 60px; /* Adjusted for icon-first sidebar */
  width: 250px;
  height: 250px;
}

/* SVG Dividers */
.svg-divider {
  width: 100%;
  height: 50px;
  margin: 2rem 0;
}

/* Tooltip Styling */
.tooltip {
  font-size: 0.875rem;
}

.tooltip-inner {
  max-width: 250px;
  padding: 0.75rem;
  background-color: var(--brand-dark);
  border-radius: 0.375rem;
}

/* Table Styling */
.table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
}

.table th {
  background-color: rgba(0, 0, 0, 0.02);
  font-weight: 600;
  padding: 1rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.05);
}

.table td {
  padding: 1rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.table tr:last-child td {
  border-bottom: none;
}

.table-responsive {
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  overflow-x: auto; /* Allow horizontal scrolling for wide tables */
}

/* Connection Status Indicators */
.connection-status {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}

.connection-status.connected {
  color: #28a745;  /* Green */
}

.connection-status.disconnected {
  color: #dc3545;  /* Red */
}

/* Pagination */
.pagination {
  margin-top: 1.5rem;
}

.pagination .page-link {
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  border-radius: 0.375rem;
  border: none;
  color: var(--brand-dark);
  background-color: var(--brand-light);
  transition: all 0.3s;
}

.pagination .page-link:hover {
  background-color: var(--brand-blue);
  color: white;
}

.pagination .page-item.active .page-link {
  background-color: var(--brand-blue);
  color: white;
}

.pagination .page-item.disabled .page-link {
  color: var(--brand-gray);
  background-color: var(--brand-light);
}

/* Footer */
footer {
  background-color: var(--brand-light);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  margin-left: 60px; /* Match icon sidebar width */
  transition: all 0.3s; /* Smooth transition when sidebar collapses/expands */
}

#sidebar:not(.collapsed) ~ #content ~ footer {
  margin-left: 220px;
}

footer.expanded {
  margin-left: 0; /* No margin when sidebar is collapsed */
}

footer small {
  color: var(--brand-gray);
}

/* Business Selector Dropdown */
.business-selector-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 250px;
  padding: 0.5rem 0;
  margin: 0.125rem 0 0;
  font-size: 1rem;
  color: var(--brand-dark);
  text-align: left;
  list-style: none;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
}

.business-selector-dropdown.show {
  display: block;
}

.business-selector-dropdown .dropdown-item {
  display: block;
  width: 100%;
  padding: 0.5rem 1.5rem;
  clear: both;
  font-weight: 400;
  color: var(--brand-dark);
  text-align: inherit;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
  text-decoration: none;
  transition: all 0.2s;
}

.business-selector-dropdown .dropdown-item:hover,
.business-selector-dropdown .dropdown-item:focus {
  color: var(--brand-dark);
  text-decoration: none;
  background-color: var(--brand-light);
}

.business-selector-dropdown .dropdown-item.active {
  color: #fff;
  text-decoration: none;
  background-color: var(--brand-blue);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .container {
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .card {
    margin-bottom: 1rem;
  }
  
  .welcome-panel .quick-stats {
    flex-direction: column;
    gap: 0.75rem;
  }
}

@media (max-width: 576px) {
  .btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.75rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* Centering Hero Buttons and Generated Info */
.hero-buttons {
  display: flex;
  justify-content: center;
}

.generated-info {
  text-align: center;
}

/* Business Details Page */
.business-details-page a {
  word-break: break-all;
  overflow-wrap: break-word;
}

.business-details-page .list-group-item {
  overflow: hidden;
}

/* Fix for long URLs */
.website-link {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .website-link {
    font-size: 0.9rem;
  }
}

/* Instagram Account Selection Styling */
.instagram-account-card {
  transition: all 0.3s;
  border: 2px solid transparent;
}

.instagram-account-card:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.instagram-account-card .form-check {
  padding: 0;
}

.instagram-account-card .form-check-input {
  width: 20px;
  height: 20px;
  margin-top: 0;
  cursor: pointer;
  border: 2px solid var(--brand-gray);
}

.instagram-account-card .form-check-input:checked {
  background-color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.instagram-account-card .form-check-label {
  cursor: pointer;
  width: 100%;
  padding: 15px;
  margin: 0;
  display: block;
}

.instagram-account-card .form-check-label:hover {
  background-color: var(--brand-light);
  border-radius: 8px;
}

.instagram-account-card img {
  object-fit: cover;
  border: 2px solid var(--brand-light-gray);
}

.instagram-account-card .font-weight-bold {
  font-weight: 700;
  color: var(--brand-dark);
  font-size: 1.1rem;
}

.instagram-account-card .small.text-muted {
  font-size: 0.9rem;
  color: var(--brand-gray);
}

.instagram-account-card .business-select {
  padding: 0 15px 15px;
  background-color: var(--brand-light);
  border-radius: 0 0 8px 8px;
  margin-top: -5px;
}

.instagram-account-card .business-select label {
  font-weight: 600;
  color: var(--brand-dark);
  margin-bottom: 8px;
}

.instagram-account-card .business-select select {
  border: 2px solid var(--brand-light-gray);
  border-radius: 8px;
  padding: 10px;
  font-size: 0.95rem;
}

.instagram-account-card .business-select select:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 0.2rem rgba(48, 196, 220, 0.25);
}

/* Instagram page specific adjustments */
.instagram-accounts-page h1 {
  color: var(--brand-dark);
  margin-bottom: 10px;
}

.instagram-accounts-page p.lead {
  color: var(--brand-gray);
  margin-bottom: 30px;
}

.instagram-accounts-page .btn-group {
  gap: 10px;
}

.instagram-accounts-page .card {
  overflow: hidden;
}

/* Responsive Instagram account cards */
@media (max-width: 768px) {
  .instagram-account-card .form-check-label {
    padding: 10px;
  }
  
  .instagram-account-card img {
    width: 40px !important;
    height: 40px !important;
  }
  
  .instagram-account-card .font-weight-bold {
    font-size: 1rem;
  }
  
  .instagram-account-card .business-select {
    padding: 10px;
  }
}
