@font-face {
    font-family: 'IRANSansWeb';
    src: url('fonts/IRANSansWeb.woff2') format('woff2'),
         url('fonts/IRANSansWeb.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* فونت و بک گراند */
body.login {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    background-size: 400% 400%;
    animation: tiamirGradient 28s ease infinite;
    font-family: 'IRANSansWeb', sans-serif !important;
}
@keyframes tiamirGradient {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 50% 100%;
    }
    50% {
        background-position: 100% 50%;
    }
    75% {
        background-position: 50% 0%;
    }
    100% {
        background-position: 0% 50%;
    }
}
body.login::before {
    content: "";
    position: fixed;
    inset: 0;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(168,85,247,0.25),
        transparent 60%
    );
    animation: tiamirGlow 12s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes tiamirGlow {
    from {
        transform: translate(0,0) scale(1);
    }
    to {
        transform: translate(40px, -30px) scale(1.2);
    }
}

body.login,
body.login form,
body.login label,
body.login input,
body.login .button,
body.login #nav a,
body.login #backtoblog a {
    font-family: 'IRANSansWeb', sans-serif !important;
}

/* لوگو */
.login h1 a {
    background-image: url('logo.png');
    background-size: contain;
    width: 220px;
    height: 90px;
}

.login label {
    color: #fff;
}

/* آیکن چشم */
.login .dashicons-visibility,
.login .dashicons-hidden {
    color: #ffffff !important;
}

/* باکس شیشه‌ای */
#loginform {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

#login{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* فیلدها */
.login form .input {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    border-radius: 10px;
}


/* فوکوس */
.login form .input:focus {
    border-color: #a855f7;
    box-shadow: 0 0 10px #a855f7;
}


/* دکمه */
.wp-core-ui .button-group.button-large .button, .wp-core-ui .button.button-large{
     padding: 4px 40px;
}


.wp-core-ui .button-primary {
    background: linear-gradient(135deg, #7b2ff7, #f107a3);
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(123,47,247,0.6);
    transition: 0.3s;
}

.wp-core-ui .button-primary:hover {
    transform: translateY(-2px);
    background: #f107a3;
    box-shadow: 0 6px 25px rgba(241,7,163,0.8);
}


/* لینک‌ها */
.login #nav a,
.login #backtoblog a {
    color: #c084fc;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #fff;
}


/* حذف لوگو وردپرس پایین */
.login #backtoblog {
    text-align: center;
}


/* فوتر برند */
body.login:after {
    content: "Designed by Tiamir";
    color: rgba(255,255,255,0.4);
    position: fixed;
    bottom: 20px;
    width: 100%;
    text-align: center;
    font-size: 13px;
}

.login h1::after {
    content: "تیامیر، فرا‌تر از تصور";
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 15px;
    font-family: 'IRANSansWeb', sans-serif;
    background: linear-gradient(90deg,#c084fc,#edb8f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}