*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'segoe UI''Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    background-color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.neumorph-card{
    width: 420px;
    height: 420px;
    padding: 40px 30px;
    background: #e0e0e0;
    border-radius: 50%;
    box-shadow: 25px 25px 50px #bebebe,-25px -25px 50px #ffffff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}
.neumorph-card h2{
    color: #333;
    font-size: 26px;
    margin-bottom: 2px;
    font-weight: 600;
}
.subtitle {
    color: #888;
    font-size: 12px;
    margin-bottom: 20px;
}
form{
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.input-box{
    position: relative;
    display: flex;
    align-items: center;
    background: #e0e0e0;
    border-radius: 20px;
    box-shadow: inset 5px 5px 10px #bebebe,inset -5px -5px 10px #ffffff;
    padding: 0 12px;
}
.input-icon{
    color: #888;
    margin-left: 8px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.input-box input{
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 5px;
    font-size: 13px;
    color: #555;
}
.input-box input::placeholder{
    color: #aaa;
}
.options-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #777;
    padding: 0 5px;
}
.remember-me{
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}
.remember-me input[type="checkbox"]{
    accent-color: #888;
    cursor: pointer;
}

.forgot-link{
    color: #777;
    text-decoration: none;
    transition: color 0.2s;
}
.forgot-link:hover{
    color: #333;
}
.btn-signin{
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 20px;
    background:#e0e0e0 ;
    color: #555;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.5px;
    cursor: pointer;
    box-shadow: 5px 5px 10px #bebebe,-5px -5px 10px #ffffff;
    transition: all 0.2s ease;
}
.btn-signin:active{
    box-shadow: inset 3px 3px 6px #bebebe,inset -3px -3px 6px #ffffff;
    color: #222;
}
.signup-text{
    margin-top: 5px;
    font-size: 11px;
    color: #777;
}
.signup-text a{
    color: #d90429;
    text-decoration: none;
    font-weight: bold;
}
.back-home{
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
}
.back-home:hover{
    color: #d90429;
}

/* اصلاح نمایش صفحه عضویت */
.neumorph-card:has(#registerForm) {
    height: 480px;
}

/* هماهنگی متن پایین فرم */
.sign-text,
.signup-text {
    margin-top: 5px;
    font-size: 11px;
    color: #777;
}

.sign-text a,
.signup-text a {
    color: #d90429;
    text-decoration: none;
    font-weight: bold;
}

/* پیام ثبت‌نام و ورود */
#registerMessage,
#loginMessage {
    font-size: 11px;
    color: #555;
    overflow-wrap: anywhere;
}

/* نمایش بهتر روی صفحه‌های کوچک */
@media (max-width: 480px) {
    .neumorph-card {
        width: min(420px, 94vw);
        height: 420px;
        padding: 35px 20px;
    }

    .neumorph-card:has(#registerForm) {
        height: 460px;
    }
}

/* =====================================
   JAR IMMERSIVE DIGITAL LOGIN
===================================== */

