main {
    animation: fadeIn 0.3s ease-in-out;
}

.btn-container {
    display: flex;
    column-gap: 0.3rem;
}

.btn-item {
    padding: 0.7rem 1.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 10px;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color-hover);
}

.btn-secondary {
    background-color: var(--tertiary-color-hover);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: var(--tertiary-color);
}

.input-group {
    display: flex;
    flex-direction: column;
    width: auto;
    margin-bottom: 0.7rem;
}

.input-group-label {
    font-size: 0.9rem;
    
}

.semibold {
    font-weight: 550;
}

.bold {
    font-weight: 600;
}

.input-group-field {
    flex-grow: 1;
    padding: 0.4rem;
    border: 1px solid #999999;
    border-radius: 0.45rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.input-group-field:focus {
    outline: none;
    box-shadow: 0 0 0 0.2rem rgb(169 179 180 / 25%);
}

.input-group-radio,
.input-group-checkbox {
    display: flex;
    flex-direction: row;
    align-items: center;
    column-gap: 0.3rem;
    padding: 0.4rem;
}

.form-container {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 1.2rem;
    margin-left: 0.1rem;
}

.flex-container {
    display: flex;
}

.dialog-alert {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 1.3rem;
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    animation: fadeInOut 0.3s ease-in-out forwards;
}

.dialog-alert::backdrop {
    background-color: rgba(0, 0, 0, 0.5);
}

.dialog-alert.open {
    opacity: 1;
    visibility: visible;
    animation: none;
}

.dialog-alert h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.dialog-alert p {
    font-size: 1rem;
    color: #333;
    text-align: center;
    padding: 1rem;
}

.loading-spinner-container {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
}


.spinner {
    border: 9px solid #f3f3f3;
    border-top: 9px solid var(--primary-color);
    border-radius: 50%;
    width: 65px;
    height: 65px;
    animation: spin 2s linear infinite;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.primary-color {
    color: var(--primary-color);
}

.secondary-color {
    color: var(--secondary-color);
}

.tertiary-color {
    color: var(--tertiary-color);
}

.table-container {
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    overflow: hidden;
    overflow-x: auto;
    overflow-y: auto;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.table-header {
    display: grid;
    font-weight: bold;
    color: white;
    background-color: var(--primary-color);
    padding: 0.7rem;
}

.table-body-container {
    font-weight: 500;
}

.table-row {
    display: grid;
    padding: 0.7rem;
}

.table-row:nth-child(even) {
    background-color: #f8f8f8;
}


.btnCerrarModal {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 50%
}

.btnCerrarModal:hover {
    color: var(--primary-color);
    background-color: #f0f0f0;
}

.btnCerrarModal i {
    font-size: 1.5em;
}


.btn-icon-squared {
    border-radius: 6px;
    background-color: var(--accent-color);
    color: white;
    width: 2rem;
    height: 2rem;
}

.btn-icon-squared:hover {
    background-color: var(--accent-color-hover);
}

.btn-icon-squared:disabled {
    background-color: var(--accent-color-disabled);
    cursor: not-allowed;
}