.app-flash-messages {
    position: fixed;
    top: 82px;
    left: 50%;
    z-index: 1080;
    width: min(720px, calc(100vw - 32px));
    transform: translateX(-50%);
}

.auth-wrapper > .app-flash-messages {
    top: 24px;
}

.app-alert {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 78px;
    margin-bottom: 14px;
    padding: 18px 58px 18px 24px;
    border: 0;
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    color: #171717;
    overflow: hidden;
}

.app-alert-success {
    background-color: #b9f7c8;
}

.app-alert-info {
    background-color: #b8edf8;
}

.app-alert-warning {
    background-color: #fde9bf;
}

.app-alert-danger {
    background-color: #ffb8bd;
}

.app-alert-icon {
    flex: 0 0 auto;
    font-size: 34px;
    line-height: 1;
}

.app-alert-body {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app-alert-body strong {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.app-alert-body span {
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.4;
}

.app-alert-close {
    position: absolute !important;
    top: 50% !important;
    right: 18px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0 !important;
    transform: translateY(-50%) !important;
    border: 0 !important;
    border-radius: 50%;
    background: transparent !important;
    color: #171717;
    font-size: 24px;
    line-height: 1;
    opacity: 0.85;
    text-shadow: none;
    cursor: pointer;
}

.app-alert-close .ik {
    display: block;
    line-height: 1;
}

.app-alert-close:hover {
    color: #000;
    opacity: 1;
}

@media (max-width: 575.98px) {
    .app-flash-messages {
        top: 16px;
        width: calc(100vw - 24px);
    }

    .app-alert {
        align-items: flex-start;
        min-height: 68px;
        padding: 15px 48px 15px 16px;
    }

    .app-alert-icon {
        font-size: 28px;
    }

    .app-alert-body strong {
        font-size: 17px;
    }
}
