
/* KFINDER — globalny tryb bez JavaScript */

.kfinder-language-switcher{
  position:fixed;
  top:12px;
  right:12px;
  z-index:10050;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
  gap:6px;
  max-width:calc(100vw - 24px);
  padding:7px;
  border:1px solid rgba(255,255,255,.15);
  border-radius:14px;
  background:rgba(12,2,6,.92);
  box-shadow:0 10px 34px rgba(0,0,0,.28);
}

.kfinder-language-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  min-height:32px;
  padding:5px 8px;
  border:1px solid rgba(200,0,50,.30);
  border-radius:9px;
  color:#fff;
  background:#24040d;
  font-size:.72rem;
  font-weight:900;
  text-decoration:none;
}

.kfinder-language-link:hover,
.kfinder-language-link:focus-visible,
.kfinder-language-link.active{
  border-color:#c80032;
  background:#c80032;
}

.kfinder-language-switcher .kfinder-top-account-button{
  min-height:32px;
  padding:6px 10px;
  border-radius:9px;
  font-size:.72rem;
  white-space:nowrap;
}

/* The same buttons are rendered in the fixed server-side toolbar. */
.homepage-account-actions{
  display:none!important;
}

.kfinder-server-guard{
  display:grid;
  gap:7px;
  margin:12px 0;
  padding:12px;
  border:1px solid rgba(200,0,50,.28);
  border-radius:12px;
  background:rgba(200,0,50,.055);
}

.kfinder-server-guard label{
  display:grid;
  gap:7px;
  margin:0;
  font-weight:800;
}

.kfinder-server-guard input[name="kfinder_guard_answer"]{
  width:110px;
  max-width:100%;
  text-align:center;
  font-size:1rem;
  font-weight:900;
}

.kfinder-guard-honeypot{
  position:absolute!important;
  left:-10000px!important;
  top:auto!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
}

input[name="code"],
input[name="search"]{
  text-transform:uppercase;
}

/* Full logo without DOM manipulation. */
.logo-mark{
  display:block;
  width:min(260px,36vw)!important;
  height:52px!important;
  min-width:88px;
  border:0!important;
  border-radius:0!important;
  color:transparent!important;
  background-color:transparent!important;
  background-image:url('/assets/kfinder-logo-white.png')!important;
  background-repeat:no-repeat!important;
  background-position:left center!important;
  background-size:contain!important;
  box-shadow:none!important;
  overflow:hidden;
  user-select:none;
}

.logo-mark.small{
  width:min(123px,31vw)!important;
  height:34px!important;
}

.customer-brand{
  text-decoration:none;
}

.customer-brand > strong,
.sidebar > div:first-child > strong{
  display:none!important;
}

.customer-brand .logo-mark.small{
  width:min(150px,29vw)!important;
  height:38px!important;
}

.sidebar .logo-mark.small{
  width:min(110px,100%)!important;
  height:32px!important;
}

/* Homepage feature icons without JS injection. */
.feature-grid article{
  position:relative;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.feature-grid .feature-card-link:nth-child(1) article::before,
.feature-grid .feature-card-link:nth-child(2) article::before{
  content:"";
  display:block;
  width:54px;
  height:54px;
  margin:0 0 12px;
  border-radius:12px;
  background-color:var(--kf-color-surface);
  background-repeat:no-repeat;
  background-position:center;
  background-size:contain;
}

.feature-grid .feature-card-link:nth-child(1) article::before{
  background-image:url('/assets/kfinder-activation-icon.png');
}

.feature-grid .feature-card-link:nth-child(2) article::before{
  background-image:url('/assets/kfinder-found-icon.png');
}

.kfinder-nojs-copy-note,
.kfinder-nojs-print-note{
  display:block;
  margin-top:8px;
  color:var(--muted,#aeb4c0);
  font-size:.78rem;
  line-height:1.45;
}

.kfinder-nojs-totp-link{
  word-break:break-word;
}

.identifier-delete-toolbar .nojs-select-all-visible{
  white-space:normal;
}

@media(max-width:680px){
  .kfinder-language-switcher{
    top:8px;
    left:8px;
    right:8px;
    justify-content:center;
  }
  .kfinder-language-switcher .kfinder-top-account-button{
    flex:1 1 auto;
    text-align:center;
  }
  .feature-grid .feature-card-link:nth-child(1) article::before,
  .feature-grid .feature-card-link:nth-child(2) article::before{
    width:46px;
    height:46px;
  }
}

@media(max-width:440px){
  .feature-grid .feature-card-link:nth-child(1) article::before,
  .feature-grid .feature-card-link:nth-child(2) article::before{
    width:40px;
    height:40px;
  }
}

@media print{
  .kfinder-language-switcher,
  .kfinder-nojs-copy-note,
  .kfinder-nojs-print-note,
  .sidebar,
  .back-link,
  .actions{
    display:none!important;
  }
}
