﻿:root {
    --vod-bg: #050505;
    --vod-bg-alt: #0f0f0f;
    --vod-surface: rgba(255, 255, 255, 0.04);
    --vod-surface-hover: rgba(255, 255, 255, 0.08);
    --vod-accent: #e50914;
    --vod-accent-hover: #f40612;
    --vod-text-primary: #f4f4f4;
    --vod-text-muted: #b5b5b5;
    --vod-border: rgba(255, 255, 255, 0.1);
    --vod-scroll-track: rgba(34, 34, 34, 0.9);
    --vod-scroll-track-border: rgba(255, 255, 255, 0.12);
    --vod-scroll-thumb-base: #e50914;
    --vod-scroll-thumb-top: #ff4050;
    --vod-scroll-thumb-bottom: #8c0a11;
    --vod-radius-xl: 24px;
    --vod-radius-lg: 18px;
    --vod-radius-md: 12px;
    --vod-radius-sm: 8px;
    --vod-transition: 220ms ease;
    --vod-shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.55);
    --vod-shadow-md: 0 12px 32px rgba(0, 0, 0, 0.45);
    --vod-navbar-height: 72px;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--vod-scroll-thumb-base) var(--vod-scroll-track);
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(160deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.99) 45%, rgba(12, 12, 12, 1) 100%);
    color: var(--vod-text-primary);
    scrollbar-width: thin;
    scrollbar-color: var(--vod-scroll-thumb-base) var(--vod-scroll-track);
    scrollbar-gutter: stable both-edges;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
    width: 14px;
    background-color: transparent;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(50, 50, 50, 0.95), rgba(26, 26, 26, 0.9));
    border-radius: 999px;
    margin: 0.75rem 0.35rem;
    border: 1px solid var(--vod-scroll-track-border);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65);
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--vod-scroll-thumb-top), var(--vod-scroll-thumb-base) 55%, var(--vod-scroll-thumb-bottom));
    border-radius: 999px;
    border: 2px solid rgba(8, 8, 8, 0.85);
    box-shadow: 0 10px 24px rgba(229, 9, 20, 0.4);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff4f5f, #f40612 60%, #a30d15);
}

html::-webkit-scrollbar-thumb:active,
body::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #f40612, #c3050d 50%, #7a0309);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--vod-transition);
}

a:hover,
a:focus {
    color: var(--vod-accent);
}

button {
    cursor: pointer;
}

.vod-body {
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
    padding-bottom: 4rem;
}

.vod-backdrop {
    position: fixed;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.vod-backdrop__gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(229, 9, 20, 0.28) 0%, rgba(10, 10, 10, 0.95) 55%, rgba(5, 5, 5, 1) 100%);
}

.vod-backdrop__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 500ms ease;
    filter: saturate(1.2) brightness(0.55);
}

.vod-main {
    position: relative;
    padding: 0.2rem 0 3rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vod-main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    flex: 1 1 auto;
}

.vod-mobile-toolbar {
    position: sticky;
    top: calc(var(--vod-navbar-height) + 0.75rem);
    z-index: 35;
    display: none;
    justify-content: flex-start;
    padding-bottom: 0.75rem;
    margin-top: -0.5rem;
}

.vod-back-button {
    display: none;
    align-items: center;
    gap: 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(15, 15, 15, 0.72);
    color: var(--vod-text-primary);
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    transition: background var(--vod-transition), border-color var(--vod-transition);
}

.vod-back-button i {
    font-size: 1.1rem;
}

.vod-back-button.is-visible {
    display: inline-flex;
}

.vod-back-button:active,
.vod-back-button:focus,
.vod-back-button:hover {
    background: rgba(229, 9, 20, 0.85);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

@media (max-width: 991.98px) {
    .vod-mobile-toolbar {
        display: flex;
    }
}

.vod-navbar {
    background: rgba(7, 7, 7, 0.85);
    backdrop-filter: blur(18px);
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-block: 0.75rem;
}

.vod-brand-icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--vod-accent);
    color: white;
    font-weight: 700;
    letter-spacing: 0.03em;
    font-size: 1.1rem;
}

