body {
    background-color: #1f1f1f;
    color: #e5e5e5;
    min-height: 100vh;
}

main {
    background-color: #242424;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.navbar-streaming {
    background: #111;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .5);
}

.navbar-brand {
    color: #ff3d3d !important;
    font-size: 24px;
    font-weight: 700;
}

.nav-link {
    color: #ddd !important;
}

.nav-link:hover {
    color: #ff3d3d !important;
}

.dropdown-menu {
    background: #2b2b2b;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .5);
}

.dropdown-item {
    color: #ddd;
}

.dropdown-item:hover {
    background: #ff3d3d;
    color: white;
}

.footer-streaming {
    background: #181818;
    color: #aaa;
    padding: 30px 0;
    border-top: 1px solid #333;
    margin-top: 40px;
}

.footer-streaming h5 {
    color: white;
}

.footer-streaming p {
    color: #999;
}

h1,
h2,
h3 {
    color: white;
    font-weight: 700;
}


.btn-primary {
    background: #ff3d3d;
    border: none;
}

.btn-primary:hover {
    background: #d90000;
}

.login-container {
    min-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    width: 100%;
    max-width: 420px;
    background: #2a2a2a;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
}

.login-title {
    color: white;
    font-weight: 700;
}

.login-subtitle {
    color: #999;
    font-size: 14px;
}

.input-streaming {
    background: #1c1c1c !important;
    border: 1px solid #444 !important;
    color: white !important;
    padding: 12px;
}

.input-streaming::placeholder {
    color: #777;
}

.input-streaming:focus {
    border-color: #e50914 !important;
    box-shadow: 0 0 0 .2rem rgba(229, 9, 20, .25);
}

.btn-login {
    background: #e50914;
    color: white;
    font-weight: bold;
    padding: 12px;
    border-radius: 8px;
    border: none;
}

.btn-login:hover {
    background: #b20710;
    color: white;
}

.btn-register {
    background: transparent;
    color: #ddd;
    border: 1px solid #555;
    padding: 10px;
}

.btn-register:hover {
    background: #333;
    color: white;

}

.modal-streaming {

    background: #242424;
    color: white;
    border: 1px solid #444;
}

.modal-streaming .modal-header {
    border-bottom: 1px solid #444;
}

.modal-streaming .modal-footer {
    border-top: 1px solid #444;
}

.movie-card {
    background: #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    transition: .3s;
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, .5);
}

.movie-image {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.movie-body {
    padding: 15px;
    color: white;
}

.movie-body h5 {
    color: #ff3d3d;
    height: 50px;

    overflow: hidden;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    line-clamp: 2;
    text-overflow: ellipsis;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.botones-video {
    display: flex;
    gap: 8px;
}


.video-controls button {
    width: 50px;
}

#barraTiempo {
    flex: 1;
}

.volumen-slider {
    width: 90px;
}

.tiempo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

@media(max-width:576px) {

    .video-controls {
        flex-wrap: wrap;
    }

    .botones-video {
        order: 1;
    }
    .volumen-container {
        order: 2;
    }

    #btnFull {
        order: 3;
    }

    .tiempo-container {
        order: 4;
        flex-basis: 100%;
        width: 100%;
    }

    #barraTiempo {
        width: 100%;
    }

    #lblTiempo {
        font-size: 12px;
        white-space: nowrap;
    }

    .volumen-slider {
        width: 70px;
    }
}

.cuenta-precio {
    background: #e50914;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}

.cuenta-precio h2 {
    color: white;
    font-size: 45px;
    margin: 0;
    font-weight: 700;
}

.cuenta-precio span {
    color: white;
    font-size: 16px;
}

.cuenta-info {
    background: #1c1c1c;
    border-radius: 12px;
    padding: 15px;
    text-align: left;
    border: 1px solid #444;
}

.cuenta-info p {
    margin-bottom: 10px;
    color: #ddd;
}

.cuenta-texto {
    color: #ccc;
    font-size: 15px;
}


#paginacion {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    padding: 0;
}

#paginacion .page-item {
    margin: 0;
}

#paginacion .page-link {
    background: #2a2a2a;
    color: #ddd;
    border: 1px solid #444;
}

#paginacion .page-item.active .page-link {
    background: #ff3d3d;
    border-color: #ff3d3d;
    color: white;
}

#paginacion .page-item.disabled .page-link {
    background: #1c1c1c;
    color: #666;
    border-color: #333;
}



@media (max-width: 576px) {

    #paginacion {
        flex-wrap: nowrap;
        width: 100%;
        overflow: hidden;
        gap: 2px;
    }

    #paginacion .page-link {
        padding: 7px 9px;
        font-size: 14px;
    }

}

#toastnoti {
    z-index: 9999;
    min-width: 300px;
    max-width: 380px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

#toastnoti .toast-body {
    background: #212529;
    color: white;
    padding: 15px;
    font-size: 14px;
}

#toastnoti .toast-header {
    padding: 10px 15px;
}

.d-flex.overflow-auto::-webkit-scrollbar {
    height: 6px;
}
.d-flex.overflow-auto::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}
.d-flex.overflow-auto::-webkit-scrollbar-thumb {
    background: #dc3545;
    border-radius: 4px;
}
.btn-flotante-fb {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #1877F2;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1050;
    transition: transform 0.3s ease, background-color 0.3s;
    text-decoration: none;
}

.btn-flotante-fb:hover {
    transform: scale(1.1);
    background-color: #145dbf;
    color: white;
}

.hover-blanco {
    transition: color 0.3s ease;
}
.hover-blanco:hover {
    color: #ffffff !important;
}

@keyframes vibrarFlecha {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}

.animar-flecha {
    display: inline-block;
    animation: vibrarFlecha 1.2s infinite ease-in-out;
}