.login-box2 {
    width: 500px !important;
    height: 500px !important;
}

.messages .alert {
    position: relative;
    padding-right: 45px;
}

.messages .alert .btn-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.alert .btn-close {
    right: 5px;
}


body.login-page .alert.alert-dismissible .btn-close {
    position: absolute !important;
    top: 50% !important;
    right: 10px !important;
    left: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
}

body.login-page .alert.alert-dismissible {
    position: relative !important;
    padding-right: 45px !important;
}

/* Contenedor general */
.soft-alert {
    border-radius: 8px;
    border-left: 5px solid;
    border-top: none;
    border-right: none;
    border-bottom: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);

    padding: 14px 45px 14px 16px;

    font-size: 0.95rem;
}

/* SUCCESS */
.soft-alert-success {
    background-color: #e8f5e9;
    border-left-color: #2e7d32;
    color: #245b27;
}

.soft-alert-success .soft-alert-icon {
    color: #2e7d32;
}

/* ERROR */
.soft-alert-danger {
    background-color: #fdeaea;
    border-left-color: #c62828;
    color: #8e2424;
}

.soft-alert-danger .soft-alert-icon {
    color: #c62828;
}

/* WARNING */
.soft-alert-warning {
    background-color: #fff8e1;
    border-left-color: #f9a825;
    color: #7a5a00;
}

.soft-alert-warning .soft-alert-icon {
    color: #f9a825;
}

/* INFO */
.soft-alert-info {
    background-color: #e8f4f8;
    border-left-color: #0277a8;
    color: #075b7a;
}

.soft-alert-info .soft-alert-icon {
    color: #0277a8;
}

/* Icono */
.soft-alert-icon {
    font-size: 1.25rem;
    min-width: 25px;
    text-align: center;
}

/* Mensaje */
.soft-alert-message {
    line-height: 1.4;
}

/* Botón X */
.soft-alert .close {
    color: inherit;
    opacity: 0.6;
    text-shadow: none;
}

.soft-alert .close:hover {
    opacity: 1;
}

.alert .close,
.alert .close:hover,
.alert .close:focus {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.alert .close span {
    color: #ffffff !important;
    font-family: Arial, sans-serif !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}
