﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.mt-20{
    margin-top:20px !important;
}
.mb-10{
    margin-bottom:10px;
}
    body {
    text-align: left;
    background: #000 !important;
    text-align: right; /* برای راست‌چین بودن کل صفحه */
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

    body::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0.5 !important;
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
        background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(243, 156, 18, 0.04) 35px, rgba(243, 156, 18, 0.04) 70px), repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(255, 255, 255, .04) 35px, rgba(255, 255, 255, .04) 70px), repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(243, 156, 18, 0.03) 50px, rgba(243, 156, 18, 0.03) 100px) !important;
        opacity: 0.2;
    }
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 0;
    /* overflow: hidden; */
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(243, 156, 18, 0.15);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 20s ease-in-out infinite;
    /* background: radial-gradient(circle at 30% 50%, rgba(243, 156, 18, 0.03), transparent 70%); */
}
.hero-section-left::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 10%;
    width: 300px;
    height: 300px;
    border: 2px solid rgba(243, 156, 18, 0.15);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morphShape 20s ease-in-out infinite;
    /* background: radial-gradient(circle at 30% 50%, rgba(243, 156, 18, 0.03), transparent 70%); */
}
@keyframes morphShape {

    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: rotate(0deg) scale(1);
    }

    33% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
        transform: rotate(120deg) scale(1.1);
    }

    66% {
        border-radius: 30% 70% 40% 60% / 60% 30% 70% 40%;
        transform: rotate(240deg) scale(0.95);
    }
}
/* ----- نوار بالا ----- */
nav {
    position: fixed;
    padding: 25px 60px;
    z-index: 1;
}

    nav a img {
        width: 167px;
    }

/* ----- کادر اصلی فرم ----- */
.form{
    direction:ltr;
    text-align:left;
}
.form-wrapper {
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 4px;
    padding: 70px;
    width: 450px;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, .75);
    min-height: 550px;
    text-align: right;
}

/* ----- ظرف دو فرم (همپوشانی) ----- */
.form-container {
    display: grid;
    position: relative;
}

    .form-container .form {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
        transition: opacity 0.4s ease, transform 0.4s ease;
        opacity: 0;
        transform: translateY(-12px);
        pointer-events: none;
        visibility: hidden;
    }

        .form-container .form.active {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
            visibility: visible;
        }

        .form-container .form h2 {
            color: #fff;
            font-size: 2rem;
            margin-bottom: 20px;
        }

        .form-container .form form {
            margin: 0 0 30px;
        }

/* ----- کنترل‌های فرم (فیلدها) ----- */
.form-control {
    height: 50px;
    position: relative;
    margin-bottom: 16px;
}

    .form-control input {
        height: 100%;
        width: 100%;
        background: #333 !important;
        border: none;
        outline: none;
        border-radius: 4px;
        color: #000;
        font-size: 1rem;
        padding: 0 50px;
    }

        .form-control input:is(:focus, :valid) {
            background: #444;
            padding: 16px 20px 0;
        }

    .form-control label {
        position: absolute;
        left: 10px; /* برای راست‌چین */
        top: 50%;
        transform: translateY(-50%);
        font-size: 1rem;
        pointer-events: none;
        color: #8c8c8c;
        transition: all 0.1s ease;
    }

    .form-control input:is(:focus, :valid) ~ label {
        font-size: 0.75rem;
        transform: translateY(-130%);
    }

    .form-control input {
        background-color: transparent !important;
    }
#txtloginEmailPhone{    
    direction:ltr;
    text-align:center;
    font-size:1.2rem;
    font-weight:bold;
}
/* ----- دکمه ارسال ----- */
#formElement button, #signupFormElement button, #PhoneEmailValidatorModal .form-group button {
    width: 100%;
    padding: 16px 0;
    font-size: 1rem;
    background: #BE8310;
    color: #fff;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    outline: none;
    margin: 25px 0 10px;
    cursor: pointer;
    transition: 0.1s ease;
}

    form button:hover {
        background: #c40812;
    }

