/* ==============================
   Custom Alert Styles
   For data-dismiss="alert"
   ============================== */

/* General alert box */
.alert {
    position: relative;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Info alert */
.alert-info {
    background-color: #e7f1fd;
    color: #114584;
    border-left: 5px solid #114584;
}

/* Success alert */
.alert-success {
    background-color: #e6f6ec;
    color: #1f7d3b;
    border-left: 5px solid #1f7d3b;
}

/* Danger alert */
.alert-danger {
    background-color: #fde6e6;
    color: #d32f2f;
    border-left: 5px solid #d32f2f;
}

/* Warning alert */
.alert-warning {
    background-color: #fff4e5;
    color: #d47a1f;
    border-left: 5px solid #d47a1f;
}

/* ==============================
   Close button for alerts
   ============================== */
.alert .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    line-height: 26px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.alert .close:hover {
    background: #f0f0f0;
    color: #114584;
    transform: scale(1.1);
}

/* Fade out effect (optional) */
.alert.fade {
    opacity: 0;
    transition: opacity 0.3s linear;
}

.alert.show {
    opacity: 1;
}