﻿.core-msg {
    position: fixed;
    inset: 0;
    z-index: var(--ps-z-message, 200000);
    display: grid;
    place-items: center;
    padding: 24px;
    box-sizing: border-box;
    overflow: auto;
    background: rgba(3, 13, 28, 0.42);
    font-family: Arial, Helvetica, sans-serif;
}

.core-msg__dialog {
    width: min(100%, 500px);
    min-height: 190px;
    padding: 24px 26px 26px;
    box-sizing: border-box;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(3, 13, 28, 0.28);
    z-index: var(--ps-z-message-dialog, 200010);
}

.core-msg__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.core-msg__title {
    color: #222;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    font-weight: 300;
    line-height: 1.2;
}

.core-msg__close {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #0b2142;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 22px;
    line-height: 1;
    text-decoration: none;
}

.core-msg__close:hover,
.core-msg__close:focus {
    background: #eef4fa;
    text-decoration: none;
}

.core-msg__body {
    margin: 26px 0 34px;
    color: #111;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.45;
}

.core-msg__body h3,
.core-msg__body h4,
.core-msg__body h5 {
    margin-top: 0;
}

.core-msg__actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.core-msg__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 30px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #0797ff;
    color: #fff;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400 !important;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(7, 151, 255, 0.18);
}


.core-msg__button span,
.core-msg__button label {
    font-weight: 400 !important;
}
.core-msg__button:hover,
.core-msg__button:focus {
    background: #061a33;
    color: #fff;
    text-decoration: none;
}

.core-msg__button--secondary {
    background: #fff;
    color: #061a33;
    border: 1px solid #ddd;
    box-shadow: none;
}

.core-msg__button--secondary:hover,
.core-msg__button--secondary:focus {
    background: #eef4fa;
    color: #061a33;
}
.core-msg__button.is-loading {
    pointer-events: none;
    cursor: wait !important;
    opacity: 0.9;
}

.core-msg__button-spinner {
    font-weight: 900 !important;
    margin-right: 8px;
    flex: 0 0 auto;
}



