/* Global app loader (frontend) */
.app-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(12px) saturate(110%);
  transition: opacity .32s ease, visibility .32s ease;
}

/* Force override legacy preloader backgrounds */
#preloader {
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(12px) saturate(110%) !important;
}
.app-loader__content {
  width: min(92vw, 560px);
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}
.app-loader__brand {
  color: rgba(255,255,255,0.75);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 2px;
  letter-spacing: .2px;
  opacity: .8;
}
.app-loader__text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  margin-bottom: 6px;
}
.app-loader__track {
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}
.app-loader__bar {
  display: block;
  height: 100%;
  width: 24%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(255, 106, 0, 0), rgba(255, 138, 61, 0.95), rgba(255, 106, 0, 0));
  animation: appLoaderFlow 1.1s ease-in-out infinite;
}
.app-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.app-loader.is-busy .app-loader__bar {
  animation-duration: .65s;
}
@keyframes appLoaderFlow {
  0% { transform: translateX(-150%); }
  100% { transform: translateX(520%); }
}
/* _header.blade.php*/


.header__nav-link {
    font-family: "Agency FB";
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: white;
    flex: none;
    order: 0;
    flex-grow: 0;
    letter-spacing: 0.7px;
}

.header__nav-link:hover {
    color: #ffff00;
}

.mediaa h3 a {
    color: #fff;
}

.mediaa h3 a:hover {
    color: #ffff00;
}

.avatarUser {
    border: 2px solid #ffff00 !important;
}

.header__search {
    box-sizing: border-box;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
}

.header__search input::placeholder {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    color: white;
}
.header__search input:focus {
    border: 2px solid var(--primary-color);
}

body {
    background-color: #000 !important;
    /* couleur bleu nuit  #1F263E*/
    margin: 0;
}

/*  video.show.blade page*/
.md_descript {
    font-family: "Abel";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.8);
}

.md_casting {
    font-family: "Abel";
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 26px;
    letter-spacing: 0.12px;
    color: black;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

/* accueil */

.title {
    font-family: "Inter" sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 36px;
    color: #fff;
}

@media only screen and (min-width: 768px) {
    .title {
        font-size: 24px;
    }
    .header__nav-link {
        color: white;
    }
}
@media only screen and (max-width: 767px) {
    .title {
        font-size: 20px;
    }
    .header__nav-link {
        color: #000 !important;
    }
}
/* footer */

/* show video details */
.md_logo {
    position: absolute;
    left: 50px;
    top: 300px;
}

.md_content_descript {
    position: absolute;
    left: 50px;
    top: 420px;
}

.md_descript {
    font-family: "Abel";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    color: rgba(255, 255, 255, 0.8) !important;
    flex: none;
    order: 2;
    flex-grow: 0;
}

.md_time {
    width: 59px;
    height: 25px;
    font-family: "Abel";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 25px;
    flex: none;
    order: 4;
    flex-grow: 0;
    color: rgba(255, 255, 255, 0.8);
}

.md_watch_text {
    font-family: "Abel";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: #262626;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.md_header_footer {
    display: flex;
    margin-top: 50px !important;
    flex-direction: row;
    justify-content: flex-start;
}
#videoLikeDislikeForm {
    display: flex;
}
.md_footer {
    display: flex;
    justify-content: space-between;
    align-items: start;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: stretch;
}

.md_watch {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 20px;
    gap: 12px;
    width: 231px;
    background: #ffffff;
    border-radius: 30px;
    box-sizing: border-box;
    padding: 10px 20px;
    height: 45px;
}

.md_content_watch {
    display: flex;
    margin-top: -2%;
    margin-left: 3%;
    gap: 15px;
    align-items: baseline;
}

.md_lecture_playlist {
    width: 205px;
    height: 25px;
    font-family: "Abel";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 25px;
    color: #ffffff;
    flex: none;
    order: 1;
    flex-grow: 0;
}

.md_lecture {
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px 20px;
    width: 269px;
    height: 45px;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
}

.md_content_download div {
    width: 20px;
}

