@font-face {
    font-family: Samim;
    src: url(../fonts/Samim.ttf);
}
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Samim;
}
body{
    background-color: rgb(3, 10, 17);
    direction: rtl;
}
::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}
::-webkit-scrollbar-track {
    background-color: rgb(19, 19, 19);
    color: white;
}
::-webkit-scrollbar-thumb {
    background-color: #3e45ff;
    border-radius: 20px;
}
.Alert {
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999999;

    display: flex;
    align-items: center;
    gap: 8px;

    min-width: 250px;
    max-width: 90%;   /* برای موبایل مهم */
    padding: 8px 14px;

    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);

    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
	text-align: justify;
    font-size: 13px;
    color: #222;

    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    word-wrap: break-word;   /* متن نشکنه */
}

.Alert:hover {
    transform: translateX(-50%) scale(1.03);
    box-shadow: 0 6px 22px rgba(0,0,0,0.12);
}

#Alert-Icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    display: flex;
	padding: 2px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5b50dc, #877cff);
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}

#Alert-Title {
    font-size: 13px;
    color: #111;
    margin: 0;
    line-height: 1.3;
	font-weight: bold;
}

#Alert-Message {
    font-size: 12px;
    color: #444;
    margin: 0;
    line-height: 1.3;
    word-break: break-word;
	font-weight: lighter;
}

/* انیمیشن */
@keyframes AlertShow {
    0% {
        top: -100px;
        opacity: 0;
        transform: translateX(-50%) scale(0.95);
    }
    60% {
        top: 20px;
        opacity: 1;
        transform: translateX(-50%) scale(1.02);
    }
    100% {
        top: 20px;
        transform: translateX(-50%) scale(1);
    }
}
@keyframes AlertHide {
    0% {
        top: 20px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        top: -100px;
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
}

@media (max-width: 480px) {
	@keyframes AlertShow {
	    0% {
	        top: -100px;
	        opacity: 0;
	        transform: translateX(-50%) scale(0.95);
	    }
	    60% {
	        top: 50px;
	        opacity: 1;
	        transform: translateX(-50%) scale(1.02);
	    }
	    100% {
	        top: 50px;
	        transform: translateX(-50%) scale(1);
	    }
	}
	@keyframes AlertHide {
    0% {
        top: 50px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    100% {
        top: -100px;
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
}
}