﻿

@font-face {
    font-family: 'Yekan';
    src: url('fonts/Yekan.eot'); /* IE9 Compat Modes */
    src: url('fonts/Yekan.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('fonts/Yekan.woff2') format('woff2'), /* Modern Browsers */
    url('fonts/Yekan.woff') format('woff'), /* Modern Browsers */
    url('fonts/Yekan.otf') format('opentype'), /* Open Type Font */
    url('fonts/Yekan.ttf') format('truetype'); /* Safari, Android, iOS */
    font-weight: normal;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: auto;
}

:root {
    --bg: #0e2050;
    --gold: #D2B26B;
    --font: 'Segoe UI', sans-serif;
}
/* افکت درخشش ملایم طلایی در پس‌زمینه کل صفحه */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(210,178,107,0.06) 0%, transparent 70%);
    animation: softGlow 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

body {
    color: #FFFFFF;
    background-color: #0e2050;
    font-family: 'Yekan', Tahoma, sans-serif;
    direction: rtl;
    /*background-image: url('/css/img/BackTile.png');
    background-repeat: repeat;*/
    background: radial-gradient(circle at bottom,#000 5%, #0e2050 60%);
    background-attachment: fixed;
    overflow-y: hidden;
    overflow-x: hidden;
}


.clearfix:after, .clearfix:before {
    content: '';
    display: table;
}

.clearfix:after {
    clear: both;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.Register-wrap {
    top: 0px;
    min-width: 400px;
    max-width: 500px;
    margin: auto;
    overflow: auto;
    position: relative;
    text-align: center;
    border-radius: 50px;
    background-color: #0e2050;
    box-shadow: 0px 5px 5px 0 #D2B26B,0 7px 20px 0 #D2B26B;
}
/* هر لوگو */
.logo {
    position: absolute;
    bottom: -60px; /* از پایین شروع کن */
    background-image: url('/css/img/MainLogo.png');
    opacity: 0.08;
    background-size: contain;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 5px rgba(210,178,107,0.6));
    animation: floatUp ease-in-out forwards, glowPulse 3s ease-in-out infinite alternate;
    /*animation: floatStar 1s ease-in-out infinite;*/
}
/* باکس اصلی فرم (login-html) */
.login-html {
    position: relative;
    background: linear-gradient(135deg, #0e2050, #0c1b45);
    color: var(--gold);
    box-shadow: 0 0 15px rgba(210,178,107,0.5), inset 0 0 10px rgba(210,178,107,0.2);
    animation: borderPulse 3s ease-in-out infinite alternate;
    z-index: 1;
    min-width: 150px;
    max-width: 380px;
    width: auto;
    padding: 10px 30px 30px 30px;
    border-radius: 30px;
    margin: 20px auto;
}
    /* وقتی هر نوع پیام ولیدیشن خطا داخل login-html باشد */
    .login-html:has(.field-validation-error),
    .login-html:has(span[data-valmsg-for].text-danger:not(.field-validation-valid)) {
        padding: 30px 30px 150px 30px !important;
    }

@keyframes borderPulse {
    from {
        box-shadow: 0 0 10px rgba(210,178,107,0.3), inset 0 0 5px rgba(210,178,107,0.1);
    }

    to {
        box-shadow: 0 0 25px rgba(210,178,107,0.6), inset 0 0 20px rgba(210,178,107,0.3);
    }
}
/* ========== 4. Galaxy Style ========== */

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    animation: floatStar 1s linear infinite;
    display: none;
}

@keyframes floatStar {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateY(-10vh) scale(1.2);
        opacity: 0;
    }
}

.galaxy h1 {
    z-index: 2;
    font-size: 3rem;
    text-shadow: 0 0 15px var(--gold);
    animation: starGlow 2.5s ease-in-out infinite alternate;
}

@keyframes starGlow {
    from {
        text-shadow: 0 0 10px var(--gold);
    }

    to {
        text-shadow: 0 0 35px var(--gold);
    }
}

.Div-content {
    background-color: white;
    height: auto;
    padding: 50px 70px 10px 10px;
    border-radius: 5px;
    text-align: center;
    min-height: 700px;
    color: #0e2050;
}

.login-bottun {
    background-color: #D2B26B;
    color: #0e2050;
}


.login-html .Contenttab-1,
.login-html .Contenttab-2,
.login-html .Contenttab-3,
.login-html .Contenttab-4 {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    transition: all .4s linear;
}