body.jar-login {
    --jar-dark: #050C1C;
    --jar-blue: #204264;
    --jar-cyan: #70D9FF;
    --jar-turquoise: #00DCD2;

    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(ellipse at 75% 45%, #102B43 0%, transparent 42%),
        radial-gradient(ellipse at 15% 85%, #10334A 0%, transparent 35%),
        #050C1C;
    color: #FFFFFF;
    font-family: Tahoma, sans-serif;
    isolation: isolate;
}

/* فضای سه بعدی */

.jar-login .scene {
    position: fixed;
    inset: 0;
    overflow: hidden;
    perspective: 1100px;
    pointer-events: none;
    z-index: -1;
}

.jar-login .light {
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    filter: blur(110px);
    opacity: 0.16;
}

.jar-login .light-one {
    background: #00DCD2;
    top: 5%;
    right: 10%;
    animation: lightMove 12s ease-in-out infinite alternate;
}

.jar-login .light-two {
    background: #204264;
    bottom: 5%;
    left: 10%;
    animation: lightMove 15s ease-in-out infinite alternate-reverse;
}

@keyframes lightMove {
    from {
        transform: translate(0, 0);
    }
    to {
        transform: translate(60px, -50px);
    }
}

/* مکعب های سه بعدی */

.jar-login .cube {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
}

.jar-login .cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(112, 217, 255, 0.35);
    background: linear-gradient(
        135deg,
        rgba(32, 66, 100, 0.55),
        rgba(0, 220, 210, 0.13)
    );
    box-shadow:
        inset 0 0 25px rgba(0, 220, 210, 0.08),
        0 0 20px rgba(0, 220, 210, 0.04);
    backdrop-filter: blur(3px);
}

.jar-login .front {
    transform: translateZ(50px);
}

.jar-login .back {
    transform: rotateY(180deg) translateZ(50px);
}

.jar-login .right {
    transform: rotateY(90deg) translateZ(50px);
}

.jar-login .left {
    transform: rotateY(-90deg) translateZ(50px);
}

.jar-login .top {
    transform: rotateX(90deg) translateZ(50px);
}

.jar-login .bottom {
    transform: rotateX(-90deg) translateZ(50px);
}

.jar-login .cube-one {
    top: 12%;
    left: 12%;
    animation: cubeRotate 24s linear infinite;
}

.jar-login .cube-two {
    width: 65px;
    height: 65px;
    bottom: 15%;
    left: 28%;
    animation: cubeFloat 9s ease-in-out infinite;
}

.jar-login .cube-two .cube-face {
    border-color: rgba(0, 220, 210, 0.5);
}

.jar-login .cube-two .front {
    transform: translateZ(32.5px);
}

.jar-login .cube-two .back {
    transform: rotateY(180deg) translateZ(32.5px);
}

.jar-login .cube-two .right {
    transform: rotateY(90deg) translateZ(32.5px);
}

.jar-login .cube-two .left {
    transform: rotateY(-90deg) translateZ(32.5px);
}

.jar-login .cube-two .top {
    transform: rotateX(90deg) translateZ(32.5px);
}

.jar-login .cube-two .bottom {
    transform: rotateX(-90deg) translateZ(32.5px);
}

.jar-login .cube-three {
    width: 45px;
    height: 45px;
    top: 22%;
    right: 12%;
    animation: cubeRotate 19s linear infinite reverse;
}

.jar-login .cube-three .front,
.jar-login .cube-three .back,
.jar-login .cube-three .right,
.jar-login .cube-three .left,
.jar-login .cube-three .top,
.jar-login .cube-three .bottom {
    background: rgba(0, 220, 210, 0.15);
}

.jar-login .cube-three .front {
    transform: translateZ(22.5px);
}

.jar-login .cube-three .back {
    transform: rotateY(180deg) translateZ(22.5px);
}

.jar-login .cube-three .right {
    transform: rotateY(90deg) translateZ(22.5px);
}

.jar-login .cube-three .left {
    transform: rotateY(-90deg) translateZ(22.5px);
}

.jar-login .cube-three .top {
    transform: rotateX(90deg) translateZ(22.5px);
}

.jar-login .cube-three .bottom {
    transform: rotateX(-90deg) translateZ(22.5px);
}

.jar-login .cube-four {
    width: 30px;
    height: 30px;
    bottom: 22%;
    right: 15%;
    animation: cubeFloat 7s ease-in-out infinite reverse;
}

.jar-login .cube-four .front {
    transform: translateZ(15px);
}

.jar-login .cube-four .back {
    transform: rotateY(180deg) translateZ(15px);
}

.jar-login .cube-four .right {
    transform: rotateY(90deg) translateZ(15px);
}

.jar-login .cube-four .left {
    transform: rotateY(-90deg) translateZ(15px);
}

.jar-login .cube-four .top {
    transform: rotateX(90deg) translateZ(15px);
}

.jar-login .cube-four .bottom {
    transform: rotateX(-90deg) translateZ(15px);
}

@keyframes cubeRotate {
    from {
        transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    to {
        transform: rotateX(360deg) rotateY(360deg) rotateZ(180deg);
    }
}

@keyframes cubeFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg);
    }
    50% {
        transform: translateY(-35px) rotateX(35deg) rotateY(45deg);
    }
}

/* شبکه کف */

.jar-login .floor-grid {
    position: absolute;
    width: 130%;
    height: 45%;
    bottom: -25%;
    left: -15%;
    background-image:
        linear-gradient(rgba(0, 220, 210, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 220, 210, 0.08) 1px, transparent 1px);
    background-size: 55px 55px;
    transform: perspective(350px) rotateX(65deg);
    mask-image: linear-gradient(to top, black, transparent);
}

/* چیدمان اصلی */

.jar-login .login-layout {
    width: min(1150px, 92%);
    min-height: 100vh;
    margin: auto;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 60px;
    padding: 55px 0;
}

/* بخش معرفی برند */

.jar-login .brand-section {
    position: relative;
    min-height: 550px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 15px;
}