/* ----- گزینه‌های کمکی (مرا به خاطر بسپار / راهنما) ----- */
.form-help {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .form-help .remember-me {
        display: flex;
        align-items: center;
    }

        /* در حالت راست‌چین، چک‌باکس سمت راست نوشته قرار می‌گیرد،
   پس فاصله‌ی بین چک‌باکس و نوشته باید از سمت چپ چک‌باکس باشد */
        .form-help .remember-me input {
            margin-left: 5px;
            accent-color: #b3b3b3;
        }

    .form-help :where(label, a) {
        font-size: 0.9rem;
        color: #b3b3b3;
    }

    .form-help a {
        text-decoration: none;
    }

        .form-help a:hover {
            text-decoration: underline;
        }

/* ----- فوتر پویا ----- */
.form-footer {
    margin-top: 10px;
}
.form-footer *{
    direction: ltr !important;
    text-align:left;
}

    .form-footer .footer-text {
        transition: opacity 0.3s ease;
    }

        .form-footer .footer-text p {
            color: #b3b3b3;
        }

            .form-footer .footer-text p a {
                color: #fff;
                text-decoration: none;
            }

                .form-footer .footer-text p a:hover {
                    text-decoration: underline;
                }

        .form-footer .footer-text small {
            display: block;
            margin-top: 15px;
            color: #b3b3b3;
            font-size: 0.8rem;
        }

            .form-footer .footer-text small a {
                color: #0071eb;
                text-decoration: none;
            }

                .form-footer .footer-text small a:hover {
                    text-decoration: underline;
                }

        .form-footer .footer-text.hidden {
            display: none;
        }

        .form-footer .footer-text.visible {
            display: block;
            animation: fadeIn 0.4s ease;
        }

/* ----- انیمیشن محو و ظاهر شدن ----- */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- واکنش‌گرایی (ریسپانسیو) ----- */
@media (max-width: 740px) {
    body::before {
        display: none;
    }

    nav,
    .form-wrapper {
        padding: 20px;
    }

        nav a img {
            width: 140px;
        }

    .form-wrapper {
        width: 100%;
        top: 43%;
        min-height: auto;
        padding: 30px 20px;
        border-radius: 0;
        background: rgba(0, 0, 0, .85);
    }

    .form-container .form form {
        margin: 0 0 20px;
    }

    .form-container .form h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .form-wrapper {
        padding: 20px 16px;
    }

    .form-control {
        height: 44px;
    }

    form button {
        padding: 14px 0;
        font-size: 0.95rem;
    }
}

.login-with-google-btn {
    width:100% !important;
    transition: background-color .3s, box-shadow .3s;
    padding: 12px 16px 12px 42px;
    border: none;
    border-radius: 3px;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    color: #757575;
    font-size: 14px;
    font-weight: 500;
    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen,Ubuntu,Cantarell,"Fira Sans","Droid Sans","Helvetica Neue",sans-serif;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuNiA5LjJsLS4xLTEuOEg5djMuNGg0LjhDMTMuNiAxMiAxMyAxMyAxMiAxMy42djIuMmgzYTguOCA4LjggMCAwIDAgMi42LTYuNnoiIGZpbGw9IiM0Mjg1RjQiIGZpbGwtcnVsZT0ibm9uemVybyIvPjxwYXRoIGQ9Ik05IDE4YzIuNCAwIDQuNS0uOCA2LTIuMmwtMy0yLjJhNS40IDUuNCAwIDAgMS04LTIuOUgxVjEzYTkgOSAwIDAgMCA4IDV6IiBmaWxsPSIjMzRBODUzIiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNNCAxMC43YTUuNCA1LjQgMCAwIDEgMC0zLjRWNUgxYTkgOSAwIDAgMCAwIDhsMy0yLjN6IiBmaWxsPSIjRkJCQzA1IiBmaWxsLXJ1bGU9Im5vbnplcm8iLz48cGF0aCBkPSJNOSAzLjZjMS4zIDAgMi41LjQgMy40IDEuM0wxNSAyLjNBOSA5IDAgMCAwIDEgNWwzIDIuNGE1LjQgNS40IDAgMCAxIDUtMy43eiIgZmlsbD0iI0VBNDMzNSIgZmlsbC1ydWxlPSJub256ZXJvIi8+PHBhdGggZD0iTTAgMGgxOHYxOEgweiIvPjwvZz48L3N2Zz4=);
    background-color: white;
    background-repeat: no-repeat;
    background-position: 12px 11px;
    &:hover

{
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25);
}

&:active {
    background-color: #eeeeee;
}

&:focus {
    outline: none;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 2px 4px rgba(0, 0, 0, .25), 0 0 0 3px #c8dafc;
}

&:disabled {
    filter: grayscale(100%);
    background-color: #ebebeb;
    box-shadow: 0 -1px 0 rgba(0, 0, 0, .04), 0 1px 1px rgba(0, 0, 0, .25);
    cursor: not-allowed;
}

}
.notAllowedLoginRegister {
    text-align: center;
    background-color: #D0911A;
    color: white;
    padding: 20px;
    border-radius: 10px;
}
/* ---------- VERTICAL, THIN SEPARATOR ---------- */
.mnu_separator {
    width: 1px;
    /* thin */
    height: 28px;
    /* vertical */
    background-color: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    /* prevent shrinking */
}

/* ---------- (optional) alternative: use a border instead ---------- */
.mnu_separator--border {
    width: 0;
    height: 28px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.modal-header .btn-close {
    margin: 0 0 0 auto !important;
}