//
// toastr.scss
//

.jq-toast-single {
    text-align: left !important;
    padding: 15px;
    font-family: $font-family-base;
    background-color: var(--#{$prefix}primary);
    font-size: 13px;
    line-height: 22px;
    box-shadow: var(--#{$prefix}box-shadow-lg);

    h2 {
        font-family: $font-family-base;
    }

    a {
        font-size: $font-size-base;

        &:hover {
            color: $white;
        }
    }
}

.jq-has-icon {
    padding: 10px;
}


.close-jq-toast-single {
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 20px;
    cursor: pointer;
    height: 32px;
    width: 32px;
    background: var(--#{$prefix}gray-800);
    color: var(--#{$prefix}gray-300);
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
}

.jq-toast-loader {
    height: 3px;
    top: 0;
    border-radius: 0;
}

@each $color,
$value in $theme-colors {
    .jq-icon-#{$color} {
        background-color: #{$value};
        color: $white;
        border-color: #{$value};
    }
}

// For error
.jq-icon-error {
    background-color: $danger;
    color: $white;
    border-color: $danger;
}


.jq-icon-info,
.jq-icon-warning,
.jq-icon-error,
.jq-icon-success {
    background-image: none;
}