.login-html .EnterCode {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.login-form .group {
    text-align: right;
}

    .login-html .classtab-1,
    .login-html .classtab-2,
    .login-html .classtab-3,
    .login-html .classtab-4,
    .login-form .group .check {
        display: none;
    }

    .login-html .tab,
    .login-form .group .label,
    .login-form .group .button {
        text-transform: uppercase;
    }

.login-html .tab {
    font-size: 20px;
    margin-right: 15px;
    padding-bottom: 5px;
    margin: 0 15px 10px 0;
    display: inline-block;
    border-bottom: 2px solid transparent;
    color: #fff;
    cursor: pointer;
}

.login-html .classtab-1:checked + .tab,
.login-html .classtab-2:checked + .tab,
.login-html .classtab-3:checked + .tab,
.login-html .classtab-4:checked + .tab {
    color: #D2B26B;
    border-color: #D2B26B;
}

.login-form .group .check:checked + label {
    /* color: #fff;*/
}

    .login-form .group .check:checked + label .icon {
        /*background: #1161ee;*/
    }

        .login-form .group .check:checked + label .icon:before {
            transform: scale(1) rotate(45deg);
        }

        .login-form .group .check:checked + label .icon:after {
            transform: scale(1) rotate(-45deg);
        }

.login-html .classtab-1:checked + .tab + .classtab-2 + .tab + .classtab-3 + .tab + .login-form .Contenttab-1 {
    transform: rotate(0);
}

.login-html .classtab-2:checked + .tab + .classtab-3 + .tab + .login-form .Contenttab-2 {
    transform: rotate(0);
}

.login-html .classtab-3:checked + .tab + .login-form .Contenttab-3 {
    transform: rotate(0);
}

/*.login-html .classtab-4:checked + .tab + .login-form .Contenttab-4 {
    transform: rotate(0);
}*/

.login-form {
    min-height: 240px;
    position: relative;
    perspective: 1000px;
    transform-style: preserve-3d;
    color: #D2B26B;
    text-align: right;
}

    .login-form .group {
        margin-bottom: 15px;
        position: relative;
        width: 100%;
        text-align: right;
    }

.floating-label {
    color: silver;
    padding-right: 5px;
    position: absolute;
    top: 11px;
    transition: 0.3s ease all;
    font-size: 15px;
    opacity: 0.2;
}

input:focus ~ .floating-label,
input[value]:not([value=""]) ~ .floating-label,
input:not(:placeholder-shown) ~ .floating-label
input:not(:focus):valid ~ .floating-label {
    top: -4px;
    font-size: 14px;
    transition: 0.3s ease all;
    opacity: 0.3;
    color: white;
}

/*input[value]:not([value=""]) ~ .floating-label {
    visibility:hidden;
}*/


.login-form .group .label,
.login-form .group .input,
.login-form .group .button {
    width: 100%;
    color: #fff;
    display: block;
}

.login-form .group .input,
.login-form .group .button {
    color: #D2B26B;
    border: none;
    padding: 12px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,.1);
}


.login-form .group .label {
    color: #aaa;
    font-size: 12px;
}

.login-form .group .button {
    background-color: #D2B26B;
    font-weight: bolder;
    color: #0e2050;
    margin: 20px 0px 20px 0px;
}

    .login-form .group .button:hover {
        /*border: 1px solid #FFFFFF;*/
        box-shadow: 1px 1px 1px 1px #fff,1px 1px 1px 1px #fff;
        color: white;
    }


.login-form .group label .icon {
    width: 15px;
    height: 15px;
    border-radius: 2px;
    position: relative;
    display: inline-block;
    background: rgba(255,255,255,.1);
}

    .login-form .group label .icon:before,
    .login-form .group label .icon:after {
        content: '';
        width: 10px;
        height: 2px;
        background: #fff;
        position: absolute;
        transition: all .2s ease-in-out 0s;
    }

    .login-form .group label .icon:before {
        left: 3px;
        width: 5px;
        bottom: 6px;
        transform: scale(0) rotate(0);
    }

    .login-form .group label .icon:after {
        top: 6px;
        right: 0;
        transform: scale(0) rotate(0);
    }



.hr {
    height: 2px;
    margin: 60px 0 50px 0;
    background: rgba(255,255,255,.2);
}

.foot-lnk {
    text-align: center;
}

.btn-Golden {
    background-color: #D2B26B;
    font-weight: bolder;
    color: #0e2050;
    margin: 20px 0px 20px 0px;
}

.ThumbnailImg {
    width: 220px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    margin-right: 10px;
}

.NewsTemplateImg {
    width: 200px;
    height: 150px;
    object-fit: fill;
    border: 0px solid silver;
    border-radius: 5px;
    margin: 5px;
}

.Icon-Large {
    width: 100px;
    height: 100px;
}

.Login-Logo {
    width: 110px;
    height: 110px;
}

.Icon-Medium {
    width: 75px;
    height: 75px;
    color: #0f085a
}

.Icon-Smal {
    width: 50px;
    height: 50px;
}

.LeftFloat {
    float: left;
    width: 50%;
    text-align: center;
}

.RightFloat {
    float: right;
    width: 50%;
    text-align: center;
}

.CenterFloat {
    float: right;
    width: 100%;
    text-align: center;
}

.CenterText {
    text-align: center;
}

input:focus {
    border: 10px solid #D2B26B;
}

.otp-timer {
    margin-top: 30px;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .otp-timer span {
        margin-left: 5px;
    }

.minutes, .seconds, .dot {
    padding: 10px 2px 2px 2px;
    max-width: 30px;
    border-radius: 3px;
    color: #D2B26B;
    font-weight: bolder;
    font-size: 18px;
}

.PaymentDiv {
    color: #D2B26B;
    width: auto;
}

@media (max-width: 500px) {
    .Register-wrap {
        min-width: 90%;
        max-width: 90%;
        font-size: 12px;
    }

    .login-wrap {
        min-width: 90%;
        max-width: 90%;
        font-size: 12px;
    }

    .login-html .tab {
        font-size: 15px;
    }
}

@media (max-width: 300px) {

    .login-html .tab {
        font-size: 10px;
        margin-right: 0px;
        padding-bottom: 0px;
        margin: 0 0px 0px 0;
    }
}