.vod-brand-text {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vod-navbar .nav-link {
    color: var(--vod-text-muted);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-block: 0.75rem;
    transition: color var(--vod-transition), transform var(--vod-transition);
}

.vod-navbar .nav-link:hover,
.vod-navbar .nav-link:focus,
.vod-navbar .nav-link.active {
    color: var(--vod-text-primary);
    transform: translateY(-1px);
}

.vod-navbar-actions {
    flex-wrap: wrap;
}

.vod-search {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    gap: 0.5rem;
    min-width: 200px;
    display: inline-flex;
    align-items: center;
}

.vod-search i {
    color: var(--vod-text-muted);
    font-size: 0.9rem;
}

.vod-search input {
    background: transparent;
    border: 0;
    color: var(--vod-text-primary);
    font-size: 0.85rem;
    padding: 0;
    outline: none;
}

.vod-avatar {
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.75), rgba(111, 9, 20, 0.75));
    color: white;
    font-weight: 600;
    display: grid;
    place-items: center;
    transition: transform var(--vod-transition);
}

.vod-avatar:hover {
    transform: scale(1.05);
}

.dropdown-menu-dark {
    background: rgba(30, 30, 30, 0.95);
}

.vod-hero {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    border-radius: var(--vod-radius-xl);
    padding: clamp(2rem, 4vw, 4rem);
    background: linear-gradient(135deg, rgba(229, 9, 20, 0.25), rgba(10, 10, 10, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--vod-shadow-lg);
    position: relative;
    overflow: hidden;
    align-items: center;
}

.vod-hero::after {
    content: "";
    position: absolute;
    inset: -120px;
    background: radial-gradient(circle at top left, rgba(229, 9, 20, 0.4) 0%, transparent 45%);
    opacity: 0.35;
    pointer-events: none;
}

.vod-hero__body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.vod-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.75rem;
}

.vod-hero__title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0;
}

.vod-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--vod-text-muted);
    font-size: 0.95rem;
}

.vod-hero__meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.vod-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.vod-hero__poster {
    position: relative;
    border-radius: var(--vod-radius-lg);
    overflow: hidden;
    aspect-ratio: 2/3;
    max-height: clamp(220px, 30vw, 340px);
    max-width: clamp(180px, 22vw, 260px);
    box-shadow: var(--vod-shadow-lg);
    justify-self: end;
}

.vod-hero__poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vod-welcome {
    max-width: 780px;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.vod-welcome__hello {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.vod-welcome__subtitle {
    color: var(--vod-text-muted);
    margin: 0;
}

.vod-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vod-year-group {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.vod-year-group:last-child {
    margin-bottom: 0;
}

.vod-year-group__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.vod-year-group__header h3 {
    margin: 0;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    letter-spacing: -0.01em;
}

.vod-section__header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.vod-section__header h2 {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
}

.vod-section__hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.85rem;
}

.vod-section__actions,
.vod-shortcuts {
    display: inline-flex;
    gap: 0.75rem;
    align-items: center;
}

.vod-carousel {
    display: flex;
    gap: 1.2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
}

.vod-carousel::-webkit-scrollbar {
    display: none;
}

.vod-carousel__nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.55);
    color: white;
    display: grid;
    place-items: center;
    transition: background var(--vod-transition), transform var(--vod-transition);
}

.vod-carousel__nav:hover {
    background: var(--vod-accent);
    transform: translateY(-2px);
}

.vod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 1.2rem;
}

.vod-grid .vod-card {
    flex: none;
    width: 100%;
}

.vod-card {
    flex: 0 0 clamp(180px, 20vw, 240px);
    background: var(--vod-surface);
    border-radius: var(--vod-radius-lg);
    padding: 0.85rem;
    display: grid;
    gap: 0.85rem;
    cursor: pointer;
    position: relative;
    scroll-snap-align: start;
    transition: transform var(--vod-transition), box-shadow var(--vod-transition), background var(--vod-transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vod-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--vod-shadow-md);
    background: var(--vod-surface-hover);
}

.vod-card__media {
    position: relative;
    border-radius: var(--vod-radius-md);
    overflow: hidden;
}

.vod-card__poster,
.icone {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
    border-radius: var(--vod-radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vod-card__badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.vod-card__badge {
    background: rgba(5, 5, 5, 0.65);
    padding: 0.25rem;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.picto {
    width: 22px;
    height: 22px;
}

.vod-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.vod-card__body h3 {
    font-size: 1rem;
    margin: 0;
}

.vod-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    font-size: 0.8rem;
    color: var(--vod-text-muted);
}

.vod-shortcuts {
    justify-content: center;
    flex-wrap: wrap;
}

.vod-shortcuts .btn {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding-inline: 1.75rem;
    font-weight: 500;
}

.scroll {
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.45) rgba(255, 255, 255, 0.08);
    scrollbar-gutter: stable both-edges;
    -webkit-overflow-scrolling: touch;
}

.scroll::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

.scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    margin: 0.4rem 1.5rem;
}

.scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, rgba(229, 9, 20, 0.85), rgba(229, 9, 20, 0.55));
    border-radius: 999px;
    border: 2px solid rgba(5, 5, 5, 0.7);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.35);
}

.scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(90deg, rgba(244, 6, 18, 0.95), rgba(229, 9, 20, 0.75));
}

.scroll::-webkit-scrollbar-thumb:active {
    background: linear-gradient(90deg, rgba(229, 9, 20, 1), rgba(179, 5, 15, 0.95));
}

.tableVignette {
    width: 100%;
}

.tableVignette td:last-child {
    padding-left: 10px;
}

.tableVignette label {
    font-weight: 600;
}

.player h1,
.player h2 {
    color: var(--vod-text-primary);
}

.player h1.titrePlayer,
.player h2.titrePlayer {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.player h2 button {
    border: 0;
    background-color: transparent;
    color: inherit;
}

#video {
    width: 100%;
    border-radius: var(--vod-radius-lg);
    overflow: hidden;
    background: black;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modeVideo {
    font-size: 0.75rem;
    color: var(--vod-text-muted);
}

.previewthumb {
    position: relative;
    display: inline-block;
}

.previewthumb .icone {
    border-radius: var(--vod-radius-sm);
    background: rgba(20, 20, 20, 0.85);
}

#previewZone.d-md-none {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.5rem 0 1.1rem;
}

#previewZone.d-md-none .previewthumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 82px;
}