.jar-login .jar-logo {
    font-size: 48px;
    font-weight: 900;
    color: white;
    text-decoration: none;
    letter-spacing: -3px;
    width: fit-content;
    text-shadow: 0 0 30px rgba(0, 220, 210, 0.25);
}

.jar-login .jar-logo span {
    color: #00DCD2;
}

.jar-login .brand-content {
    max-width: 510px;
    position: relative;
    z-index: 2;
}

.jar-login .brand-line {
    width: 55px;
    height: 3px;
    background: #00DCD2;
    border-radius: 10px;
    margin-bottom: 25px;
    box-shadow: 0 0 15px #00DCD2;
}

.jar-login .brand-label {
    color: #70D9FF;
    font-size: 14px;
    margin-bottom: 18px;
}

.jar-login .brand-content h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.8;
    color: #FFFFFF;
    font-weight: 800;
}

.jar-login .brand-content h1 span {
    display: block;
    color: #00DCD2;
    text-shadow: 0 0 35px rgba(0, 220, 210, 0.2);
}

.jar-login .brand-description {
    color: #A9BED2;
    font-size: 14px;
    line-height: 2.5;
    max-width: 430px;
    margin-top: 15px;
}

.jar-login .brand-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.jar-login .brand-features span {
    padding: 10px 17px;
    border: 1px solid rgba(112, 217, 255, 0.2);
    border-radius: 30px;
    color: #BDEEFF;
    background: rgba(32, 66, 100, 0.25);
    font-size: 12px;
    backdrop-filter: blur(10px);
}

.jar-login .brand-footer {
    color: #607D95;
    font-size: 11px;
}

/* پنل شیشه ای */

.jar-login .login-panel {
    position: relative;
    width: 100%;
    max-width: 440px;
    justify-self: center;
    padding: 65px 42px 25px;
    border-radius: 28px;
    background: linear-gradient(
        145deg,
        rgba(32, 66, 100, 0.42),
        rgba(5, 12, 28, 0.78)
    );
    border: 1px solid rgba(112, 217, 255, 0.2);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 40px rgba(0, 220, 210, 0.06);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    overflow: hidden;
}

.jar-login .login-panel::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    top: -120px;
    left: -70px;
    background: #00DCD2;
    opacity: 0.12;
    filter: blur(65px);
    border-radius: 50%;
}

.jar-login .back-home {
    position: absolute;
    top: 25px;
    right: 30px;
    color: #A9BED2;
    font-size: 12px;
    text-decoration: none;
    transition: 0.3s;
}

.jar-login .back-home span {
    color: #00DCD2;
    margin-left: 5px;
}

.jar-login .back-home:hover {
    color: #70D9FF;
}

.jar-login .panel-content {
    position: relative;
    z-index: 2;
}

.jar-login .panel-icon {
    width: 55px;
    height: 55px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #204264, #00AFA9);
    border: 1px solid rgba(112, 217, 255, 0.5);
    box-shadow: 0 0 30px rgba(0, 220, 210, 0.2);
    margin-bottom: 25px;
}

.jar-login .panel-icon span {
    font-size: 28px;
    font-weight: bold;
    color: white;
}

.jar-login .panel-welcome {
    color: #70D9FF;
    font-size: 13px;
    margin-bottom: 9px;
}

.jar-login .login-panel h2 {
    color: white;
    font-size: 27px;
    margin-bottom: 10px;
}

.jar-login .subtitle {
    color: #A9BED2;
    font-size: 12px;
    line-height: 2;
    margin-bottom: 30px;
}

/* فیلدها */

.jar-login #loginForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.jar-login .field-label {
    color: #C8DCEB;
    font-size: 12px;
    margin-top: 4px;
}

.jar-login .input-box {
    width: 100%;
    min-height: 52px;
    border: 1px solid rgba(112, 217, 255, 0.16);
    border-radius: 13px;
    background: rgba(5, 12, 28, 0.45);
    box-shadow: none;
    padding: 0 14px;
    transition: 0.3s;
}

.jar-login .input-box:focus-within {
    border-color: #00DCD2;
    box-shadow: 0 0 18px rgba(0, 220, 210, 0.12);
}

.jar-login .input-icon {
    color: #70D9FF;
    margin-left: 10px;
}

.jar-login .input-box input {
    color: white;
    font-size: 12px;
    padding: 14px 5px;
    outline: none;
}

.jar-login .input-box input::placeholder {
    color: #718BA1;
}

/* دکمه ورود */

