/* ==========================================================================
   Pink Login Transformer - Styles
   ========================================================================== */

:root {
    --plt-pink-1: #ff2e93;
    --plt-pink-2: #ff6ec7;
    --plt-pink-3: #ff9edb;
    --plt-pink-soft: #ffd6ec;
    --plt-purple: #a855f7;
    --plt-bg-1: #0a0210;
    --plt-bg-2: #1a0424;
    --plt-glass: rgba(30, 8, 40, 0.55);
    --plt-border: rgba(255, 110, 199, 0.3);
}

/* ---------- پس‌زمینه اصلی با گرادیان متحرک ---------- */
body.login {
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 46, 147, 0.35), transparent 45%),
        radial-gradient(circle at 80% 70%, rgba(255, 110, 199, 0.30), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(168, 85, 247, 0.25), transparent 55%),
        linear-gradient(135deg, var(--plt-bg-1) 0%, var(--plt-bg-2) 50%, var(--plt-bg-1) 100%) !important;
    background-size: 150% 150%, 150% 150%, 150% 150%, 200% 200% !important;
    background-attachment: fixed;
    animation: pltBgShift 22s ease-in-out infinite;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

@keyframes pltBgShift {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%, 0% 50%; }
    50%      { background-position: 100% 100%, 0% 0%, 50% 50%, 100% 50%; }
}

/* ---------- شبکه گرید روی پس‌زمینه ---------- */
body.login::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 46, 147, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 46, 147, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: pltGridMove 25s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes pltGridMove {
    0%   { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
}

/* ---------- المان‌های هندسی شناور ---------- */
.plt-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.plt-shape {
    position: absolute;
    display: block;
    will-change: transform;
}

/* دایره */
.plt-shape-circle {
    width: 200px; height: 200px;
    border-radius: 50%;
    top: 6%; left: 6%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 158, 219, 0.3), rgba(255, 46, 147, 0.05) 70%);
    border: 1.5px solid rgba(255, 110, 199, 0.5);
    box-shadow: 0 0 40px rgba(255, 46, 147, 0.5), inset 0 0 40px rgba(255, 46, 147, 0.2);
    animation: pltFloat1 16s ease-in-out infinite, pltPulse 5s ease-in-out infinite;
}

/* مثلث */
.plt-shape-triangle {
    width: 150px; height: 150px;
    bottom: 8%; left: 4%;
    background: linear-gradient(180deg, rgba(255, 110, 199, 0.35), rgba(255, 46, 147, 0.05));
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    filter: drop-shadow(0 0 20px rgba(255, 46, 147, 0.6));
    animation: pltFloat2 18s ease-in-out infinite;
}

/* مربع چرخیده */
.plt-shape-square {
    width: 120px; height: 120px;
    top: 12%; right: 8%;
    background: linear-gradient(135deg, rgba(255, 158, 219, 0.25), rgba(168, 85, 247, 0.1));
    border: 1.5px solid rgba(255, 110, 199, 0.45);
    border-radius: 18px;
    box-shadow: 0 0 35px rgba(255, 46, 147, 0.4), inset 0 0 25px rgba(255, 46, 147, 0.15);
    animation: pltFloat3 20s ease-in-out infinite;
}

/* شش‌ضلعی */
.plt-shape-hexagon {
    width: 160px; height: 160px;
    bottom: 10%; right: 5%;
    background: linear-gradient(135deg, rgba(255, 110, 199, 0.25), rgba(255, 46, 147, 0.03));
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    filter: drop-shadow(0 0 25px rgba(255, 46, 147, 0.5));
    animation: pltFloat1 22s ease-in-out infinite reverse;
}

/* نقطه درخشان */
.plt-shape-dot {
    width: 20px; height: 20px;
    border-radius: 50%;
    top: 45%; left: 15%;
    background: var(--plt-pink-1);
    box-shadow: 0 0 25px var(--plt-pink-1), 0 0 50px var(--plt-pink-1);
    animation: pltFloat2 12s ease-in-out infinite, pltPulse 2.5s ease-in-out infinite;
}

/* حلقه چرخان */
.plt-shape-ring {
    width: 90px; height: 90px;
    border-radius: 50%;
    border: 2px solid var(--plt-pink-2);
    top: 70%; right: 25%;
    background: transparent;
    box-shadow: 0 0 25px rgba(255, 110, 199, 0.6), inset 0 0 25px rgba(255, 110, 199, 0.3);
    animation: pltRingMotion 15s ease-in-out infinite;
}