/* discover page */
.content__tabs .nav-link.active {
    width: 57px;
    height: 24px;
    /* font-family: 'Abel'; */
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.005em;
    color: var(--primary-color);
    width: 91px;
    height: 33px;
    left: -11px;
    top: -4px;
    /* background: linear-gradient(0deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)); */
    /* border-radius: 19px; */
}

.content__tabs .nav-item {
    font-family: "Abel";
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.005em;
    color: #fff;
    opacity: 1;
}

/* video sidebar page */
.section__title {
    font-family: "Abel";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 36px;
    color: black;
}

/* Hero banners (films / séries) */
.fk-hero {
    position: relative;
    height: clamp(280px, 40vw, 520px);
    width: 100%;
    overflow: hidden;
}
.fk-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1.05);
    filter: saturate(1.05) contrast(1.05) brightness(0.8);
    will-change: transform;
}
.fk-hero__overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 80% at 70% 10%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85) 100%),
                linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.6) 60%, rgba(0,0,0,0.9) 100%);
}
.fk-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    height: 100%;
    padding-bottom: clamp(24px, 6vw, 56px);
}
.fk-hero__title {
    color: #fff;
    font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    font-weight: 800;
    letter-spacing: 0.2px;
    font-size: clamp(24px, 5vw, 48px);
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
    margin: 0;
}
.fk-hero__subtitle {
    color: rgba(255,255,255,0.9);
    font-size: clamp(14px, 2.2vw, 18px);
    margin-top: 8px;
}

/* Dropdown hover for category submenus in header */
.header__nav-item.dropdown:hover > .dropdown-menu {
    display: block;
}
.dropdown-menu .dropdown-item:hover {
    background-color: rgba(255,255,255,0.06);
}

/* Footer cleanup */
.footer {
    background: #0f0f13;
    color: #cfcfd4;
}
.footer .container { padding-left: 1rem; padding-right: 1rem; }
.footer .row { 
    row-gap: 12px; 
    /* Réduit l’espace horizontal entre colonnes (Bootstrap gutter) */
    --bs-gutter-x: 0.5rem; /* ~8px */
    --bs-gutter-y: 0.75rem;
}
.footer__desc { margin-bottom: 12px; }
.footer__title { margin-bottom: 14px; }
.footer .social-icons { margin-top: 8px; margin-bottom: 4px; }
.footer__list li { margin-bottom: 10px; }
.footer__tags { gap: 10px 10px; }
@media (min-width: 992px) {
    .footer { padding-top: 28px; }
    .footer__title { margin-bottom: 16px; }
}
.footer__desc {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    line-height: 1.6;
}
.footer__title {
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 12px;
}
.footer__subtitle {
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 8px;
}
.footer .logo img {
    max-height: 42px;
    height: auto;
    width: auto;
    display: inline-block;
    object-fit: contain;
}
.footer .newsletter h2.footer__title {
    margin-bottom: 8px;
}
.footer .newsletter-form input.form-control {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: #fff;
}
.footer .newsletter-form .btn.btn-primary {
    background: #ff6a00;
    border-color: #ff6a00;
}
.footer .social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    color: #fff;
    margin-right: 8px;
}
.footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}
.footer__list li {
    margin-bottom: 8px;
}
.footer__list a {
    color: #cfcfd4;
}
.footer__list a:hover {
    color: #ffd80e;
}
.footer__list.two-cols {
    column-count: 2;
    column-gap: 24px;
}
.footer__tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer__tags li a {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 16px;
    color: #cfcfd4;
    font-size: 12px;
}
.footer__tags li a:hover {
    background: rgba(255,255,255,0.08);
    color: #ffd80e;
}
.footer__cat-item {
    break-inside: avoid;
    margin-bottom: 10px;
}
.footer__cat-name {
    display: inline-block;
    font-weight: 600;
    color: #fff;
    margin-right: 6px;
}
.footer__type-links a {
    color: #cfcfd4;
    font-size: 13px;
    margin: 0 3px;
}
.footer__type-links a:hover {
    color: #ffd80e;
}
.footer__type-links .sep {
    color: rgba(255,255,255,0.35);
    margin: 0 4px;
}
.footer__divider {
    border-color: rgba(255,255,255,0.12);
}

.footer__center {
    text-align: center;
}