.form-group-flex {
    margin-bottom: 1.5rem; 
}

.form-group-flex label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group-flex input {
    width: 100%;
}

@media (min-width: 576px) {

    .form-group-flex {
        display: flex;
        align-items: baseline;
        gap: 1rem;
    }

    .form-group-flex label {
        margin-bottom: 0;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .form-group-flex input {
        width: auto;
        flex-grow: 1;
    }

    .form-row-md {
        display: flex; 
        gap: 1rem;     
    }

    .form-row-md > div {
        flex: 1; 
    }
}

select.form-control {
  -webkit-appearance: auto;
  -moz-appearance: auto;
  appearance: auto;
  padding-left: 0;
}
.tag-item {
    display: inline-flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 20px;
    padding: 5px 10px;
    margin: 5px;
    font-size: 14px;
}

.tag-item .tag-text {
    margin-right: 5px;
}

.tag-item .tag-delete {
    cursor: pointer;
    width: 16px;
    height: 16px;
    background-color: #ccc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
}

.tag-item .tag-delete:hover {
    background-color: #999;
}

/* Estilo base para todas las alertas */
.alert {
    padding: 15px;
    margin-top: 20px;
    border: 1px solid transparent;
    border-radius: 8px; /* Bordes redondeados */
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1); /* Sombra sutil */
}

/* Estilo para mensajes de ÉXITO (verde) */
.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

/* Estilo para mensajes de ERROR (rojo) */
.alert-error {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

/* Estilo para mensajes de INFORMACIÓN (azul) */
.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}