/*
 * Toastr - Modern Redesign
 * Version 2.0.1
 * Copyright 2012 John Papa and Hans Fjällemark.
 * All Rights Reserved.
 * Use, reproduction, distribution, and modification of this code is subject to the terms and
 * conditions of the MIT license, available at http://www.opensource.org/licenses/mit-license.php
 *
 * Author: John Papa and Hans Fjällemark
 * Project: https://github.com/CodeSeven/toastr
 */
.toast-title {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.toast-message {
    word-wrap: break-word;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.9;
}

.toast-message a,
.toast-message label {
    color: #ffffff;
}

.toast-message a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.toast-close-button {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.1);
    border: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
}

.toast-close-button:hover,
.toast-close-button:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.toast-top-left {
    top: 16px;
    left: 16px;
}

.toast-top-right {
    top: 16px;
    right: 16px;
}

.toast-bottom-right {
    bottom: 16px;
    right: 16px;
}

.toast-bottom-left {
    bottom: 16px;
    left: 16px;
}

.toast-top-full-width {
    top: 0;
    right: 0;
    width: 100%;
}

.toast-bottom-full-width {
    bottom: 0;
    right: 0;
    width: 100%;
}

#toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}

#toast-container * {
    box-sizing: border-box;
}

#toast-container > div {
    margin: 0 0 10px;
    padding: 16px 48px 16px 20px;
    width: 380px;
    max-width: calc(100vw - 32px);
    border-radius: 16px;
    background-position: 16px center;
    background-repeat: no-repeat;
    background-size: 22px;
    color: #ffffff;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

#toast-container > div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

#toast-container > div:hover {
    transform: translateX(0) scale(1.01);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

#toast-container > div.toast-show {
    opacity: 1;
    transform: translateX(0);
}

#toast-container > div.toast-hide {
    opacity: 0;
    transform: translateX(120%);
}

.toast-top-full-width > div,
.toast-bottom-full-width > div {
    width: 96%;
    max-width: 96%;
    margin: auto;
}

.toast {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
}

.toast-success {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.toast-success::before {
    background: #34d399;
}

.toast-error {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.toast-error::before {
    background: #f87171;
}

.toast-info {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

.toast-info::before {
    background: #60a5fa;
}

.toast-warning {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.toast-warning::before {
    background: #fbbf24;
}

/* Progress bar animation */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    transition: width 0.1s linear;
}

/* Responsive */
@media all and (max-width: 480px) {
    #toast-container > div {
        padding: 14px 42px 14px 16px;
        width: calc(100vw - 32px);
        border-radius: 14px;
        font-size: 13px;
    }

    .toast-title {
        font-size: 13px;
    }

    .toast-message {
        font-size: 12px;
    }
}

@media all and (min-width: 481px) and (max-width: 768px) {
    #toast-container > div {
        width: 360px;
    }
}