.profile {
    text-align: center;
    margin-top: 10px;
}

.profile a {
    display: inline;
}

.profile img {
    transition: all 0.3s ease 0s;
    max-width: 45%;
}

.centerDiv {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 10px;
}

.c-pointer {
    cursor: pointer;
}

.txt-bold {
    font-weight: bold;
}

.text-justify {
    text-align: justify !important;
}
/* Border */

/* Colores */
.bg-jobi,
.btn-jobi {
    background-color: var(--jobi-primary-color);
}

.btn-jobi {
    border-color: var(--jobi-primary-color-opacity-8);
    background-color: var(--jobi-primary-color);
}

.btn-jobi:hover {
    background-color: var(--jobi-secundary-color) !important;
    border-color: var(--jobi-secundary-color);
}

.btn-outline-jobi {
    border-color: var(--jobi-primary-color);
    color: var(--jobi-primary-color)
}

.btn-outline-jobi:hover {
    background-color: var(--jobi-primary-color) !important;
    border-color: var(--jobi-primary-color);
}

.text-pg-primary-300,
.text-primary,
.color-jobi {
    color: var(--jobi-primary-color) !important;
}

/* Modals */
.bg-modal,
.modal-content {
    background-color: #F5F7FA;
}

/* Tables */
.table-scroll {
    overflow-x: auto !important;
}

.th-word-wrap {
    white-space: normal;
    word-wrap: break-word;
}

.current {
    background-color: var(--jobi-primary-color) !important;
    color: white !important;
    border-color: var(--jobi-primary-color-opacity-8) !important;
}

/* Select */
.clearSelect {
    width: 100% !important;
    appearance: none; /* Elimina la apariencia predeterminada en otros navegadores */
}

.clearSelect /* .ms-choice */ {
    border: 0 !important;
    color: var(--jobi-primary-color);
    font-weight: bold;
    font-size: 1rem;
}

.clearSelect .ms-choice > span {
    padding-left: 0 !important;
}

/* Estilo adicional para mantener el icono de desplegable */
.clearSelect::after {
    content: '▼'; /* Icono de flecha */
    position: absolute; /* Posición absoluta */
    right: 0.5em; /* Ajuste a la derecha */
    pointer-events: none; /* No interferir con los eventos del usuario */
}

.ms-choice {
    border-width: 0;
}


/* Asegurarse de que el contenedor tenga posición relativa */
.clearSelect-container {
    position: relative;
    display: inline-block;
}

/* Forms controls */
.form-control {
    font-size: var(--global-font-size) !important;
}

.btn-close:focus,
.form-control:focus {
    border-color: var(--jobi-primary-color);
    box-shadow: 0 0 0 0.2rem var(--jobi-secundary-color-O25);
}

.form-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + .75rem);
    /* background-image: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e); */
    background-repeat: no-repeat;
    background-position: right calc(.375em + .1875rem) center;
    background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

.form-label {
    margin-bottom: 0.3rem;
}

/* Font size */
.fs-global {
    font-size: var(--global-font-size) !important;
}

.fs-10 {
    font-size: 10px;
}

/* Estilos para la lista de navegación */
.nav-scroll {
    overflow-x: auto;
    white-space: nowrap;
}

.nav {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: black;
    text-decoration: none;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.nav-link:hover {
    color: var(--jobi-primary-color);
    border-radius: 10px;
    cursor: pointer;
}

.nav-link.active:hover {
    background-color: var(--jobi-primary-color-opacity-8) !important;
    border-radius: 10px;
}

.nav-link.active {
    color: #fff;
    background-color: var(--jobi-primary-color) !important;
    border-radius: 10px;
}

.nav-link.disabled {
    color: #6c757d;
    cursor: not-allowed;
}

/* Tabs v2 */
.tabs-container {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.tabs-title,
.tabs-title-sm  {
    margin-right: 5px;
    margin-bottom: 5px;
}

.tabs-title a,
.tabs-title-sm a {
    align-content: center;
    background-color: white;
    border: 1px solid var(--jobi-primary-color);
    border-radius: 5px;
    color: #000;
    cursor: pointer;
    display: block;
    font-size: 1rem;
    font-weight: bold;
    height: 2.7rem;
    width: 168px;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.tabs-title-sm a {
    width: 130px !important;
    height: 2.2rem !important;
    font-size: 12px !important;
    font-weight: normal !important;
    padding: 5px 10px !important;

}

.tabs-title.active a,
.tabs-title-sm.active a {
    background-color: var(--jobi-primary-color);
    color: #fff;
    border-color: var(--jobi-primary-color);
}

.tabs-title a:hover,
.tabs-title-sm a:hover  {
    color: var(--jobi-primary-color) !important;
}

.tabs-title.active a:hover,
.tabs-title-sm.active a:hover  {
    background-color: var(--jobi-primary-color);
    color: #fff !important;
}

/* New class for full-width tabs */
.tabs-w-100 {
    display: flex;
    justify-content: space-between; /* Ensure tabs are spaced evenly */
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow: hidden; /* Hide overflow */
    width: 100%; /* Ensure container takes full width */
}

.tabs-w-100 .tabs-title {
    flex: 1 1 auto; /* Allow flex items to grow and shrink */
    margin-right: 5px; /* Add margin to the right */
}

.tabs-w-100 .tabs-title:last-child {
    margin-right: 0; /* Remove margin for the last item */
}

.tabs-w-100 .tabs-title a {
    width: auto;
}

/* Checkbox */
.form-radio:checked,
.form-checkbox:checked {
    background-color: var(--jobi-primary-color) !important;
    border-color: var(--jobi-primary-color) !important;
}

.form-check-input:checked {
    background-color: var(--jobi-primary-color);
    border-color: var(--jobi-primary-color);
}

.ms-choice:focus,
.form-radio:focus,
.form-check-input:focus {
    border-color: var(--jobi-secundary-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(--jobi-secundary-color-O25);
}

.f-check-md {
    width: 1.5em;
    height: 1.5em;
    margin-top: .1em;
}

.f-check-alt:checked {
    background-color: var(--jobi-alternative-color);
    border-color: var(--jobi-alternative-color);
}

.f-check-alt:focus {
    border-color: var(--jobi-alternative-color);
    outline: 0;
    box-shadow: 0 0 0 0.25rem var(jobi-alternative-color-O25);
}

.ms-drop input[type="radio"]:checked,
.ms-drop input[type="checkbox"]:checked {
    accent-color: var(--jobi-primary-color);
}

/* Cards */
.box {
    border-radius: 5px;
    padding: 15px;
    background-color: white;
    border-top: 3px solid var(--jobi-primary-color);
}

.no-filter {
    filter: none !important;
}

.power-grid-table th {
    background-color: var(--jobi-primary-color);
    color: white !important;
}

.power-grid-table th .\!text-base-content span,
.power-grid-table th .\!text-base-content svg {
    color: white !important;
}

.swal2-validation-message {
    background: #ffffff00;
}

.notification-badge {
    display: inline-block;
    width: 14px;
    height: 14px;
    background-color: red;
    border-radius: 50%;
    top: -4px;
    right: -4px;
    position: absolute;
    border: 2px solid white;
}
