/* Estilos para el modal de alerta */
.custom-alert-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.custom-alert-content {
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.modal-alert-header{
    display: flex;
    flex-direction: column;
    gap: .6rem;
    border-radius: .6rem .6rem 0 0;
    padding: 1.4rem 0 .9rem 0;
    background: #f9f9f9;
}

.modal-alert-body{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .6rem;
    flex-direction: column;
    background: #f9f9f9;
    padding: .6rem .4rem;
    border-radius: 0 0 .6rem .6rem;
}

#custom-alert-title {
    font-size: 1em;
    font-weight: bolder;
    color: #333;
}

.btn-confirm-container{
    display: flex;
    gap: .8rem;     
}

.custom-alert-content p {
    font-size: 1em;
    color: #555;
}

.custom-alert-button {
    width: fit-content;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: .9em;
    font-weight: 700;
}

.custom-alert-button.alert-error {
    transition: all ease-in-out .4s;
    background-color: #dc3545;
}

.custom-alert-button.alert-error:hover {
    background-color: #c82333;
}

.custom-alert-button.alert-success {
    transition: all ease-in-out .4s;
    background-color: #28a745;
}

.custom-alert-button.alert-success:hover {
    background-color: #218838;
}

.custom-alert-button.alert-warning {
    background-color: #ffc107;
    color: #333;
    transition: all ease-in-out .4s;
}

.custom-alert-button.alert-warning:hover {
    background-color: #e0a800;
}

.custom-alert-button.alert-info {
    transition: all ease-in-out .2s;
    background-image: linear-gradient(to right, #e0f8fd 0%, #a0c6fa  51%, #ddf9ff  100%);
    background-size: 200% auto;
    border: none;
    outline: solid 2px #a9bedb;
    color: #333;
}

.custom-alert-button.alert-info:hover {
    background-position: right center;
    box-shadow: 0 0 12px #82ace7;
    outline: solid 2px #82ace7;
}

.custom-alert-button.alert-cancel {
    border: solid 1px #c82333;
    transition: all ease-in-out .2s;
    background: none;
    /* background-image: linear-gradient(to right, #e2c6c6 0%, #eb7272  51%, #ebdddd  100%);
    background-size: 200% auto; */
    border: none;
    outline: solid 2px #eb9090;
    color: #333;
}

.custom-alert-button.alert-cancel:hover {
    background-position: right center;
    box-shadow: 0 0 12px #d89a9a;
    outline: solid 2px #d44b47;
}

/* Estilos existentes para login */
.login-container {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.login-container button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.login-container button:hover {
    background-color: #0056b3;
}

.confirm-comment{
    width: 80%;
    border-bottom: 2px solid #ccc;
    background: none;
    font-size: 15px;
    outline: solid 2px rgba(0,0,0,0);
    transition: all ease-in-out .3s;
    border-radius: .4rem;
    border: solid 1px rgb(211, 206, 206);
    padding: .4rem;
    resize: none;
}

/* #custom-alert-comentario{
    padding: .4rem;
} */