@keyframes pltFloat1 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33%      { transform: translate(40px, -30px) rotate(120deg); }
    66%      { transform: translate(-25px, 45px) rotate(240deg); }
}
@keyframes pltFloat2 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(60px, -50px) rotate(180deg); }
}
@keyframes pltFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50%      { transform: translate(-50px, 40px) rotate(-180deg); }
}
@keyframes pltRingMotion {
    0%   { transform: translate(0, 0) rotate(0deg); }
    50%  { transform: translate(-50px, 40px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}
@keyframes pltPulse {
    0%, 100% { opacity: 0.6; }
    50%      { opacity: 1; }
}
@keyframes pltSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ---------- کانتینر ورود ---------- */
#login {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 20px;
    animation: pltEntrance 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pltEntrance {
    from { opacity: 0; transform: translateY(40px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- لوگو ---------- */
#login h1 { margin: 0 0 22px; text-align: center; }

#login h1 a {
    display: block;
    width: 90px; height: 90px;
    margin: 0 auto;
    padding: 0;
    background-image: none !important;
    background: radial-gradient(circle at 30% 30%, var(--plt-pink-3), var(--plt-pink-1) 55%, #b81272 100%) !important;
    border-radius: 50%;
    text-indent: -9999px;
    overflow: hidden;
    box-shadow:
        0 0 30px rgba(255, 46, 147, 0.8),
        0 0 60px rgba(255, 46, 147, 0.5),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset -8px -8px 25px rgba(184, 18, 114, 0.9),
        inset 8px 8px 25px rgba(255, 158, 219, 0.6);
    animation: pltLogoPulse 3s ease-in-out infinite;
    position: relative;
    transition: transform 0.3s ease;
}

#login h1 a:hover {
    transform: scale(1.08) rotate(5deg);
}

#login h1 a::after {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    animation: pltSpin 15s linear infinite;
}

@keyframes pltLogoPulse {
    0%, 100% {
        box-shadow:
            0 0 30px rgba(255, 46, 147, 0.8),
            0 0 60px rgba(255, 46, 147, 0.5),
            0 10px 30px rgba(0, 0, 0, 0.4),
            inset -8px -8px 25px rgba(184, 18, 114, 0.9),
            inset 8px 8px 25px rgba(255, 158, 219, 0.6);
    }
    50% {
        box-shadow:
            0 0 50px rgba(255, 46, 147, 1),
            0 0 100px rgba(255, 46, 147, 0.7),
            0 10px 30px rgba(0, 0, 0, 0.4),
            inset -8px -8px 25px rgba(184, 18, 114, 0.9),
            inset 8px 8px 25px rgba(255, 158, 219, 0.6);
    }
}

/* ---------- فرم (شیشه‌ای با هاله نوری) ---------- */
#login form {
    margin: 0 !important;
    padding: 40px 32px 30px !important;
    background: var(--plt-glass) !important;
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid var(--plt-border);
    border-radius: 22px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.55),
        0 0 40px rgba(255, 46, 147, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    animation: pltFormGlow 6s ease-in-out infinite;
}

@keyframes pltFormGlow {
    0%, 100% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.55),
            0 0 40px rgba(255, 46, 147, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }
    50% {
        box-shadow:
            0 20px 60px rgba(0, 0, 0, 0.55),
            0 0 70px rgba(255, 46, 147, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }
}

/* خط نور مورب */
#login form::before {
    content: '';
    position: absolute;
    top: -50%; left: -60%;
    width: 40%; height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
    transform: rotate(25deg);
    animation: pltShine 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes pltShine {
    0%, 100% { left: -60%; }
    50%      { left: 120%; }
}

/* نوار نئونی بالای فرم */
#login form::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent,
        var(--plt-pink-1),
        var(--plt-pink-2),
        var(--plt-pink-1),
        transparent);
    background-size: 200% 100%;
    animation: pltTopBar 3s linear infinite;
}

@keyframes pltTopBar {
    0%   { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* ---------- لیبل‌ها ---------- */
#login label {
    color: var(--plt-pink-soft) !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 6px;
}

/* ---------- فیلدهای ورودی ---------- */
#login form .input,
#login form input[type="text"],
#login form input[type="password"],
#login form input[type="email"] {
    width: 100% !important;
    padding: 14px 18px !important;
    font-size: 15px !important;
    color: #fff !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 110, 199, 0.25) !important;
    border-radius: 12px !important;
    box-shadow: inset 0 0 20px rgba(255, 46, 147, 0.05) !important;
    transition: all 0.3s ease;
    outline: none;
    margin-top: 4px !important;
    margin-bottom: 16px !important;
}

