.toast {
    position: fixed;
    z-index: 999999;
    width: 250px;
    right: 20px;
    top: 20px;

    transform: translateX(120%);
    opacity: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    border-radius: 10px;
    transition: transform 0.5s ease, opacity 0.5s ease;
    text-align: left;
    border:none;
}

.toast.show {
    transform: translateX(0%);
    opacity: 1;
}
.toast.success {
    background: #249124;
    color: #fff;
    font-weight: bolder;
}
.toast.danger {
    background: #d55a5a;
    color: #000;
    font-weight: bolder;
}
.show {
    display: block !important;
}

/* Card */
#appointment_view_Modal .card {
    width: 400px;
    height: 250px;
    background: linear-gradient(135deg,#0e6a30,#86a792);
    margin: 10px auto;
    padding: 15px;
    color: #000;
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

/* Card variations */
#appointment_view_Modal .card.dark {
    background: linear-gradient(135deg,#14384a,#020629);
    color: #eae1e1;
}
#appointment_view_Modal .card.light {
    background: linear-gradient(135deg,#97b4c3,#343d88);
    color: #000;
}
#appointment_view_Modal .card.blue {
    background: linear-gradient(135deg,#3a00ba,#00084c);
    color: #17bfc7;
}
#appointment_view_Modal .card.yellow {
    background: linear-gradient(135deg,#a2a20c,#885512);
    color: #67c717;
}

/* Card text */
#appointment_view_Modal .card h2{
    margin:5px 0;
    font-size:16px;
    word-wrap:break-word;
}
#appointment_view_Modal .card p{
    font-size:18px;
    word-wrap:break-word;
}
#appointment_view_Modal .card h3{
    font-size:16px;
    word-wrap:break-word;
}

#appointment_view_Modal .card #appointment_view_Modal .card_img {
    opacity: 0.7;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 400px){
    .container {
        max-width: 100%;
        padding: 12px;
    }
    #appointment_view_Modal .card {
        width: 310px;
        height: 200px;
    }
    input, textarea{
        font-size:14px;
        padding:8px;
    }
    button{
        font-size:14px;
        padding:8px 10px;
    }
    #appointment_view_Modal .card h2{
        font-size:15px;
    }
    #appointment_view_Modal .card p {
        font-size: 18px;
        font-family: arial;
    }
    #appointment_view_Modal .card h3{
        font-size:16px;
    }
}