﻿
.floating-button {
    position: fixed;
    bottom: 20px;
    right: 140px;
    background-color: #eb530c;
    color: white;
    border:  ridge;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
}

    .floating-button.show {
        opacity: 1;
        visibility: visible;
    }

    .floating-button:hover {
        background-color: #ff0000;
    }
/**/

.myText-thin-shadow {
    font-family: Vazirmatn;
    font-weight : 500;
    color:darkorange;
    /*text-align: center;*/
    text-shadow: -2px 2px 2px rgba(0, 0, 0, 0.5);
}

.myText-thick-shadow {
    font-family: Vazirmatn;
    font-weight: 900;
    color: darkorange;
    /*text-align: center;*/
    text-shadow: -2px 2px 2px rgba(0, 0, 0, 0.5);
}

.textHighlightRed {
    color: red;
    font-weight: bold;
}

.textHighlightolivedrab {
    color: olivedrab;
    font-weight: bold;
}

.textHighlightYellowgreen {
    color: yellowgreen;
    font-weight: bold;
}

.textHighlightorangered {
    color: orangered;
    font-weight: bold;
}

.textHighlight {
    color: red;
    font-weight: bold;
}

ol.persian {
    counter-reset: item;
    direction: rtl;
    list-style: none;
    padding-right: 1.5em;
}

    ol.persian li {
        counter-increment: item;
        margin-bottom: 0.4em;
        position: relative;
    }

        ol.persian li::before {
            content: counter(item, persian) ". ";
            position: absolute;
            right: -1.5em;
        }

/* لیست مرتب فارسی و زیبا */
ol.persian-styled {
    counter-reset: item;
    direction: rtl;
    list-style: none;
    padding-right: 1.5em;
    margin: 1em 0;
    font-family: "IRANSans", "Vazir", sans-serif;
}

    ol.persian-styled li {
        counter-increment: item;
        margin-bottom: 0.7em;
        position: relative;
        background: #f8f9fa;
        padding: 0.8em 1.2em;
        border-radius: 12px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        transition: transform 0.2s ease;
    }

        ol.persian-styled li:hover {
            transform: translateY(-2px);
        }

        ol.persian-styled li::before {
            content: counter(item, persian);
            position: absolute;
            right: -1.6em;
            top: 50%;
            transform: translateY(-50%);
            background: #007bff; /* رنگ دایره */
            color: white;
            font-weight: bold;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }

