.site-header,
.nav-menu,
.header {
    background: linear-gradient(
        90deg,
        #0b0b0b 0%,

        #1e1e1e 50%,
        #3a3a3a 70%,
        #4a4a4a 80%,
        #5a5a5a 90%,
        #6a6a6a 95%,

        #1e1e1e 35%,
        #3a3a3a 55%,
        #4a4a4a 60%,
        #5a5a5a 75%,
        #6a6a6a 90%,

        #777777 100%
    );
    color: #fff;
    padding: 20px;
    text-align: center;
}

.site-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo img {
    height: 60px;
}
.user-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.logout-btn {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.nav-menu-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 1rem;
    padding: 0.5rem 1rem;
}
.nav-menu-content a {
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
}
.nav-menu-content a.active,
.nav-menu-content a:hover {
    background-color: #4a4a4a;
}

/* Align table content */
.table th,
.table td {
    vertical-align: middle;
    padding: 0.25rem 0.4rem;

    font-size: 1rem;

    font-size: 0.95rem;

}

/* Allow estado select to show full text */
.estado-select {
    width: auto;
    min-width: 90px;
}

/* Prevent wrapping of certain table cells */
.nowrap {
    white-space: nowrap;
}

/* Match select styling with inputs */
.form-select {
    border-radius: 10px;
    border: 2px solid #d3d3d3;
    padding: 12px 15px;
    transition: border-color 0.3s ease;
}
.form-select:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Truncate long descriptions in tables */
.description-preview {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

/* Preserve line breaks when showing the full description */
.full-description {
    white-space: pre-wrap;
}

/* Estilo para el botón de acciones */
.ellipsis-button {
    font-size: 1.25rem;
    border: none;
    background: transparent;
    cursor: pointer;
}

/* Ensure dropdown menus inside tables are fully visible */
.table-responsive {
    /* Keep dropdown menus inside tables visible */
    overflow: visible;
    /* Allow horizontal scrolling so the header bar spans all columns */
    overflow-x: auto;
}

/* Let tables expand to fit content so the header covers all columns */
.table-responsive > .table {
    width: 100%;
}


/* Highlight closed claims */
.closed-row {
    background-color: #d1e7dd;
}

/* Highlight open claims */
.open-row {
    background-color: #f8d7da;
}

/* Wrap long comment texts to stay within the message box */
.comment-text {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
}