#previewZone.d-md-none .previewthumb .icone {
    width: 128px;
    height: 78px;
    object-fit: cover;
    border-radius: calc(var(--vod-radius-sm) * 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.previewthumb--photo {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    border-radius: var(--vod-radius-md);
    background: rgba(20, 20, 20, 0.85);
    box-shadow: var(--vod-shadow-sm);
}

.previewthumb--photo .icone {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    border-radius: inherit;
    border: 0;
    background: transparent;
}

.overlay-preview {
    position: absolute;
    top: 8px;
    right: 10px;
    display: flex;
    gap: 0.35rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.listeBadges {
    width: 100%;
}

.listeBadges td {
    vertical-align: top;
    padding: 0.35rem 0.75rem 0.35rem 0;
}

.listeBadges td:nth-child(1) {
    width: 140px;
    text-align: right;
    color: var(--vod-text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
}

.badge.bg-warning {
    background: linear-gradient(135deg, rgba(255, 168, 0, 0.9), rgba(255, 196, 38, 0.9));
    color: #211900;
}

.badge.bg-info {
    background: linear-gradient(135deg, rgba(0, 189, 255, 0.85), rgba(66, 131, 255, 0.85));
    color: #041222;
}

.infoTags label,
.infoUtilisateurs label {
    font-weight: 600;
}

.centrageLogin {
    display: grid;
    min-height: calc(100vh - 80px);
    place-items: center;
    padding: 2rem 1rem;
}

.centrageLogin>div {
    background: rgba(9, 9, 9, 0.85);
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: var(--vod-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    width: min(420px, 100%);
    box-shadow: var(--vod-shadow-md);
}

.centrageLogin h1 {
    margin-bottom: 1.5rem;
}

.centrageLogin label {
    display: block;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    color: var(--vod-text-muted);
    margin-bottom: 0.4rem;
}

.centrageLogin input[type="text"],
.centrageLogin input[type="password"],
.centrageLogin input[type="number"],
.centrageLogin input[type="file"],
.centrageLogin input[type="email"],
.centrageLogin input[type="search"],
.centrageLogin input[type="tel"] {
    width: 100%;
}

form>div {
    margin-bottom: 1.25rem;
}

.passwordvert {
    color: #00ff95;
}

.passwordrouge {
    color: #ff5a5f;
}

.chargementPhoto {
    opacity: 0.25;
}

.photofullscreen {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.97);
    color: white;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 180ms ease;
    padding: 2rem;
}

.photofullscreen.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.photofullscreen .bt {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    background: rgba(10, 10, 10, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(12px);
}

.photofullscreen .bt__button {
    appearance: none;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    cursor: pointer;
    transition: transform var(--vod-transition), background var(--vod-transition), box-shadow var(--vod-transition);
    touch-action: manipulation;
}

.photofullscreen .bt__button:hover,
.photofullscreen .bt__button:focus-visible {
    background: rgba(229, 9, 20, 0.85);
    box-shadow: 0 12px 30px rgba(229, 9, 20, 0.35);
    transform: translateY(-2px);
    outline: none;
}

.photofullscreen .bt__button.is-active {
    background: rgba(229, 9, 20, 0.9);
    box-shadow: 0 14px 32px rgba(229, 9, 20, 0.45);
}

.photofullscreen .bt__button i {
    pointer-events: none;
}

.photofullscreen img {
    width: min(100%, 1200px);
    max-height: 90vh;
    object-fit: contain;
}

body.no-scroll {
    overflow: hidden;
}

#bufferImage {
    display: none;
}

.boutonAccueil button {
    display: block;
    margin: 10px auto;
    width: min(500px, 95%);
}

.modal-backdrop.show {
    background: rgba(5, 5, 5, 0.88);
    backdrop-filter: blur(6px);
}

.modal-dialog {
    max-width: min(520px, calc(100% - 2.5rem));
    margin: clamp(1.5rem, 7vh, 3.5rem) auto;
}

.modal-content {
    background: linear-gradient(160deg, rgba(15, 15, 15, 0.96), rgba(9, 9, 9, 0.98));
    color: var(--vod-text-primary);
    border-radius: var(--vod-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

.modal-header,
.modal-footer {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.modal-title {
    font-weight: 600;
    letter-spacing: 0.02em;
}

.modal-body {
    color: var(--vod-text-primary);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.modal-body form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.modal-body label {
    font-weight: 600;
    color: var(--vod-text-primary);
    margin-bottom: 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.modal-body input:not([type="checkbox"]):not([type="radio"]),
.modal-body select,
.modal-body textarea,
.vod-form__control {
    width: 100%;
    border-radius: var(--vod-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.08);
    color: var(--vod-text-primary);
    padding: 0.65rem 0.75rem;
    font-size: 0.95rem;
    transition: border-color var(--vod-transition), box-shadow var(--vod-transition), background var(--vod-transition);
    outline: none;
}

.modal-body input:not([type="checkbox"]):not([type="radio"]):focus,
.modal-body select:focus,
.modal-body textarea:focus,
.vod-form__control:focus {
    border-color: rgba(229, 9, 20, 0.65);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.18);
    background: rgba(255, 255, 255, 0.12);
}

.modal-body input::placeholder,
.modal-body textarea::placeholder,
.vod-form__control::placeholder {
    color: var(--vod-text-muted);
}

.modal-footer {
    gap: 0.75rem;
    justify-content: flex-end;
}

.modal-footer .btn {
    border-radius: 999px;
    padding-inline: 1.5rem;
}

.vod-panel {
    background: linear-gradient(145deg, rgba(20, 20, 20, 0.96), rgba(10, 10, 10, 0.98));
    border-radius: var(--vod-radius-xl);
    padding: clamp(1.75rem, 3vw, 2.5rem);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: var(--vod-shadow-md);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vod-panel__title {
    margin: 0;
    font-size: clamp(1.3rem, 2.2vw, 1.6rem);
    font-weight: 600;
    letter-spacing: -0.01em;
}

.vod-panel__subtitle {
    margin: 0;
    color: var(--vod-text-muted);
    font-size: 0.95rem;
}

.vod-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.vod-form__group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.vod-form__group label {
    font-weight: 600;
    color: var(--vod-text-primary);
    letter-spacing: 0.01em;
}

.vod-form__switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: var(--vod-radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.vod-form__switch label {
    margin: 0;
    color: var(--vod-text-muted);
    font-size: 0.9rem;
}

.vod-form__switch .form-switch {
    margin: 0;
}

.vod-form__switch .form-check-input {
    transform: scale(1.05);
    cursor: pointer;
}

.vod-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

.vod-form__actions .btn {
    min-width: 140px;
    border-radius: 999px;
    padding-inline: 1.75rem;
}

.apk-admin__grid {
    display: grid;
    grid-template-columns: minmax(280px, 360px) 1fr;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: start;
}

.apk-admin__grid>* {
    min-width: 0;
}

.apk-admin__list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.apk-admin__list-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.apk-table__wrapper {
    border-radius: var(--vod-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    background: rgba(12, 12, 12, 0.86);
}

.apk-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 640px;
}

.apk-table th,
.apk-table td {
    padding: 0.85rem 1rem;
    text-align: left;
}

.apk-table__cell {
    vertical-align: top;
    color: var(--vod-text-primary);
    font-size: 0.95rem;
    line-height: 1.45;
}

.apk-table__index {
    font-weight: 600;
    font-size: 1rem;
}

.apk-table thead {
    background: rgba(255, 255, 255, 0.04);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    color: var(--vod-text-muted);
}

.apk-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background var(--vod-transition), transform var(--vod-transition);
}

.apk-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.04);
}

.apk-table__row--active {
    background: rgba(33, 166, 114, 0.14);
}

.apk-table__status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: rgba(33, 166, 114, 0.18);
    color: #39d485;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.65rem;
}

.apk-table__version {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.apk-table__code {
    display: inline-flex;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--vod-text-muted);
    font-size: 0.75rem;
}

.apk-table code {
    font-size: 0.85rem;
    color: #ff7597;
}

.apk-table__actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.apk-action {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: transparent;
    color: var(--vod-text-primary);
    padding: 0.5rem 0.95rem;
    font-size: 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background var(--vod-transition), color var(--vod-transition), border-color var(--vod-transition), transform var(--vod-transition);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.apk-action--ghost {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
}

.apk-action--accent {
    border-color: rgba(229, 9, 20, 0.3);
    background: rgba(229, 9, 20, 0.2);
    color: #ff626f;
}

.apk-action:hover,
.apk-action:focus-visible {
    transform: translateY(-2px);
}

.apk-action--ghost:hover,
.apk-action--ghost:focus-visible {
    background: rgba(229, 9, 20, 0.18);
    border-color: rgba(229, 9, 20, 0.35);
    color: #ffb2ba;
}

.apk-action--accent:hover,
.apk-action--accent:focus-visible {
    background: rgba(229, 9, 20, 0.35);
    color: white;
}

.apk-action.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.apk-table__cell--actions {
    white-space: nowrap;
}

.apk-table__empty {
    text-align: center;
    padding: 1.5rem !important;
    color: var(--vod-text-muted);
    font-size: 0.95rem;
}

@media (max-width: 992px) {
    .apk-admin__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .apk-table {
        min-width: 0;
    }

    .apk-table__wrapper {
        overflow-x: auto;
    }

    .apk-table thead {
        display: none;
    }

    .apk-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 1rem;
    }

    .apk-table td {
        padding: 0;
        border: 0;
        font-size: 0.95rem;
    }

    .apk-table td::before {
        content: attr(data-label);
        display: block;
        text-transform: uppercase;
        font-size: 0.7rem;
        letter-spacing: 0.12em;
        color: var(--vod-text-muted);
        margin-bottom: 0.35rem;
    }

    .apk-table__cell--index {
        grid-column: 1 / -1;
    }

    .apk-table__cell--actions {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .photofullscreen {
        padding: 1rem;
    }

    .photofullscreen img {
        max-height: calc(100vh - 200px);
    }

    .photofullscreen .bt {
        left: 50%;
        right: auto;
        bottom: max(env(safe-area-inset-bottom, 0px) + 0.75rem, 1rem);
        transform: translateX(-50%);
        width: clamp(240px, 90vw, 420px);
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .photofullscreen .bt__button {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
    }

    .player .row.scroll {
        overflow-x: visible;
        overflow-y: visible;
        margin-inline: 0;
    }
}

@media (max-width: 992px) {
    .vod-main {
        padding-top: 3rem;
    }

    .vod-search {
        min-width: 100%;
    }

    .vod-carousel {
        padding-inline: 0.5rem;
    }

    .vod-card {
        flex-basis: clamp(160px, 60vw, 220px);
    }
}

@media (max-width: 576px) {
    .vod-navbar {
        padding-inline: 1rem;
    }

    .vod-hero {
        padding: 1.75rem;
    }

    .vod-hero__actions {
        gap: 0.75rem;
    }

    .vod-section__header {
        align-items: flex-start;
    }
}