/* Textil B2B — wp-login.php
   Autor: CODEMA · http://codema.xyz/ */

body.login {
  background: #F7F5F1;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #1D1F1C;
  display: flex !important; flex-direction: column !important; align-items: center; justify-content: center; min-height: 100vh;
}
.language-switcher { padding: 0 16px 32px; }
#login { width: 100%; max-width: 420px; padding: 48px 16px; margin: 0 auto; }

.login h1 a {
  width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 14px;
  background: #1D1F1C center / contain no-repeat; background-image: none;
  color: #F7F5F1; text-indent: 0; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: -.03em; font-weight: 700; font-size: 0;
}
.login h1 a::after { content: "LOGO"; font-size: 15px; }
.login h1 a[style], .login h1 a.has-img::after { content: none; }

.login .textil-login-intro { text-align: center; margin: 0 0 22px; color: #5A5D57; font-size: 15px; line-height: 1.5; border: 0; background: none; box-shadow: none; padding: 0; }
.login .textil-login-intro strong { display: block; font-family: 'Plus Jakarta Sans', 'Inter', sans-serif; letter-spacing: -.03em; font-size: 32px; font-weight: 700; color: #1D1F1C; line-height: 1.1; margin-bottom: 8px; }

.login form {
  margin: 0; padding: 32px 30px; background: #fff; border: 1px solid #E2DED5; border-radius: 22px; box-shadow: none;
}
.login form .input, .login input[type="text"], .login input[type="password"], .login input[type="email"] {
  height: 50px; min-height: 50px; margin: 6px 0 18px; padding: 0 16px; font-size: 16px;
  border: 1px solid #CFCBC2; border-radius: 12px; background: #fff; box-shadow: none;
}
.login form .input:focus, .login input:focus { border-color: #2F5D62; box-shadow: 0 0 0 1px #2F5D62; outline: none; }
.login label { font-size: 14px; font-weight: 600; color: #1D1F1C; }
.login .button.wp-hide-pw { height: 50px; min-height: 50px; top: 6px; color: #5A5D57; }
.login .button.wp-hide-pw:focus { box-shadow: none; }
.login .forgetmenot { margin: 4px 0 18px; float: none; }
.login .forgetmenot label { font-weight: 400; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; }
.login input[type="checkbox"] { width: 20px; height: 20px; accent-color: #2F5D62; border-radius: 4px; margin: 0; }
.login .submit { float: none; }
.wp-core-ui .button-primary, .login .button-primary {
  float: none; width: 100%; height: 52px; min-height: 52px; border-radius: 12px; font-size: 16px; font-weight: 600;
  background: #2F5D62; border: 0; box-shadow: none; text-shadow: none;
}
.wp-core-ui .button-primary:hover, .wp-core-ui .button-primary:focus { background: #1F4246; box-shadow: none; }

.login #nav, .login #backtoblog { text-align: center; padding: 0; margin: 16px 0 0; font-size: 14px; }
.login #nav a, .login #backtoblog a { color: #2F5D62; }
.login #nav a:hover { color: #1F4246; }
.login #backtoblog { display: none; }

.login .message, .login .notice, .login #login_error {
  border: 1px solid #E2DED5; border-left-width: 1px; border-radius: 12px; box-shadow: none; margin: 0 0 16px; padding: 12px 14px; font-size: 14px;
}
.login #login_error { background: #F6E7E2; border-color: #E8C8BE; color: #8E3F2E; }
.login .message { background: #E7EEF2; border-color: #C8D7E0; }

.textil-login-contact { text-align: center; font-size: 14px; color: #5A5D57; margin: 18px auto 0; max-width: 420px; padding: 0 16px; }
.textil-login-contact a { color: #2F5D62; }
.language-switcher { opacity: .8; }

@media (max-width: 480px) {
  #login { padding: 24px 16px; }
  .login form { padding: 24px 20px; border-radius: 18px; }
}

/* Logoi brendova umesto WordPress logoa */
.login h1 { display: none; }
.textil-login-brands { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 0 0 26px; padding: 18px 20px; background: #fff; border: 1px solid #E2DED5; border-radius: 18px; }
.textil-login-brands__item { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-width: 0; height: 58px; }
.textil-login-brands__item + .textil-login-brands__item { border-left: 1px solid #EEEAE2; padding-left: 22px; }
.textil-login-brands__logo { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.textil-login-brands__item--textil .textil-login-brands__logo { max-height: 44px; }
.login .textil-login-intro strong { font-weight: 600; letter-spacing: -.01em; }
@media (max-width: 480px) {
  .textil-login-brands { gap: 12px; padding: 14px; }
  .textil-login-brands__item { height: 44px; }
  .textil-login-brands__item + .textil-login-brands__item { padding-left: 12px; }
}