.jar-login .btn-signin {
    width: 100%;
    min-height: 52px;
    margin-top: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(112, 217, 255, 0.4);
    border-radius: 13px;
    color: #04131E;
    background: linear-gradient(100deg, #00DCD2, #70D9FF);
    box-shadow: 0 8px 25px rgba(0, 220, 210, 0.16);
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.jar-login .btn-signin:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 220, 210, 0.3);
}

.jar-login .btn-signin:active {
    transform: scale(0.98);
}

.jar-login .btn-signin:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.jar-login .button-arrow {
    font-size: 20px;
}

/* متن پایین فرم */

.jar-login .sign-text {
    text-align: center;
    margin-top: 15px;
    font-size: 11px;
    color: #A9BED2;
    line-height: 2;
}

.jar-login .sign-text a {
    color: #00DCD2;
    text-decoration: none;
    font-weight: bold;
}

.jar-login .sign-text a:hover {
    color: #70D9FF;
}

.jar-login #loginMessage {
    min-height: 18px;
    text-align: center;
    color: #70D9FF;
    font-size: 11px;
    line-height: 1.8;
}

.jar-login .panel-bottom {
    border-top: 1px solid rgba(112, 217, 255, 0.12);
    margin-top: 22px;
    padding-top: 18px;
    text-align: center;
    color: #718BA1;
    font-size: 10px;
}

/* واکنش گرایی */

