﻿
@media (max-width: 980px) {
    .shadow-mobile-only {
        box-shadow: 0 4px 12px rgba(60, 179, 113, 0.20);
    }
}

.size-only {
    width: 100%;
    height: 100%;
}

#Anboohicon {
    width: 30%;
}

.captcha-image {
    width: 30%;
}

@media (max-width: 980px) {
    .size-only {
        width: 75%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0.7); /* سفید با شفافیت */
        backdrop-filter: blur(10px); /* تارکردن پس‌زمینه */
        -webkit-backdrop-filter: blur(10px); /* برای مرورگرهای وب‌کیت */
        border: 1px solid rgb(0, 255, 255); /* خط مرزی شفاف */
    }

    #FM {
        background-image: url("/Theme/Img/banner.png");
        background-size: cover; /* تصویر کل فضا را پوشش می‌دهد */
        background-position: center; /* مرکز تصویر را در وسط نگه می‌دارد */
        background-repeat: no-repeat; /* تکرار نشود */
    }

    #Anboohicon {
        width: 40%;
    }
}

@media (max-width: 575px) {

    #Anboohicon {
        width: 60%;
    }

    #indexFPage {
        height: 100%;
        border-radius: 5px;
        border: 2px solid #33ddb3;
    }

    #indexFPage2 {
        height: 100%;
        border-radius: 5px;
        border: 2px solid #33ddb3;
    }

    #indexFPage3 {
        height: 100%;
        border-radius: 5px;
        border: 2px solid #33ddb3;
        width: 100%;
    }

    #indexFPage4 {
        height: 100%;
        border-radius: 5px;
        border: 2px solid #33ddb3;
        width: 100%;
    }
}

.form-check-input {
    accent-color: #0d6efd;
    width: 1.2em;
    height: 1.2em;
    border: 2px solid #0d6efd;
    transition: all 0.6s ease;
    box-shadow: none;
    margin-top: 0.3rem;
}

    .form-check-input:checked {
        background-color: #218362;
        transform: scale(1.15);
    }

.fancy-link {
    color: #2f6d53;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

    .fancy-link::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 2px;
        bottom: -4px;
        left: 0;
        background-color: #1b7053;
        visibility: hidden;
        transform: scaleX(0);
        transition: all 0.3s ease-in-out;
    }

    .fancy-link:hover {
        color: #1b7053;
    }

        .fancy-link:hover::after {
            visibility: visible;
            transform: scaleX(1);
        }

.sh input.form-control {
    border: 1.5px solid #207959;
    border-radius: 0.5rem;
    background-color: #207959;
    backdrop-filter: blur(2px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .sh input.form-control:focus {
        border-color: #207959; /* آبی بوت‌استرپ هنگام فوکوس */
        box-shadow: 0 0 0 0.1rem #207959;
        outline: none;
    }

.input-rtl {
    direction: rtl;
    text-align: right;
}

@media (max-width: 575px) {

    .input-rtl {
        font-size: 0.85rem;
    }

    .font-mb {
        font-size: 0.95rem;
    }
}


.btn-gradient2 {
    background: rgb(70 139 122);
    border: none;
    color: white;
    font-size: 1.1rem;
    border-radius: 8px;
    box-shadow: 0 1px 5px #789f8b;
    transition: all 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    transition: all 0.6s ease;
}


    .btn-gradient2:hover {
        background: #117455;
        box-shadow: 0 3px 10px #218362;
        transform: translateY(-2px);
        color: azure;
    }


        .btn-gradient2:hover .icon-transition2 {
            transform: translateX(5px);
            transition: transform 0.8s ease;
        }


    .btn-gradient2:active {
        transform: scale(0.97);
        box-shadow: 0 4px 8px rgba(0, 201, 255, 0.4);
    }

.icon-transition2 {
    font-size: 1.2rem;
    transition: transform 0.8s ease;
}

.border-r {
    border-radius: 5px;
}

.custom-input-wrapper {
    position: relative;
    width: 300px; /* می‌تونی به دلخواه تنظیم کنی */
    margin: 20px auto;
}

.custom-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: none;
    border-bottom: 2px solid #789f8b;
    background-color: transparent;
    outline: none;
    direction: rtl;
    color: #789f8b;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: color 0.3s, font-size 0.5s ease, border-color 0.3s;
}

    .custom-input:hover, .custom-input:focus {
        font-size: 1.05rem;
        border-bottom: 2px solid #207959;
    }

@media (max-width: 575px) {
    .custom-input {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.65rem;
        border: none;
        border-bottom: 2px solid #207959;
        background-color: transparent;
        outline: none;
        direction: rtl;
        color: #789f8b;
        font-weight: 600;
        text-decoration: none;
        position: relative;
        transition: color 0.3s, font-size 0.5s ease, border-color 0.3s;
    }

        .custom-input:hover, .custom-input:focus {
            font-size: 0.75rem;
            border-bottom: 2px solid #207959;
        }
}

.custom-gradient {
    background-color: #468b7a;
    border: none;
    transition: 0.4s;
    color: white
}

    .custom-gradient:hover {
        background-color: #116748;
        color: white;
        box-shadow: red;
        filter: brightness(1.1);
        box-shadow: 0 2px 10px rgb(0,0,0,0.5);
    }

.custom-gradientdenger {
    border: none;
    transition: 0.4s;
}

    .custom-gradientdenger:hover {
        transform: scale(1.05);
        filter: brightness(1.1);
    }

#TrackPage {
    width: 70%;
}

@media(min-width:575px) and (max-width:976px) {
    #TrackPage {
        width: 80%;
    }
}

@media (max-width: 575px) {
    #TrackPage {
        width: 95%;
    }
}

@media(max-width:575px) {
    .customize-a {
        width: 100% !important;
        background-color: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 80%;
}

.marquee {
    display: inline-flex;
    animation: marquee 5s linear infinite;
}

    .marquee span {
        padding-right: 5rem;
    }

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.Advertisementimg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all ease 1s;
}

    .Advertisementimg:hover {
        transform: scale(1.01);
    }

.Advertisement {
    transition: all ease 1s;
    border: 0.1px solid gray;
    width: 97%;
    height: 150px;
    overflow: hidden;
}

    .Advertisement:hover {
        transform: scale(1.01);
    }

.mobo-AD {
    width: 100%;
}

.Advertisementmobo {
    transition: all ease 1s;
    border: 0.1px solid gray;
    width: 97%;
    height: 250px;
    overflow: hidden;
}

    .Advertisementmobo:hover {
        transform: scale(1.01);
    }
.marquee-containermb {
    overflow: hidden;
    white-space: nowrap;
    width: 80%;
}

.marqueemb {
    display: inline-flex;
    animation: marqueemb 5s linear infinite;
}

    .marqueemb span {
        padding-right: 17rem;
    }

@keyframes marqueemb {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}
@media(max-width:575)
{
    .marqueemb span {
        padding-right: 5rem;
    }
}
.carousel-item
{
    width:100%;
}
.a-AD
{
    width:100%;
}
.blinking-lamp {
    animation: lampBlink 3s infinite;
    font-weight: bold; /* دلخواه */
}

@keyframes lampBlink {
    0%, 100% {
        color: #003366; /* آبی پررنگ */
    }

    33% {
        color: blue; /* سبز پررنگ */
    }

    66% {
        color: #008080; /* فیروزه‌ای پررنگ */
    }

    50% {
        color: #003366; /* آبی پررنگ */
        opacity: 0.5; /* کمی کم نور */
    }
}
