﻿#snackbar {
    visibility: hidden;
    min-width: 300px;
    margin-left: 0; 
    background-color: #1F2933;
    color: #FFFFFF; 
    text-align: right;
    border-radius: 5px;
    position: fixed;
    z-index: 1051;
    right: 20px; 
    top: 20px; 
    font-size: 16px;
    overflow: hidden;
    direction: rtl;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2); 
}

.notify-progress {
    height: 4px;
    display: block;
    width: 100%;
    bottom: 0;
    animation: decreaseBorderWidth linear forwards;
}

.successClass, .SuccessClass {
    background-color: #4CAF50;
    animation: decreaseBorderWidth 3s linear forwards;
}

.errorClass, .ErrorClass {
    background-color: #F44336;
    animation: decreaseBorderWidth 3s linear forwards;
}

.infoClass, .InfoClass {
    background-color: #2196F3; 
    animation: decreaseBorderWidth 3s linear forwards;
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 3s;
    animation: fadein 0.5s, fadeout 0.5s 3s;
}

.massage-icon {
    margin-left: 8px;
    width: 24px;
    height: 24px;
}

@keyframes decreaseBorderWidth {
    from {
        width: 100%;
    }

    to {
        width: 0;
    }
}

@-webkit-keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 20px; 
        opacity: 1;
    }
}

@keyframes fadein {
    from {
        top: 0;
        opacity: 0;
    }

    to {
        top: 20px;
        opacity: 1;
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 20px; 
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}

@keyframes fadeout {
    from {
        top: 20px;
        opacity: 1;
    }

    to {
        top: 0;
        opacity: 0;
    }
}


.highlight {
    border: 1px solid red !important;
    background-color: #ffe6e6 !important; 
    box-shadow: 0 0 5px rgba(255, 0, 0, 0.3) !important;
}

.required:after {
    content: " *";
    color: red;
    font-size: 16px;
}
.optional:after {
    content: " +";
    color: #0f6cbd;
    font-size: 16px;
}

.recommended:after {
    content: " +";
    color: #0f6cbd;
    font-size: 14px;
}

