/** CSS RESET **/

/* span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
} */
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

/* body {
	line-height: 1;
} */
ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

/* table {
	border-collapse: collapse;
	border-spacing: 0;
} */
/* body{
  font-family: system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";
  background: #111216;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.4285em;
} */

/* modified by chairman */

/* Top Notification - Snackbar Style */
.custom-notification-container {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2147483647;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 0;
    width: 100%;
    max-width: 100%;
    pointer-events: none;
}

.custom-notification {
    opacity: 0;
    transform: translateY(-100%);
    transition: opacity 0.3s, transform 0.3s;
    width: 100%;
    height: auto;
    padding: 16px 20px;
    background-color: #ffffff;
    /* border-radius: 0px; */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    align-items: center;
    display: flex;
    pointer-events: auto;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.custom-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-notification .icon-container {
    display: flex;
    align-items: center;
    margin-right: 12px;
}

.custom-notification .icon-container>svg {
    height: 24px;
}

.custom-notification .content-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom-notification .content-container .title {
    font-weight: 600;
    font-size: 14px;
}

.custom-notification .content-container .message {
    font-size: 13px;
    font-weight: 400;
    color: #111215;
}

.custom-notification>button {
    background-color: transparent;
    font-size: 20px;
    color: #9b9dab;
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    height: 24px;
    width: 24px;
}

.custom-notification.success .icon-container>svg {
    fill: #47D764;
}

.custom-notification.success .content-container .title {
    color: #47d764;
}

.custom-notification.error .icon-container>svg {
    fill: #ff355b;
}

.custom-notification.error .content-container .title {
    color: #ff355b;
}

.custom-notification.info .icon-container>svg {
    fill: #2F86EB;
}

.custom-notification.info .content-container .title {
    color: #2F86EB;
}

.custom-notification.warning .icon-container>svg {
    fill: #FFC021;
}

.custom-notification.warning .content-container .title {
    color: #FFC021;
}

/* Progress bar animation */
.custom-notification::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.5);
    animation: progressBar 3s linear forwards;
}

@keyframes progressBar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Bottom Toast Container */
.custom-toast-container {
    position: fixed;
    right: 0;
    bottom: 0;
    z-index: 1050;
    margin-bottom: 1rem;
}

.custom-toast-container.top-right {
    top: 20px;
    right: 20px;
}

.custom-toast-container.top-left {
    top: 20px;
    left: 20px;
}

.custom-toast-container.bottom-right {
    bottom: 20px;
    right: 20px;
}

.custom-toast-container.bottom-left {
    bottom: 20px;
    left: 20px;
}

.custom-toast-container.center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-toast {
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s, transform 0.3s;
    width: 100%;
    height: auto;
    padding: 16px 0;
    background-color: #ffffff;
    /* border-radius: 140px; */
    box-shadow: 0 9px 10px rgb(0 0 0 / 29%);
    margin-right: 1rem;
    align-items: center;
    display: flex;
    margin-bottom: 0.5rem;
}

.custom-toast.show {
    opacity: 1;
    transform: translateY(0);
}

.custom-toast .icon-container {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.custom-toast .icon-container>svg {
    height: 34px;
}

.custom-toast .content-container {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.custom-toast .content-container .title {
    font-weight: 600;
    font-size: 15px;
}

.custom-toast .content-container .message {
    font-size: 14px;
    font-weight: 400;
    color: #111215;
}

.custom-toast>button {
    background-color: transparent;
    font-size: 25px;
    color: #9b9dab;
    cursor: pointer;
    border: 0;
    padding: 0;
    margin: 0;
    height: 34px;
    width: 34px;
}

.custom-toast.success .icon-container>svg {
    fill: #47D764;
}

.custom-toast.success .content-container .title {
    color: #47d764;
}

.custom-toast.error .icon-container>svg {
    fill: #ff355b;
}

.custom-toast.error .content-container .title {
    color: #ff355b;
}

.custom-toast.info .icon-container>svg {
    fill: #2F86EB;
}

.custom-toast.info .content-container .title {
    color: #2F86EB;
}

.custom-toast.warning .icon-container>svg {
    fill: #FFC021;
}

.custom-toast.warning .content-container .title {
    color: #FFC021;
}

/* .custom-toast-container .custom-toast:last-child {
    margin-bottom: 1rem;
} */

@media (max-width: 568px) {
    .custom-toast {
        margin: auto 0.5rem;
        left: 0;
        right: 0;
        width: calc(100% - 1rem);
        margin-bottom: 0.5rem;
    }

    .custom-toast-container {
        margin: 0;
    }
}