.cc-toast-container
{
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1555;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
    max-width: calc(100vw - 32px);
}

.cc-toast
{
    pointer-events: auto;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    width: 360px;
    max-width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 18px 40px rgba(0,0,0,0.16), 0 4px 14px rgba(0,0,0,0.08);
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
}

.cc-toast:before
{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 14px 0 0 14px;
    background: #28a745;
}

.cc-toast-error:before
{
    background: #dc3545;
}

.cc-toast-icon
{
    flex: 0 0 auto;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-top: 1px;
    background: rgba(40,167,69,0.12);
    color: #1e7e34;
    box-shadow: inset 0 0 0 1px rgba(40,167,69,0.14);
}

.cc-toast-error .cc-toast-icon
{
    background: rgba(220,53,69,0.12);
    color: #b02a37;
    box-shadow: inset 0 0 0 1px rgba(220,53,69,0.14);
}

.cc-toast-body
{
    flex: 1 1 auto;
    min-width: 0;
}

.cc-toast-title
{
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin-bottom: 3px;
}

.cc-toast-message
{
    font-size: 13px;
    line-height: 1.45;
    color: #4b5563;
    word-break: break-word;
}

.cc-toast-close
{
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    outline: none !important;
    box-shadow: none !important;
    font-size: 20px;
    line-height: 1;
    padding: 0;
    margin: -2px -4px 0 0;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.cc-toast-close:hover
{
    background: rgba(0,0,0,0.06);
    color: #111827;
    transform: scale(1.04);
}

.cc-toast-progress
{
    position: absolute;
    left: 0;
    bottom: 0;
    height: 3px;
    width: 100%;
    background: rgba(0,0,0,0.06);
    overflow: hidden;
}

.cc-toast-progress-bar
{
    width: 100%;
    height: 100%;
    transform-origin: left center;
    animation: cc_toast_progress 6s linear forwards;
    background: rgba(40,167,69,0.85);
}

.cc-toast-error .cc-toast-progress-bar
{
    background: rgba(220,53,69,0.9);
}

@keyframes cc_toast_progress
{
    from
    {
        transform: scaleX(1);
    }
    to
    {
        transform: scaleX(0);
    }
}

@media (max-width: 575.98px)
{
    .cc-toast-container
    {
        left: 12px;
        right: 12px;
        bottom: 12px;
        align-items: stretch;
    }

    .cc-toast
    {
        width: 100%;
    }
}