/* Toastr 基础样式 */
#toast-container {
    position: fixed;
    z-index: 999999;
    pointer-events: none;
}

#toast-container > * {
    pointer-events: auto;
}

.toast-top-right {
    top: 12px;
    right: 12px;
}

.toast-top-left {
    top: 12px;
    left: 12px;
}

.toast-bottom-right {
    right: 12px;
    bottom: 12px;
}

.toast-bottom-left {
    bottom: 12px;
    left: 12px;
}

.toast-top-center {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.toast-bottom-center {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
}

.toast {
    background-color: #030303;
    position: relative;
    overflow: hidden;
    margin: 0 0 6px;
    padding: 15px 15px 15px 50px;
    width: 300px;
    border-radius: 3px 3px 3px 3px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
    color: #FFFFFF;
    opacity: 0.9;
    cursor: pointer;
    display: block;
    min-height: 48px;
}

.toast:hover {
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
    opacity: 1;
}

.toast.toast-success {
    background-color: #51A351;
}

.toast.toast-error {
    background-color: #BD362F;
}

.toast.toast-info {
    background-color: #2F96B4;
}

.toast.toast-warning {
    background-color: #F89406;
}

.toast-title {
    font-weight: bold;
}

.toast-message {
    word-wrap: break-word;
    font-size: 14px;
    line-height: 1.4;
}

.toast-close-button {
    position: relative;
    right: -0.3em;
    top: -0.3em;
    float: right;
    font-size: 20px;
    font-weight: bold;
    color: #FFFFFF;
    text-shadow: 0 1px 0 #FFFFFF;
    opacity: 0.8;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
}

.toast-close-button:hover,
.toast-close-button:focus {
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    opacity: 0.4;
}

.toast-progress {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    background-color: #000000;
    opacity: 0.4;
}

.toast-progress-bar {
    height: 4px;
    background-color: #FFFFFF;
    opacity: 0.6;
}

.rtl {
    direction: rtl;
    text-align: right;
}

.rtl .toast-close-button {
    left: -0.3em;
    float: left;
    right: 0.3em;
}

/* 响应式 */
@media all and (max-width: 240px) {
    #toast-container > div {
        width: 11em;
    }
}

@media all and (min-width: 241px) and (max-width: 480px) {
    #toast-container > div {
        width: 18em;
    }
}

@media all and (min-width: 481px) and (max-width: 768px) {
    #toast-container > div {
        width: 25em;
    }
}

