@font-face {
    font-family: 'aabed admin';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/IRANYekanXFaNum-Medium.woff2') format('woff2'),
         url('../fonts/IRANYekanXFaNum-Medium.woff') format('woff');
}

@font-face {
    font-family: 'aabed admin';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/IRANYekanXFaNum-DemiBold.woff2') format('woff2'),
         url('../fonts/IRANYekanXFaNum-DemiBold.woff') format('woff');
}

*, *::before, *::after {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

body.login {
    background: #17171D;
    font-family: 'aabed admin';
}

@keyframes normal-animation {
    from { transform: rotate(0deg); }
    to { transform: rotate(359deg); }
}

@keyframes luckyPulse {
    0%, 90%, 100% { transform: scale(1); }
    95% { transform: scale(1.18); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes samSlideIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes samPulse {
    0% { opacity: 0.6; r: 2; }
    50% { opacity: 0; r: 6; }
    100% { opacity: 0; r: 6; }
}

@keyframes subtleFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes noticeSlideIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

body {
    background: #282835;
}

html.wp-toolbar {
    padding-top: 25px;
}

a {
    color: #3c3c43;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: #e64a19;
}

.wp-core-ui .button {
    color: #282836;
    border-color: #d9d5d5;
    background: #ffffff;
    min-width: 42px;
    border-radius: 10px;
    min-height: 32px;
    height: 32px;
    transition: all 0.2s ease;
    position: relative;
}

.wp-core-ui .button::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(0,0,0,0.06) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.wp-core-ui .button:hover::after {
    opacity: 1;
}

.wp-core-ui .button.hover,
.wp-core-ui .button:hover {
    background: #f5f9f9;
    border-color: #c8cacc;
    color: #282836;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.wp-core-ui .button:active {
    transform: translateY(0) scale(0.98);
    box-shadow: none;
    transition-duration: 0.1s;
}

.wp-core-ui .button-primary {
    color: #fff;
    border-color: #fe6953;
    background: #fe6953;
    min-width: 42px;
    border-radius: 10px;
    min-height: 32px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.wp-core-ui .button-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.wp-core-ui .button-primary:hover::after {
    opacity: 1;
}

.wp-core-ui .button-primary.focus,
.wp-core-ui .button-primary.hover,
.wp-core-ui .button-primary:focus,
.wp-core-ui .button-primary:hover {
    background: #4d4d53;
    border-color: #4d4d53;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(254, 105, 83, 0.2);
}

.wp-core-ui .button-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition-duration: 0.1s;
}

input[type=color],
input[type=date],
input[type=datetime-local],
input[type=datetime],
input[type=email],
input[type=month],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=time],
input[type=url],
input[type=week],
select,
textarea,
.select2-container--default .select2-selection--single,
.wp-core-ui select {
    border-radius: 10px;
    min-height: 33px;
    font-size: 13px;
    color: #424549;
    border: 1px solid #e7e7e7 !important;
    box-shadow: 0 1px 1px rgba(0, 0, 0, .04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

input[type=color]:focus,
input[type=date]:focus,
input[type=datetime-local]:focus,
input[type=datetime]:focus,
input[type=email]:focus,
input[type=month]:focus,
input[type=number]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=time]:focus,
input[type=url]:focus,
input[type=week]:focus,
select:focus,
textarea:focus {
    border-color: #a0b0b0 !important;
    box-shadow: 0 0 0 2px rgba(160, 176, 176, 0.15), 0 1px 1px rgba(0, 0, 0, .04);
    outline: none;
    background-color: #fefefe;
}

.notice,
div.error,
div.updated {
    border-radius: 10px;
    animation: noticeSlideIn 0.3s ease forwards;
}

.form-table td .notice p,
.notice p,
.notice-title,
div.error p,
div.updated p {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 6px;
}

.notice, div.error, div.updated {
    border: none !important;
    box-shadow: 0px 0px 2px 0px #00000040;
}

.notice .button {
    border-radius: 30px;
    color: #3d3535;
    background: #f5f9f9;
    transition: all 0.2s ease;
}

.notice .button:hover {
    background: #eef3f3;
    transform: translateY(-1px);
}

div.updated p:before {
    font-family: 'Picon';
    font-size: 20px;
    line-height: 22px;
    content: "\e387";
    vertical-align: middle;
    padding-left: 5px;
    color: #00ACC1;
    animation: pulse 2s infinite;
    margin: 0 !important;
}

.notice-warning p:before {
    font-family: 'Picon';
    font-size: 20px;
    line-height: 22px;
    content: "\e388";
    vertical-align: middle;
    padding-left: 5px;
    color: #dba617;
    animation: pulse 2s infinite;
    margin: 0 !important;
}

.notice-error p:before {
    font-family: 'Picon';
    font-size: 20px;
    line-height: 22px;
    content: "\e387";
    vertical-align: middle;
    padding-left: 5px;
    color: #f44336;
    animation: pulse 2s infinite;
    margin: 0 !important;
}

.notice-warning.notice-alt {
    background-color: #f5f8f9;
}

.login .dashicons-hidden:before, .login .dashicons-visibility:before {
	color:#666
}

.login .button.wp-hide-pw {
    top: -3px;
    right: 0;
}

.login .button.wp-hide-pw:hover, .login .button.wp-hide-pw:focus {
    box-shadow: none  !important;
	border: none  !important;
}

.login form .input, .login input[type=password], .login input[type=text] {
    font-family: sans-serif;
    font-weight: 500;
    font-size: 17px;
    text-align: left;
    direction: ltr;
    padding: 0px 10px;
}

.js.login input.password-input {
    padding-right: 2.5rem;
	padding-left:10px
}

#backtoblog {
    margin: 8px 0;
}

.login h1 a {
    background-image: url(../images/login.png) !important;
    background-size: 100%;
    width: 100%;
}

.login form {
    border-radius: 25px;
    border: none;
}

.login label {
    margin-bottom: 10px;
}

.login .message,
.login .notice,
.login .success {
    border-radius: 10px;
}

.login .notice-error {
    border-right-color: #ff684e;
}

.login .privacy-policy-page-link,
.login .language-switcher {
    display: none;
}

.login #login #nav a,
.login #login #backtoblog a {
    color: #ddd;
}