@media (max-width: 850px) {
    .jar-login .login-layout {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 35px 0;
    }

    .jar-login .brand-section {
        min-height: auto;
        text-align: center;
        align-items: center;
        padding: 10px;
    }

    .jar-login .brand-content {
        margin-top: 45px;
    }

    .jar-login .brand-line {
        margin: 0 auto 20px;
    }

    .jar-login .brand-content h1 {
        font-size: 34px;
    }

    .jar-login .brand-description {
        margin-right: auto;
        margin-left: auto;
    }

    .jar-login .brand-features {
        justify-content: center;
    }

    .jar-login .brand-footer {
        display: none;
    }

    .jar-login .login-panel {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .jar-login .login-layout {
        width: 92%;
        gap: 25px;
        padding: 25px 0;
    }

    .jar-login .jar-logo {
        font-size: 38px;
    }

    .jar-login .brand-content {
        margin-top: 35px;
    }

    .jar-login .brand-content h1 {
        font-size: 28px;
    }

    .jar-login .brand-description {
        font-size: 12px;
    }

    .jar-login .brand-features {
        gap: 7px;
    }

    .jar-login .brand-features span {
        padding: 8px 11px;
        font-size: 10px;
    }

    .jar-login .login-panel {
        padding: 65px 24px 22px;
        border-radius: 22px;
    }

    .jar-login .login-panel h2 {
        font-size: 24px;
    }

    .jar-login .cube-one {
        left: -25px;
    }

    .jar-login .cube-three {
        right: -10px;
    }
}

/* احترام به تنظیم کاهش حرکت دستگاه */
@media (prefers-reduced-motion: reduce) {
    .jar-login *,
    .jar-login *::before,
    .jar-login *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* =========================================
   JAR - IMMERSIVE DIGITAL REGISTER PAGE
========================================= */

body:has(#registerForm) {
    min-height: 100vh;
    height: auto;
    padding: 50px 15px;
    overflow-x: hidden;
    position: relative;
    isolation: isolate;

    background:
        radial-gradient(ellipse at 80% 35%, rgba(0,220,210,.16), transparent 40%),
        radial-gradient(ellipse at 10% 90%, rgba(32,66,100,.65), transparent 45%),
        #050C1C;

    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

/* نورهای پس زمینه */

body:has(#registerForm)::before {
    content: "";
    position: fixed;
    width: 350px;
    height: 350px;
    top: 5%;
    right: 8%;
    border-radius: 50%;
    background: #00DCD2;
    filter: blur(150px);
    opacity: .12;
    z-index: -1;
    pointer-events: none;
    animation: registerGlow 10s ease-in-out infinite alternate;
}

body:has(#registerForm)::after {
    content: "";
    position: fixed;
    width: 280px;
    height: 280px;
    bottom: 0;
    left: 5%;
    border-radius: 50%;
    background: #204264;
    filter: blur(120px);
    opacity: .3;
    z-index: -1;
    pointer-events: none;
}

@keyframes registerGlow {
    from { transform: translate(0,0); }
    to { transform: translate(-45px,35px); }
}

/* پنل اصلی عضویت */

body:has(#registerForm) .neumorph-card {
    width: min(500px, 96vw);
    height: auto;
    min-height: 570px;
    padding: 65px 45px 35px;

    border-radius: 28px;
    position: relative;

    background: linear-gradient(
        145deg,
        rgba(32,66,100,.48),
        rgba(5,12,28,.88)
    );

    border: 1px solid rgba(112,217,255,.23);

    box-shadow:
        0 25px 80px rgba(0,0,0,.4),
        inset 0 1px 0 rgba(255,255,255,.08),
        0 0 45px rgba(0,220,210,.07);

    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    text-align: right;

    animation: registerAppear .8s ease both;
}

@keyframes registerAppear {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* نور بالای پنل */

body:has(#registerForm) .neumorph-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    top: -110px;
    left: -65px;
    background: #00DCD2;
    opacity: .13;
    filter: blur(65px);
    border-radius: 50%;
    pointer-events: none;
}

/* عنوان ها */

body:has(#registerForm) .neumorph-card h2 {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
    text-align: right;
}

body:has(#registerForm) .subtitle {
    color: #A9BED2;
    font-size: 12px;
    line-height: 2;
    margin-bottom: 25px;
    text-align: right;
}

/* فرم */

body:has(#registerForm) #registerForm {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 2;
}

/* فیلدهای ورود اطلاعات */

body:has(#registerForm) .input-box {
    width: 100%;
    min-height: 49px;
    padding: 0 14px;

    display: flex;
    align-items: center;

    background: rgba(5,12,28,.48);
    border: 1px solid rgba(112,217,255,.17);
    border-radius: 13px;

    box-shadow: none;
    transition: .3s;
}

body:has(#registerForm) .input-box:focus-within {
    border-color: #00DCD2;
    box-shadow: 0 0 18px rgba(0,220,210,.13);
}

body:has(#registerForm) .input-icon {
    color: #70D9FF;
    margin-left: 10px;
    font-size: 15px;
}

body:has(#registerForm) .input-box input,
body:has(#registerForm) .input-box select {
    width: 100%;
    min-width: 0;
    color: #fff;
    background: transparent;
    border: none;
    outline: none;
    font-size: 12px;
    padding: 13px 5px;
}

body:has(#registerForm) .input-box input::placeholder {
    color: #8199AE;
}

body:has(#registerForm) .input-box select {
    cursor: pointer;
}

body:has(#registerForm) .input-box select option {
    background: #10243A;
    color: #fff;
}

/* دکمه ثبت نام */

body:has(#registerForm) #registerForm button[type="submit"] {
    width: 100%;
    min-height: 51px;
    margin-top: 10px;
    padding: 12px 18px;

    border: 1px solid rgba(112,217,255,.4);
    border-radius: 13px;

    background: linear-gradient(100deg,#00DCD2,#70D9FF);
    color: #04131E;

    font-size: 13px;
    font-weight: bold;
    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0,220,210,.17);
    transition: .3s;
}

body:has(#registerForm) #registerForm button[type="submit"]:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,220,210,.3);
}

body:has(#registerForm) #registerForm button[type="submit"]:disabled {
    opacity: .6;
    cursor: not-allowed;
}

/* لینک بازگشت */

body:has(#registerForm) .back-home {
    top: 25px;
    right: 30px;
    color: #A9BED2;
    font-size: 12px;
    transition: .3s;
}

body:has(#registerForm) .back-home:hover {
    color: #00DCD2;
}

/* لینک ورود */

body:has(#registerForm) .sign-text,
body:has(#registerForm) .signup-text {
    margin-top: 12px;
    color: #A9BED2;
    font-size: 11px;
    line-height: 2.2;
    text-align: center;
}

body:has(#registerForm) .sign-text a,
body:has(#registerForm) .signup-text a {
    color: #00DCD2;
    text-decoration: none;
    font-weight: bold;
}

body:has(#registerForm) .sign-text a:hover,
body:has(#registerForm) .signup-text a:hover {
    color: #70D9FF;
}

/* پیام ها */

body:has(#registerForm) #registerMessage {
    min-height: 18px;
    color: #70D9FF;
    font-size: 11px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

/* چیدمان موبایل */

@media (max-width: 520px) {
    body:has(#registerForm) {
        padding: 25px 12px;
    }

    body:has(#registerForm) .neumorph-card {
        width: 100%;
        min-height: auto;
        padding: 65px 23px 30px;
        border-radius: 23px;
    }

    body:has(#registerForm) .neumorph-card h2 {
        font-size: 24px;
    }

    body:has(#registerForm) #registerForm {
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body:has(#registerForm) *,
    body:has(#registerForm)::before {
        animation: none !important;
        transition: none !important;
    }
}
