body {
    background-color: white;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    background-color: #d51c28;
    color: white;
    padding:0%;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.header__logo-left {
    font-size: 1.5em;
    color: white;
    text-decoration: none;
    height: 55px;
}

.header__logo-right {
    height: 40px;
}

.breadcrumbs {
    background-color: white;
    padding: 1px 0;
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    margin-top: 5px;
    margin-left: 10px;
}

.breadcrumbs__inner {
    display: flex;
    align-items: center;
    width: 100%;
}

.breadcrumbs a {
    font-size: 18px;
    color: #007bff;
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: #d51c28;
    text-decoration: underline;
}

h1 {
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    margin-top: 10px;
    font-size: 1.5em;
}

h2 {
    color: #D51C28;
    font-weight: 700;
}

h3 {
    top: 50%;
    text-align: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5em;
}

h4 {
    color: #D51C28;
    font-weight: 700;
    font-size: 1.5em;
}

h5 {
    color: #D51C28;
    font-weight: 700;
}

/* p {
    text-align: left;
} */

/* .left-align {
    text-align: left !important;
} */

.filter-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-container label {
    font-weight: 600;
}

#totalCount {
    font-weight: 700;
    margin-left: auto;
    color: #D51C28;
    font-size: 1.1em;
}

#scrollTopBtn, #scrollBottomBtn {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5em;
    padding: 0;
    text-align: center;
    line-height: 38px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

#scrollTopBtn:hover, #scrollBottomBtn:hover {
    opacity: 1;
}

.btn-danger {
    background-color: #D51C28;
    border-color: #D51C28;
    font-weight: 600;
    transition: background-color 0.3s ease;
    margin-top: 3px;
}

.btn-danger:hover {
    background-color: #a3151b;
    border-color: #a3151b;
}

.table thead th {
    background-color: #D51C28;
    color: white;
    font-weight: 600;
    /* table-layout: auto; */
}

.table tbody tr:hover {
    background-color: #f8d7da;
}

.loading {
    font-size: 1.2rem;
    color: #D51C28;
    text-align: center;
    margin-top: 20px;
}

/* .container {
    max-width: 400px;
} */

/* .no-container {
    all: unset;
} */

.form-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-grow: 1;
    margin-top: 0%;
}

.form {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;
}

.form input {
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

.form input[readonly] {
    background-color: #f0f0f0;/* Color de fondo para campos de solo lectura */
    cursor: not-allowed;/* Cambiar el cursor para indicar que no se puede editar */
    color: #666;/* Cambiar el color del texto para indicar que es no editable */
}

form label {
    font-weight: 600;
    color: #444;
}

form .form-control, form .form-select, form textarea {
    border-radius: 5px;
    border: 1px solid #ccc;
    padding: 10px;
    font-size: 1rem;
}

form textarea {
    resize: vertical;
}

form .btn-danger {
    width: 100%;
    padding: 12px;
    font-size: 1.1rem;
    border-radius: 5px;
}

.form button {
    padding: 10px;
    background-color: #d51c28;
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    width: 80%;
}

.form button:hover {
    background-color: #28a745;
}

#formMessage {
    font-weight: 600;
    font-size: 1rem;
}

#ubicacionError {
    font-weight: 600;
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
}

.tickets-title {
    margin: 0;
    color: #D51C28;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    padding: 0;
}

.tickets-description {
    font-size: 1.2rem;
    color: #444;
    margin: 0;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    padding: 0;
}

.tickets-table-container {
    text-align: left;
    margin: 0;
    padding: 0;
    width: auto;
    max-width: 100%;
    overflow-x: auto;
    align-content: center;
}

.tickets-container {
    max-width: 900px;
    margin: 0;
    padding: 10px;
    align-content: center;
}

.table {
    table-layout: auto;
    width: 100%;
    max-width: 100%;
}
.error-message {
    color: #d51c28;
    font-size: 0.9em;
    margin-bottom: 0.5em;
    display: block;
}

.floating-message {
    position: fixed;
    top: 60px;
    right: 10px;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    opacity: 0.9;
}

.floating-message.success {
    background-color: #28a745;
}

.floating-message.error {
    background-color: #d51c28;
}

/* .footer {
    font-size: 12px;
    background-color: #f8f9fa;
    color: #d51c28;
    padding: 10px 0;
    text-align: center;
    width: 100%;
    position: relative;
    bottom: 100%;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
} */