.toast-cst{
    position: fixed;
    right: 10px;
    top: 10px;
    z-index: 99999;
    padding: 10px 5px;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    border-radius: 5px;
    --color: #fff;
    background-color: #1e5e2b;
    border: 4px solid #1e5e2b;
    animation: show 1s ease 1 forwards;
}
.toast-cst {
    width: 460px !important; /* Default: Büyük ekranlar için */
}

/* Tabletler ve küçük laptoplar */
@media (max-width: 1140px) {
    .toast-cst {
        width: 400px !important;
    }
}

/* Büyük telefonlar ve küçük tabletler */
@media (max-width: 768px) {
    .toast-cst {
        width: 375px !important;
    }
}

/* Küçük telefonlar */
@media (max-width: 425px) {
    .toast-cst {
        width: 340px !important;
    }
}

.toast-cst .content{
    width: 100%;
}
.toast-cst i{
    color: var(--color);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: x-large;
}
.toast-cst .title{
    font-size: x-large;
    font-weight: bold;
}
.toast-cst span, .toast-cst i:nth-child(3){
    color: #fff;
    opacity: 1;
}
@keyframes show{
    0%{
        transform: translateX(100%);
    }
    40%{
        transform: translateX(-5%);
    }
    100%{
        transform: translateX(0%);
    }
}
.toast-cst::before{
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--color);
    width: 100%;
    height: 3px;
    content: '';
    box-shadow: 0 0 10px var(--color);
    animation: timeOut 5s linear 1 forwards
}
@keyframes timeOut{
    to{
        width: 0;
    }
}
.toast-cst.error{
    --color: #fff;
    background-color: #8f4141 !important;
    border: 4px solid #8f4141;

}
.toast-cst.warning{
    --color: #fff;
    background-color: #b9a14c !important;
    border: 4px solid #b9a14c;
}
.toast-cst.info{
    --color: #fff;
    background-color: #0060c3 !important;
    border: 4px solid #0060c3;
}