/* Ahora puedes usar la fuente en tu CSS */
body {
    font-family: 'Inter', sans-serif;
}

body{
    font-family: 'Inter', sans-serif;
}

.channel-country-flag img{
    height: auto;
}

input,
select,
.filter-btn{
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 6px !important;
    background-color: #fff;
}

.advanced-search-form-container input[type="text"]{
    height: 33px;
    color: #334155;
    padding-left: 10px !important;
}

.advanced-search-form-container input[type="text"]::placeholder{
    color: #334155;
}

.filter-btn{
    padding: 8px !important;
}

.search-input{
    padding-left: 30px !important;
}

.btn{
    background-color: #1751D0;
    color: #fff;
    font-weight: 600;
    padding: 7px 14px;
    border-radius: 8px;
}

.search-btn,
.get-pro,
.bg-gradient-ht{
    background: linear-gradient(180deg, #ff0033 0.77%, #ff0000a1 182.09%);
}

.channels-table tbody tr:last-child td{
    border: none;
}

.home-h1{
    background: linear-gradient(180deg, #000000 0.77%, rgb(0 0 0 / 31%) 182.09%);
}

.home-h1 span{
    background-image: linear-gradient(180deg, #ff0033 0.77%, #ff0000a1 182.09%);
}

.advanced-search-form-container{
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
}

.advanced-search-form input[type="number"]{
    width: 100%;
    max-width: 124px;

}

.advanced-search-form-container.show{
    max-height: 15000px;
    transition: max-height 0.8s ease-in-out;
}

.advanced-search-form{
    border: 1px solid #cbd5e1;
}

.channel-modal-container{

  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;

}

.channel-modal-container .modal{

    transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;

}

.channel-modal-container.show{
    opacity: 1;
    visibility: visible;
  }
  
.channel-modal-container.show .modal{
    transform: scale(1);
    opacity: 1;
}

.channel-view .h-28{
    height: 180px;
}

.channel-view .header-container{
    display: flex;
    align-items: center;
    position: relative;
    top: -15px;
    margin-bottom: -32px;
}

.channel-view .header-container > .flex{
    flex-direction: row;
    top: 5px;
}

.channel-view .header-container > .flex > .relative{
    top: -26px;
}

.channel-view .header-container > div:nth-child(2){
    padding-top: 20px;
    margin-left: -20px;
}

.channel-view .header-container .relative > img:first-child{
    max-width: 140px;
    width: 140px;
    height: 140px;
}

.channel-view .header-container .check-email{
    position: absolute;
    top: -65px;
    left: 20px;
    transform: scale(1.16);
    border: 2px solid;
}

.pagination{
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination .page-link{
    background: #fff;
    padding: 5px 8px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
}

.max-w-64{
    max-width: 16rem;
}

.check-email{
    display: none;
}

.swiper {
    width: 100%;
    padding: 20px 0;
}

.swiper-button-next,
.swiper-button-prev {
    color: #333;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
}

.video-card,
.short-card {
    height: 100%;
    transition: transform 0.3s ease;
}


.swiper-slide {
    height: auto;
}

.video-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    padding-top: 20px;
    padding-bottom: 20px;
}

.video-carousel.grabbing {
    cursor: grabbing;
}

.video-track {
    display: flex;
    width: fit-content;
    overflow-x: hidden;
    position: relative;
}

.video-track {
    display: flex;
    gap: 1rem;
    scroll-behavior: smooth;
}


.video-track-inner {
    display: flex;
}

.video-track-inner.scroll {
    animation: scroll 60s linear infinite;
}

.carousel-arrow {
    transition: all 0.3s ease;
}

.carousel-arrow:hover {
    transform: translateY(-50%) scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.video-track:hover {
    animation-play-state: paused;
}

.video-card {
    flex: 0 0 250px;
    padding: 0 5px;
    transition: transform 0.3s ease;
}

.short-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 250px;
    flex: 0 0 250px;
    overflow: hidden;
    margin: 0 5px;
}

.short-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    flex: 1;
}

.short-card > div {
    padding: 10px;
    background-color: white;
}

.short-card h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    height: 56px;
}

.short-card .flex {
    gap: 0.5rem;
}


.video-explorer main{
    overflow: hidden;
}

.hide-scrollbar {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none;  /* Chrome, Safari and Opera */
}

.advanced-search-form .selected-country{
    padding: 0 6px;
    height: 33px;
    width: 180px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background-color: #fff;
}

.advanced-search-form #category{
    max-width: 180px;
}

.country-dropdown input{
    max-width: 100% !important;
    width: 100% !important;
}

.most-growth-page .selected-country,
.most-viewed-page .selected-country,
.most-growth-page #dateSelector,
.most-viewed-page #dateSelector{
    padding: 0 6px;
    height: 33px;
    width: 180px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    background-color: #fff;
}
.most-growth-page #dateSelector,
.most-viewed-page #dateSelector{
    width: auto;
}

.most-growth-page .country-search,
.most-viewed-page .country-search{
    padding-left: 10px !important;
}

.most-growth-page .video-carousel-container,
.most-viewed-page .video-carousel-container{
    max-width: 350px;
}

.most-growth-page .video-carousel-container .video-card,
.most-viewed-page .video-carousel-container .video-card{
    display: flex;
    flex-direction: column;
    height: 100%;
    max-width: 155px;
    flex: 0 0 155px;
    border-radius: 0;
}

.most-growth-page .video-carousel-container .video-card img,
.most-viewed-page .video-carousel-container .video-card img{
    height: 82px;
}

.most-growth-page .video-carousel,
.most-viewed-page .video-carousel{
    padding-top: 10px;
    padding-bottom: 2px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 10)); /* La mitad del ancho total */
    }
}

/* Ajustes responsive */
@media (max-width: 768px) {
    .video-track {
        width: calc(215px * 20);
    }
    
    .video-card {
        flex: 0 0 215px;
    }

    .short-card {
        flex: 0 0 215px;
    }
    
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-200px * 10));
        }
    }
}

.country-search{
    padding-left: 40px !important;
    max-width: 135px;
}

.country-search.all-locations{
    padding-left: 14px !important;
}


.md\:pt-10{
    padding-top: 2.5rem;
}

@media screen and (max-width: 768px){

    .advanced-search-form-container label br{
        display: none;
    }

    .channel-view .header-container > .flex{
        flex-direction: column;
    }

    [class^="get-pro-msg-"],
    [class^="register-msg-"],
    .register-msg{
        min-width: 80vw;
        max-width: 300px;
        text-align: center;
        left: 50%;
        transform: translateX(-50%);
    }

    .get-pro-msg-sorting{
        max-width: 100% !important;
        min-width: 100% !important;
    }

    .show-container{
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s cubic-bezier(0, 1, 0, 1);
    }

    
}

@media screen and (min-width: 768px){

    .advanced-search-form-container input[type="text"],
    .number-input-container{
        max-width: 130px;
    }
}