.btn-primary {
    background-color: #bed201 !important;
    color: black !important;
    border-color: #bed201 !important;
}

.btn-primary:hover, .btn-primary:active {
    background-color: #95a501 !important;
    color: black !important;
    border-color: #95a501 !important;
}

.form-check-input:checked {
    background-color: #95a501 !important;
    color: black !important;
    border-color: #95a501 !important;
}

.btn-outline-primary {
    border-color: #bed201 !important;
    color: #bed201 !important;
}

.btn-outline-primary:hover, .btn-outline-primary:active, .btn-check:checked + .btn-outline-primary {
    border-color: #95a501 !important;
    color: black !important;
    background-color: #bed201 !important;
}

input, select{
    color: white !important;
}

.bi-card-image {
    cursor: pointer;
}

.bi-card-image:hover {
    cursor: pointer;
    color: #b3b3b3;
}


body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #181818;
    color: white !important;
}

.sidebar {
  background-color: #181818;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
  height: 100vh;
  padding-top: 1rem;
  padding-right: 1rem; 
  border-right: 1px solid #000000;
  color: white;
}

.sidebar h4 {
    font-weight: bold;
    margin-bottom: 2rem;
}

.sidebar .nav-link {
    color: white;
    font-weight: 500;
    padding: 0.75rem 1rem;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background-color: #383838;
    cursor: pointer;
}

.navbar {
  background-color: #181818;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: bold;
}

.bi {
    margin-right: 8px;
}

.titleSection {
    text-align: center !important;
}

@media (min-width: 768px) {
    .main-content {
        margin-left: 250px;
        margin-right: 50px;
        padding-left: 6rem;
        padding-top: 1rem;
    }

    .editLabel, .createLabel, .detailLabel {
        text-align: right !important;
    }
}

.editLabel, .createLabel, .detailLabel {
    color: #a09e9e !important;
}

@media (max-width: 767.98px) {
    .sidebar {
        display: none;
    }

    .main-content {
        padding: 2rem;
    }
}

.acciones 
{
    width: 1%; 
    text-align: center; 
    white-space: nowrap;
}

.tableData,
.tableData th,
.tableData td
{
    background-color: transparent !important;
    border: none !important;
}

td.truncate {
    max-width: 200px;     /* ajusta el tamaño que quieras */
    
}

@media (max-width: 576px) 
{
    .tableData tbody, 
    .tableData thead
    {
        display: block;
    }
    .tableData tr
    {
        display: flex;
        flex-direction: column;
        border: none;
        margin-bottom: 1rem;
    }
    .tableData td, 
    .tableData th
    {
        display: block;
        width: 100%;
    }
}

.referenceOption
{
    cursor: pointer;
}

.required
{
    color: red;
}

.dropzone {
    border: 2px dashed #bed201;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    color: white;
    transition: background-color 0.2s ease;
    cursor: pointer;
}
.dropzone.dragover {
    background-color: #424242;
    border-color: #bed201;
    color: #bed201;
}

.progress-bar {
    background-color: #bed201;
}

#overlay-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1050; /* más alto que casi todo */
}

.overlay-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5); /* oscurece el fondo */
}

.overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; /* ancho de la caja */
    background: #2c2c2c;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.tablePlaylistFile tbody tr {
    cursor: grab;
}

.tablePlaylistFile tbody tr:active {
    cursor: grabbing;
}

.delete-row {
    cursor: pointer;
}

.package-option {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid;
    border-radius: 8px;
}

.package-option:hover {
    color: white;
    border-color: white;
    transform: scale(1.02);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.package-option.selected {
    border: 2px solid #bed201;
    box-shadow: 0 0 15px #95a501;
    transform: scale(1.03);
    color: black;
    background-color: #bed201 !important;
}