.cb-card{
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  padding: 0;
  width: 100%;
  height: 240px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 14px;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.cb-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: #d1d5db;
}

.cb-header{
  background: #1a49b9;
  color: #ffffff;
  padding: 16px 20px 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  position: relative;
  border-bottom: 1px solid #2563eb;
}

.cb-header span:first-child {
  flex: 1;
  font-size: 11px;
  opacity: 0.9;
}

.cb-format-tag {
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: #ffffff;
  margin-left: 8px;
}

.cb-format-tag.test {
  background: #2563eb;
}

.cb-format-tag.odi {
  background: #ea580c;
}

.cb-format-tag.ipl {
  background: #ec4899;
}

.cb-format-tag.t20 {
  background: #16a34a;
}

.cb-body{
  flex: 1;
  margin: 0;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #1a49b9;
}

.cb-teams-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.cb-team{
  display: flex;
  align-items: center;
  margin: 4px 0;
  padding: 4px 0;
}

.cb-flag{
  width: 24px;
  height: 18px;
  margin-right: 12px;
  border-radius: 3px;
  object-fit: cover;
  border: 1px solid #e5e7eb;
}

.cb-team span:first-of-type {
  flex: 1;
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  margin-left: 4px;
}

.cb-team span:last-child {
  font-weight: 600;
  color: #fff;
  font-size: 14px;
  text-align: right;
  min-width: 60px;
}

.team-name{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cb-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #14a0ff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  margin: 0 16px;
}

.cb-status{
  font-size: 12px;
  font-weight: 500;
  color: #dc2626;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: left;
  padding: 15px 12px;
  background: #fff;
  border-radius: 0 0 12px 12px;
  border: 1px solid #fff;
  border-top: none;
  margin-top: auto;
}

.cb-status.live {
  color: #dc2626;
  background: #fff;
  border-color: #fff;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

.cbv7-swiper .swiper-button-prev,.cbv7-swiper .swiper-button-next{
  color: #374151;
  top: 35%;
  /* background: #ffffff; */
  /* border: 1px solid #e5e7eb; */
}

.cbv7-swiper .swiper-button-next, .cbv7-swiper .swiper-button-prev{
  /* background: #ffffff; */
  height: 40px;
  width: 40px;
  /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
  border-radius: 8px;
  /* border: 1px solid #e5e7eb; */
}
.cbv7-swiper .swiper-button-next::after{
  left: 10px;
}
.cbv7-swiper .swiper-button-prev::after{
  right: 10px;
}

.cbv7-swiper .swiper-button-next::after, .cbv7-swiper .swiper-button-prev::after {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  position: relative;
}

/* Section Headings - keeping these for the new functionality */
.section-heading {
  font-size: 20px;
  font-weight: 700;
  padding: 24px 0 8px 0;
  text-align: left;
  margin: 0;
  border-bottom: 2px solid;
  margin-bottom: 16px;
}

.section-heading.live {
  color: #dc2626;
  border-bottom-color: #dc2626;
}

.section-heading.upcoming {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.section-heading.recent {
  color: #059669;
  border-bottom-color: #059669;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .cb-card {
    height: 270px;
  }
  
  .cb-header {
    padding: 20px 16px 15px 16px;
  }
  
  .cb-body {
    padding: 12px 16px;
  }
  
  .cb-team span:first-of-type {
    font-size: 13px;
  }
  
  .cb-team span:last-child {
    font-size: 13px;
    min-width: 50px;
  }
  
  .cb-flag {
    width: 20px;
    height: 15px;
  }
  
  .cb-vs {
    width: 28px;
    height: 28px;
    font-size: 9px;
    margin: 0 12px;
  }
  
  .section-heading {
    font-size: 18px;
    padding: 20px 0 6px 0;
  }
}