#login form .input:focus,
#login form input:focus {
    background: rgba(255, 46, 147, 0.08) !important;
    border-color: var(--plt-pink-1) !important;
    box-shadow:
        0 0 0 3px rgba(255, 46, 147, 0.2),
        0 0 25px rgba(255, 46, 147, 0.45),
        inset 0 0 20px rgba(255, 46, 147, 0.1) !important;
}

#login form input::placeholder {
    color: rgba(255, 158, 219, 0.4);
}

/* ---------- چک‌باکس سفارشی ---------- */
#login .forgetmenot { margin-bottom: 20px; }

#login .forgetmenot label {
    color: var(--plt-pink-3) !important;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.3px;
    text-transform: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 0;
}

#login input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border: 1.5px solid var(--plt-pink-2);
    border-radius: 5px;
    background-color: rgba(255, 46, 147, 0.08);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

#login input[type="checkbox"]:checked {
    background-color: var(--plt-pink-1);
    border-color: var(--plt-pink-1);
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
    box-shadow: 0 0 15px rgba(255, 46, 147, 0.7);
}

/* ---------- دکمه ورود ---------- */
#wp-submit,
.login .button-primary {
    width: 100%;
    padding: 15px 20px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #fff !important;
    background: linear-gradient(135deg,
        var(--plt-pink-1) 0%,
        var(--plt-pink-2) 50%,
        var(--plt-pink-1) 100%) !important;
    background-size: 200% 100% !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow:
        0 8px 25px rgba(255, 46, 147, 0.5),
        0 0 40px rgba(255, 46, 147, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pltButtonFlow 5s ease infinite;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    height: auto !important;
    line-height: 1.2 !important;
    margin-top: 4px;
}

@keyframes pltButtonFlow {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

#wp-submit:hover,
.login .button-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 35px rgba(255, 46, 147, 0.75),
        0 0 60px rgba(255, 46, 147, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

#wp-submit:active {
    transform: translateY(0);
}

/* ---------- لینک‌ها ---------- */
#login #nav,
#login #backtoblog {
    text-align: center;
    font-size: 13px;
    margin: 16px 0 0 !important;
    padding: 0 !important;
}

#login #nav a,
#login #backtoblog a {
    color: var(--plt-pink-3) !important;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

#login #nav a:hover,
#login #backtoblog a:hover {
    color: var(--plt-pink-soft) !important;
    text-shadow: 0 0 15px var(--plt-pink-1);
    background: rgba(255, 46, 147, 0.1);
}

/* ---------- پیام‌ها ---------- */
#login .message,
#login .success {
    background: rgba(255, 46, 147, 0.1) !important;
    border: 1px solid rgba(255, 110, 199, 0.3) !important;
    border-left: 4px solid var(--plt-pink-1) !important;
    color: var(--plt-pink-soft) !important;
    border-radius: 12px !important;
    box-shadow: 0 0 25px rgba(255, 46, 147, 0.2);
    padding: 14px 16px !important;
    font-size: 14px;
    margin-bottom: 20px !important;
}

#login #login_error {
    background: rgba(255, 46, 147, 0.15) !important;
    border: 1px solid rgba(255, 46, 147, 0.5) !important;
    border-left: 4px solid var(--plt-pink-1) !important;
    color: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 0 30px rgba(255, 46, 147, 0.4);
    padding: 14px 16px !important;
    font-size: 14px;
    margin-bottom: 20px !important;
}

#login #login_error a { color: var(--plt-pink-3) !important; }

/* ---------- سلکتور زبان ---------- */
#login .language-switcher { margin-top: 20px; }

#login .language-switcher select {
    background: rgba(30, 8, 40, 0.6) !important;
    border: 1px solid rgba(255, 110, 199, 0.3) !important;
    color: var(--plt-pink-soft) !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
}

/* ---------- ریسپانسیو ---------- */
@media (max-width: 480px) {
    #login {
        max-width: 100%;
        padding: 15px;
    }
    #login form {
        padding: 30px 22px 24px !important;
    }
    #login h1 a {
        width: 75px; height: 75px;
    }
    .plt-shape-circle  { width: 130px; height: 130px; }
    .plt-shape-triangle { width: 100px; height: 100px; }
    .plt-shape-square   { width: 80px;  height: 80px; }
    .plt-shape-hexagon  { width: 100px; height: 100px; }
}

/* ---------- کاهش حرکت (دسترس‌پذیری) ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}



/*  end  */

.language-switcher {
    display: none;
}

p#backtoblog {
    display: none;
}