* {
  font-style: normal !important;
}

* {
  margin: none;
  border: none;
  padding: none;
  outline: none;
  list-style: none;
  text-decoration: none;
  -webkit-user-drag: none;
}

body {
  color: #52525B !important;
}

input, textarea, select {
  box-shadow: unset !important;
  outline: none !important;
  border-color: #E4E4E7 !important;
}
input:hover, input:focus, textarea:hover, textarea:focus, select:hover, select:focus {
  border-color: rgba(2, 132, 199, 0.5) !important;
}

.wp-core-ui select {
  min-height: 2.4rem !important;
  padding: 0 1rem 0 2rem;
  background-size: 14px;
}

input[type=checkbox], input[type=radio] {
  width: 1.1rem !important;
  height: 1.1rem !important;
  max-width: 1.1rem !important;
  max-height: 1.1rem !important;
  min-width: 1.1rem !important;
  min-height: 1.1rem !important;
}

select,
input:not([type=radio]),
textarea {
  border-radius: 6px;
}

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] {
  min-height: 2.4rem;
}

.button, .action {
  border: unset !important;
}
.button:hover, .action:hover {
  opacity: 0.9;
}

select {
  border-color: #E4E4E7 !important;
  padding: 1px 10px 1px 30px;
}

.button, .action, select {
  box-shadow: 0 1px 2px rgba(51, 51, 51, 0.07);
}

input[type=checkbox]:not(.components-form-toggle__input) {
  position: relative !important;
  border-radius: 6px;
  outline: none !important;
  transition: 200ms;
}
input[type=checkbox]:not(.components-form-toggle__input):hover, input[type=checkbox]:not(.components-form-toggle__input):focus {
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
  border-color: rgba(2, 132, 199, 0.5) !important;
}
input[type=checkbox]:not(.components-form-toggle__input)::before {
  all: unset !important;
}
input[type=checkbox]:not(.components-form-toggle__input):checked {
  border-color: #0284C7 !important;
  background: #0284C7 !important;
  border-color: rgba(2, 132, 199, 0.5) !important;
}
input[type=checkbox]:not(.components-form-toggle__input):checked::before {
  position: absolute !important;
  top: 50% !important;
  right: 50% !important;
  transform: translate(50%, -50%) !important;
  font-size: 8px !important;
  color: white !important;
  font-family: wp-administration-style-icons !important;
  content: "\e908" !important;
}

input[type=radio] {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
input[type=radio]::before {
  margin: unset !important;
}
input[type=radio]:checked::before {
  background: #0284C7 !important;
}

input[type=button],
input[type=submit],
input[type=file],
input[type=range],
input[type=checkbox],
input[type=radio],
select {
  user-select: none;
  -webkit-user-drag: none;
}

input, select, textarea {
  border-width: 2px !important;
}

.wp-core-ui .button, .wp-core-ui .button-primary, .wp-core-ui .button-secondary, select {
  border-radius: 6px !important;
}

a.preview, input#publish, input#save-post {
  margin-bottom: unset;
  line-height: unset;
}

body {
  font-family: "Vazirmatn", "dashicons" !important;
  color: #52525B !important;
  user-select: none;
  height: 100vh;
  height: 100dvh;
  display: grid;
  align-content: center;
  align-items: center;
}

.password-input {
  font-family: inherit !important;
}

a:focus {
  box-shadow: unset !important;
}

h1 {
  display: none;
}
h1 a {
  background-size: 65px !important;
  background-position: center bottom !important;
}

form {
  padding: 1.5rem !important;
  border-radius: 6px;
  margin-top: unset !important;
  border: unset !important;
  box-shadow: unset !important;
}

.input {
  font-size: 14px !important;
  line-height: 1 !important;
  padding: 0.5rem 1rem !important;
  margin: 0 0 1rem 0 !important;
  height: 40px;
  color: #71717A !important;
}

.dashicons-visibility::before {
  font-family: wp-administration-style-icons !important;
  content: "\e90a" !important;
}

.dashicons-hidden::before {
  font-family: wp-administration-style-icons !important;
  content: "\e90b" !important;
}

.dashicons-visibility,
.dashicons-hidden {
  display: inline-flex !important;
  font-size: 14px !important;
  width: unset !important;
  height: unset !important;
  top: unset !important;
}

.login .button.wp-hide-pw {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #71717A !important;
  height: 40px;
}
.login .button.wp-hide-pw:hover, .login .button.wp-hide-pw:focus {
  color: #0284C7 !important;
}
.login .button.wp-hide-pw:focus {
  box-shadow: unset !important;
}

.forgetmenot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.7rem;
}
.forgetmenot input, .forgetmenot label {
  margin: unset;
}

#wp-submit {
  padding: 0.75rem 1rem !important;
  border-radius: 6px !important;
  display: inline-flex !important;
  align-items: center !important;
  text-align: center !important;
  justify-content: center !important;
  transition: 150ms ease-in-out !important;
  user-select: none;
  color: #F4F4F5;
  background-color: #0284C7;
  min-height: unset !important;
  line-height: 1 !important;
  padding-right: 2rem !important;
  padding-left: 2rem !important;
  margin-bottom: unset !important;
}
#wp-submit:hover, #wp-submit:focus {
  color: #FAFAFA;
  background-color: #0369A1;
}
#wp-submit:focus {
  box-shadow: 0 0 0 3px rgba(3, 105, 161, 0.4) print_important(true);
}

#backtoblog, #nav {
  padding: unset !important;
}
#backtoblog a, #nav a {
  border-bottom: 1px dashed #A1A1AA;
  padding: unset !important;
}
#backtoblog a:hover, #backtoblog a:focus, #nav a:hover, #nav a:focus {
  color: #0284C7 !important;
  border-color: #0284C7 !important;
}

.message {
  box-shadow: unset !important;
  border-radius: 6px !important;
  border-top: 1px solid #E4E4E7 !important;
  border-bottom: 1px solid #E4E4E7 !important;
  border-left: 1px solid #E4E4E7 !important;
}

.language-switcher {
  width: 320px !important;
}

#language-switcher {
  display: flex !important;
  padding-right: unset !important;
  padding-left: unset !important;
  gap: 1rem !important;
}
#language-switcher .button {
  height: 40px !important;
  padding-right: 16px !important;
  padding-left: 16px !important;
  margin: unset !important;
  background: white;
  color: gray;
}

[for=language-switcher-locales] {
  display: none !important;
}

#language-switcher-locales {
  width: 100% !important;
  margin: unset !important;
}

.login #login_error, .login .message, .login .success {
  border-right-width: 3px !important;
}
