html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
}

.card-img-top {
  background-color: #f8f9fa;
}

/* Custom styling for channel cards */
.card {
  transition: transform 0.2s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Video player styling */
#videoPlayer {
  background-color: #000;
}

/* Search results styling */
.search-results {
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.375rem;
}

.search-result-item {
  padding: 8px 15px;
  transition: background-color 0.2s;
}

.search-result-item:hover {
  background-color: #f8f9fa;
}

#searchResultsContainer {
  background-color: #f8f9fa;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
}

/* Clickable card styling */
.clickable-card {
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.clickable-card:hover {
  border-color: #0d6efd;
}

.clickable-card:hover::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(13, 110, 253, 0.05);
}

/* UK Channels styling */
.uk-card {
  border-left: 4px solid #e52b50; /* British Red */
  background-color: rgba(229, 43, 80, 0.03);
}

.uk-card:hover {
  border-left: 4px solid #e52b50;
  border-color: #e52b50;
  box-shadow: 0 10px 20px rgba(229, 43, 80, 0.2);
}

.uk-card:hover::after {
  background-color: rgba(229, 43, 80, 0.05);
}

/* Sport Channels styling */
.sport-card {
  border-left: 4px solid #1e8449; /* Sports green */
  background-color: rgba(30, 132, 73, 0.03);
}

.sport-card:hover {
  border-left: 4px solid #1e8449;
  border-color: #1e8449;
  box-shadow: 0 10px 20px rgba(30, 132, 73, 0.2);
}

.sport-card:hover::after {
  background-color: rgba(30, 132, 73, 0.05);
}