body {
    /* font-family: 'Catamaran', sans-serif; */
    background-color: #000;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Catamaran', sans-serif;
}

.snackment {
    padding-top: 160px;
    font-size: 10vw;
}

.snackmentFont {
    font-family: 'Catamaran', sans-serif;
}

main>.container {
    padding: 60px 15px 0;
}

main>.container-fluid {
    padding: 60px 15px 0;
}

td {
    height: 50px;
    vertical-align: middle;
    /* text-align: center;    */
}

.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination-info {
    display: flex;
    align-items: center;
}

.navbar {
    font-family: 'Catamaran', sans-serif;
}

.is-required:after {
    content: '*';
    margin-left: 3px;
    color: red;
    font-weight: bold;
}


.form-inline label {
    margin-left: 10px;
}

.sort-icon {
    display: inline-block;
    width: 0;
    margin-left: 0.25em;
    vertical-align: middle;
    font-size: 0.75em;
    /* Tamaño del ícono */
}

.token {
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.token:hover {
    text-decoration: underline;
}

.copy-hint {
    font-size: 0.85em;
    color: gray;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    justify-content: space-evenly;
}

.d-flex {
    display: flex;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.manager-modal {
    width: 700px;
    max-height: 700px;
}

/* Contenedor grid */
#gridImages,
#gridUploads,
#gridVideos {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, 100px);
    justify-content: space-between;
    align-items: center;
    padding: 6px;
    align-content: center;
    justify-items: center;
}

/* Cada tarjeta/ítem */
.media-item {
    width: 110px;
    display: flex;
    gap: 6px;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 4px;
    border-radius: 6px;
    background: #f2f8ff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: transform .08s ease, box-shadow .08s ease;
    flex-direction: column;
}

/* hover */
.media-item:hover {
    height: auto;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);

    .name {
        overflow: visible;
        white-space: normal;
        text-overflow: unset;
        word-break: break-word; 
    }
}

/* imagen recortada exactamente 100x100 */
.media-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    /* importante para recortar sin deformar */
    border-radius: 4px;
    display: block;
}

/* nombre debajo, truncado con ... si es largo */
.media-item .name {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 12px;
    text-align: center;
    color: #333;
}

#uploadFormUploads,
#uploadFormImages,
#uploadFormVideos {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
}