/* App-specific bridge styles for legacy templates on top of redesign.css */

#bodyPanel.content {
  flex: 1 0 auto;
  padding: 1rem 0 2rem;
}

.ifaktury-redesign .page-title,
.ifaktury-redesign .section-title {
  display: block;
}

.app-content {
  gap: 1rem;
}

.app-content > h1,
.app-content > h2,
.app-content > h3,
.app-content > h4,
.app-content > h5 {
  margin: 0.2rem 0 0.45rem;
  line-height: 1.2;
  color: var(--text);
}

.app-content > h1,
.app-content > h2 {
  font-family: var(--head-font);
  font-weight: 700;
}

.app-content p,
.app-content li,
.app-content td,
.app-content th,
.app-content label,
.app-content input,
.app-content select,
.app-content textarea {
  font-size: 0.95rem;
}

.app-content p {
  margin: 0.35rem 0 0.8rem;
}

.app-content ol,
.app-content ul {
  padding-left: 1.2rem;
}

.app-content .card ul,
.app-content .card ol {
  margin: 0;
}

.app-content .clear {
  clear: both;
  height: 0;
  overflow: hidden;
}

.app-content .float {
  float: left;
  width: calc(50% - 0.5rem);
  margin: 0 1rem 1rem 0;
}

.app-content .float.floatr {
  float: right;
  margin-right: 0;
  margin-left: 1rem;
}

.app-content .right {
  float: right;
  width: min(300px, 42%);
  margin: 0 0 1rem 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.app-content .ileft,
.app-content .iright {
  float: left;
  width: 48%;
  margin-bottom: 0.8rem;
}

.app-content .iright {
  float: right;
}

.app-content .ileft img,
.app-content .iright img,
.app-content a.lightbox img {
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  background: #fff;
}

.app-content .info,
.app-content .error {
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  margin: 0.2rem 0 0.9rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.app-content .info {
  border-color: rgba(59, 141, 224, 0.28);
  background: rgba(59, 141, 224, 0.08);
}

.app-content .error {
  border-color: rgba(217, 31, 17, 0.24);
  background: rgba(217, 31, 17, 0.06);
  color: #8a1e15;
}

.app-content a.nodecor {
  text-decoration: none;
}

.app-content .otable,
.app-content .itable,
.app-content .vtable,
.app-content table.inline-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.app-content .otable th,
.app-content .otable td,
.app-content .itable th,
.app-content .itable td,
.app-content .vtable th,
.app-content .vtable td,
.app-content table.inline-table th,
.app-content table.inline-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  vertical-align: top;
  text-align: left;
}

.app-content .otable tr:last-child th,
.app-content .otable tr:last-child td,
.app-content .itable tr:last-child th,
.app-content .itable tr:last-child td,
.app-content .vtable tr:last-child th,
.app-content .vtable tr:last-child td {
  border-bottom: 0;
}

.app-content .otable th,
.app-content .itable th,
.app-content .vtable th {
  background: rgba(59, 141, 224, 0.06);
  color: #40403a;
  font-weight: 700;
}

.app-content .otable tr.odd td,
.app-content .otable tr.odd th,
.app-content .itable tr.odd td,
.app-content .itable tr.odd th,
.app-content .vtable tr.odd td,
.app-content .vtable tr.odd th {
  background: rgba(0, 0, 0, 0.02);
}

.app-content form {
  margin: 0;
}

.app-content .input {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.app-content .input > label {
  padding-top: 0.55rem;
  color: var(--text-soft);
}

.app-content .input input[type="text"],
.app-content .input input[type="password"],
.app-content .input input[type="email"],
.app-content .input input[type="number"],
.app-content .input input[type="date"],
.app-content .input input[type="url"],
.app-content .input select,
.app-content .input textarea,
.app-content input[type="text"],
.app-content input[type="password"],
.app-content input[type="email"],
.app-content input[type="number"],
.app-content input[type="date"],
.app-content input[type="url"],
.app-content select,
.app-content textarea {
  width: 100%;
  max-width: 100%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.app-content input[type="checkbox"] {
  width: auto;
  max-width: none;
  padding: 0;
  margin: 0.2rem 0 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  transform: translateY(1px);
}

.app-content textarea {
  min-height: 120px;
  resize: vertical;
}

.app-content .input .error {
  padding: 0.45rem 0.55rem;
  min-width: 2.3rem;
  text-align: center;
  margin: 0;
  line-height: 1.2;
}

.app-content .submit,
.app-content input[type="submit"],
.app-content input[type="button"],
.app-content button,
.app-content .btnlike {
  border: 1px solid rgba(222, 98, 16, 0.34);
  background: linear-gradient(180deg, #ff9b53 0%, var(--brand-orange) 55%, var(--brand-orange-deep) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 0.55rem 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 8px 16px rgba(222, 98, 16, 0.18);
}

.app-content .submit:hover,
.app-content input[type="submit"]:hover,
.app-content input[type="button"]:hover,
.app-content button:hover,
.app-content .btnlike:hover {
  filter: brightness(0.98);
}

.app-content .submit:disabled,
.app-content input[type="submit"]:disabled,
.app-content input[type="button"]:disabled,
.app-content button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.app-content table[align="right"] {
  float: right;
  width: min(320px, 100%);
  margin: 0 0 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.app-content table[align="right"] th,
.app-content table[align="right"] td {
  padding: 0.35rem 0.7rem;
}

.app-content .red {
  color: var(--danger);
  font-weight: 700;
}

.app-content .required {
  font-weight: 600;
}

.app-content .sizeSm {
  max-width: 14rem;
}

.app-content select.small {
  width: auto;
  min-width: 10rem;
  max-width: 100%;
}

.app-content .legacy-toolbar,
.app-content .legacy-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  padding: 0.9rem 1rem;
}

.app-content .legacy-content-card::after,
.app-content .legacy-card::after {
  content: "";
  display: block;
  clear: both;
}

.app-content .legacy-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 1rem;
}

.app-content .page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "title actions"
    "subtitle subtitle";
  align-items: start;
  gap: 0.9rem 1.2rem;
}

.app-content .page-head-main {
  display: contents;
}

.app-content .page-head-main > .page-title {
  grid-area: title;
  margin-right: 0;
}

.app-content .page-head-main .lead,
.app-content .page-head-main .muted {
  grid-area: subtitle;
  margin-right: 0;
  max-width: none;
  margin-bottom: 0;
}

.app-content .page-head-actions {
  margin-left: auto;
  grid-area: actions;
  align-self: start;
}

.app-content .page-head-actions .legacy-toolbar {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  justify-content: flex-end;
}

.app-content .legacy-toolbar .primary-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid rgba(59, 141, 224, 0.22);
  background: rgba(59, 141, 224, 0.07);
  color: #1f5fa2;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
}

.app-content .legacy-toolbar .primary-link:hover {
  background: rgba(59, 141, 224, 0.12);
}

.app-content .page-head-actions .legacy-toolbar .primary-link {
  border-color: rgba(222, 98, 16, 0.34);
  background: linear-gradient(180deg, #ffb06e 0%, var(--brand-orange) 58%, var(--brand-orange-deep) 100%);
  color: #fff;
  border-radius: 10px;
  padding: 0.5rem 0.85rem;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.28) inset, 0 6px 14px rgba(222, 98, 16, 0.14);
}

.app-content .page-head-actions .legacy-toolbar .primary-link:hover {
  filter: brightness(0.98);
  color: #fff;
}

.app-content .table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.app-content .overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: start;
}

.app-content .overview-grid .overview-panel.float,
.app-content .overview-grid .overview-panel.float.floatr {
  float: none;
  width: auto;
  margin: 0;
}

.app-content table.filter,
.app-content table.form {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.app-content table.wtable {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.app-content table.wtable th,
.app-content table.wtable td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
  vertical-align: top;
}

.app-content table.wtable th {
  background: rgba(59, 141, 224, 0.05);
  text-align: left;
}

.app-content table.wtable tr:last-child td,
.app-content table.wtable tr:last-child th {
  border-bottom: 0;
}

.app-content table.wtable tr.odd td {
  background: rgba(0, 0, 0, 0.014);
}

.app-content table.filter td,
.app-content table.form td,
.app-content table.filter th,
.app-content table.form th {
  padding: 0.55rem 0.65rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.app-content table.filter tr:last-child td,
.app-content table.form tr:last-child td {
  border-bottom: 0;
}

.app-content table.filter input[type="text"],
.app-content table.filter select {
  min-width: 8rem;
}

.app-content table.d_table {
  width: 100%;
  border-collapse: separate !important;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.app-content table.d_table th,
.app-content table.d_table td {
  padding: 0.5rem 0.55rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.055);
  vertical-align: middle;
}

.app-content table.d_table th {
  background: rgba(59, 141, 224, 0.05);
  color: #464640;
  font-weight: 700;
  white-space: nowrap;
}

.app-content table.d_table th a {
  color: inherit;
  text-decoration: none;
}

.app-content table.d_table th a:hover {
  color: var(--brand-blue-deep);
}

.app-content table.d_table tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.014);
}

.app-content table.d_table tr.odd td {
  background: rgba(0, 0, 0, 0.018);
}

.app-content table.d_table tr:hover td {
  background: rgba(59, 141, 224, 0.035);
}

.app-content table.d_table tr:last-child td {
  border-bottom: 0;
}

.app-content table.d_table td a img,
.app-content table.form td a img {
  display: inline-block;
  vertical-align: middle;
  padding: 3px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.75);
}

.app-content table.d_table td a:hover img,
.app-content table.form td a:hover img {
  border-color: rgba(59, 141, 224, 0.18);
  background: rgba(59, 141, 224, 0.06);
}

.app-content .ods {
  height: 0.75rem;
}

.app-content .width100 {
  width: 100%;
}

.app-content img[align="absmiddle"] {
  vertical-align: middle;
}

.app-content img.help-inline-icon {
  display: inline-block;
  vertical-align: text-bottom;
  margin: 0 0.12em;
}

.account-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.account-strip .user-links {
  color: var(--text-soft);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.account-strip .user-links a {
  font-weight: 600;
}

.header-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.42rem;
}

.header-side .account-strip.account-strip-inline {
  margin-top: 0;
}

.header-side .account-strip.account-strip-inline .user-links {
  font-size: 0.82rem;
  line-height: 1.1;
}

.nav-account-row {
  display: none;
}

.nav-account-panel {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.4rem 0.15rem;
  color: var(--text-soft);
}

.nav-account-panel a {
  padding: 0.28rem 0.38rem;
}

.nav-account-panel .sep {
  color: #8a8a82;
}

#buyMe.admin-cta {
  margin-top: 0.9rem;
}

#buyMe.admin-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  background: rgba(115, 200, 43, 0.12);
  border: 1px solid rgba(115, 200, 43, 0.3);
  text-decoration: none;
  font-weight: 700;
  color: #3f6f16;
}

#buyMe.admin-cta a:hover {
  background: rgba(115, 200, 43, 0.18);
}

.legacy-content-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
  padding: 1rem;
}

.showcase-shot {
  display: block;
  margin-bottom: 0.75rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.showcase-shot img {
  width: 100%;
  height: auto;
}

.showcase-shot .shot-caption {
  display: block;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  color: var(--text-soft);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  background: rgba(0, 0, 0, 0.015);
}

.news-feed {
  display: grid;
  gap: 0.8rem;
}

.news-feed .news-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 0.95rem;
}

.news-feed .news-item h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.news-feed .news-meta {
  margin-bottom: 0.35rem;
}

.form-card .error {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  color: var(--danger);
  font-weight: 700;
}

.terms-prose ol {
  padding-left: 1.3rem;
}

.terms-prose li {
  margin-bottom: 0.4rem;
}

#dialog.jqi {
  position: fixed;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  z-index: 1200;
  width: min(860px, calc(100vw - 1rem));
  max-height: calc(100vh - 1rem);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(247, 247, 244, 0.98);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  padding: 1rem;
}

#dialog.jqi h2 {
  margin-top: 0;
}

#dialog.jqi .jqibuttons {
  padding-top: 0.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 0.4rem;
}

.ifaktury-redesign .hero-grid .feature-tile .tile-title {
  text-transform: uppercase !important;
  letter-spacing: 0.03em;
}

.ifaktury-redesign .home-news-head .home-news-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Force the EN badge to use the repository's actual UK flag image. */
.ifaktury-redesign .lang-option .lang-badge.uk {
  background: url(../images/uk.gif) center/cover no-repeat !important;
}

.ifaktury-redesign .home-news-head .home-news-link .home-news-link-icon {
  width: 0.95rem;
  height: 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffb36f, #f47a1f);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.45) inset, 0 1px 3px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  font-weight: 700;
  font-size: 0.72rem;
  line-height: 1;
  flex: 0 0 0.95rem;
}

.ifaktury-redesign .app-content .auth-card {
  margin-left: 0;
  margin-right: 0;
}

.ifaktury-redesign .app-content .auth-card > .lead {
  max-width: none;
}

.ifaktury-redesign .app-content .auth-card .input input[type="text"],
.ifaktury-redesign .app-content .auth-card .input input[type="password"],
.ifaktury-redesign .app-content .auth-card .input input[type="email"],
.ifaktury-redesign .app-content .auth-card .input input[type="number"],
.ifaktury-redesign .app-content .auth-card .input input[type="url"],
.ifaktury-redesign .app-content .auth-card .input select,
.ifaktury-redesign .app-content .auth-card .input textarea {
  max-width: 28rem;
}

.ifaktury-redesign .app-content .auth-card .input textarea {
  max-width: 36rem;
}

.ifaktury-redesign .app-content .auth-card .input input[type="checkbox"] {
  max-width: none;
}

.ifaktury-redesign .app-content .auth-card .input select.small {
  max-width: none;
}

.ifaktury-redesign .app-content .auth-card-registration .input input[name="zip"] {
  max-width: 6.5rem;
}

.ifaktury-redesign .app-content .auth-card-registration .input input[name="idno"] {
  max-width: 9rem;
}

.ifaktury-redesign .app-content .auth-card-registration .input input[name="vatno"] {
  max-width: 12rem;
}

.ifaktury-redesign .app-content .auth-card-registration .input input[name="name"],
.ifaktury-redesign .app-content .auth-card-registration .input input[name="surname"] {
  max-width: 14rem;
}

.ifaktury-redesign .app-content .auth-card-registration .input input[name="city"] {
  max-width: 16rem;
}

.ifaktury-redesign .app-content .auth-card-registration .input input[name="accountnumber"] {
  max-width: 14rem;
}

.ifaktury-redesign .app-content .auth-card-registration .input.account-inline-row {
  grid-template-columns: minmax(150px, 220px) auto auto;
  justify-content: start;
}

.ifaktury-redesign .app-content .auth-card-registration .input select[name="bankid"] {
  max-width: 20rem;
}

.ifaktury-redesign .app-content .auth-card-registration .input input[name="iban"] {
  max-width: 26rem;
}

.ifaktury-redesign .app-content .auth-card-registration .input input[name="phone"],
.ifaktury-redesign .app-content .auth-card-registration .input input[name="fax"] {
  max-width: 14rem;
}

.ifaktury-redesign .app-content .auth-card .input.input-actions .login-actions {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 0.5rem;
  width: 100%;
  max-width: 28rem;
  align-items: stretch;
}

.ifaktury-redesign .app-content .auth-card .input.input-actions .login-actions .submit {
  width: 100%;
}

.ifaktury-redesign .app-content .auth-card .input.input-actions .login-secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #ffffff 0%, #f2f2ee 100%);
  color: var(--text);
  font-weight: 600;
  font-size: 0.88rem;
  line-height: 1.15;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.ifaktury-redesign .app-content .auth-card .input.input-actions .login-secondary-action:hover {
  background: linear-gradient(180deg, #ffffff 0%, #ecece7 100%);
  color: var(--brand-orange-deep);
}

.ifaktury-redesign .app-content .auth-card .input.input-actions-single .submit {
  justify-self: start;
  width: auto;
  min-width: 9rem;
  max-width: none;
}

.ifaktury-redesign .app-content .auth-card .input.consent-input {
  align-items: center;
}

.ifaktury-redesign .app-content .auth-card .input .consent-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  max-width: 40rem;
  min-height: 2.2rem;
}

.ifaktury-redesign .app-content .auth-card .input .consent-check {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  white-space: normal;
  color: var(--text);
}

.ifaktury-redesign .app-content .auth-card .input .consent-check input[type="checkbox"] {
  margin: 0;
  transform: none;
}

.ifaktury-redesign .app-content .auth-card .input.checkbox-input {
  align-items: center;
}

.ifaktury-redesign .app-content .auth-card .input.checkbox-input > label:first-child {
  color: var(--text-soft);
}

.ifaktury-redesign .app-content .auth-card .input.checkbox-input .checkbox-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: var(--text);
  min-height: 2.2rem;
}

.ifaktury-redesign .app-content .auth-card .input.checkbox-input .checkbox-inline input[type="checkbox"] {
  margin: 0;
  transform: none;
}

@media (max-width: 920px) {
  .app-content .float,
  .app-content .float.floatr,
  .app-content .right,
  .app-content .ileft,
  .app-content .iright,
  .app-content table[align="right"] {
    float: none;
    width: 100%;
    margin: 0 0 1rem;
  }

  .app-content .input {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .app-content .page-head {
    display: block;
  }

  .app-content .page-head-main {
    display: block;
  }

  .header-side {
    order: 2;
    margin-left: auto;
    align-items: flex-end;
  }

  .header-side .account-strip.account-strip-inline {
    display: none;
  }

  .nav-account-row {
    display: list-item;
  }

  .nav-account-panel {
    border-top: 1px solid var(--line);
    margin-top: 0.15rem;
    padding-top: 0.55rem;
    gap: 0.3rem;
  }

  .app-content .page-head-actions {
    margin-left: 0;
    margin-top: 0.65rem;
    align-self: auto;
  }

  .app-content .page-head-actions .legacy-toolbar {
    justify-content: flex-start;
  }

  .app-content .overview-grid {
    grid-template-columns: 1fr;
  }

  .app-content .input > label {
    padding-top: 0;
  }

  .app-content .input .error {
    justify-self: start;
  }

  .app-content .input select.small {
    width: 100%;
    min-width: 0;
  }

  .app-content table.filter,
  .app-content table.form {
    display: block;
    overflow-x: auto;
  }

  .app-content table.filter tbody,
  .app-content table.form tbody {
    display: table;
    min-width: 720px;
    width: 100%;
  }

  .ifaktury-redesign .app-content .auth-card .input .consent-inline {
    max-width: 100%;
  }

  .ifaktury-redesign .app-content .auth-card-registration .input input[name="zip"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="idno"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="vatno"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="name"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="surname"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="city"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="accountnumber"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="iban"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="phone"],
  .ifaktury-redesign .app-content .auth-card-registration .input input[name="fax"],
  .ifaktury-redesign .app-content .auth-card-registration .input select[name="bankid"] {
    max-width: 100%;
  }

  .ifaktury-redesign .app-content .auth-card .input.checkbox-input > label:first-child {
    display: none;
  }

  .ifaktury-redesign .app-content .auth-card .input.input-actions .login-actions {
    grid-template-columns: 1fr;
    max-width: 28rem;
  }

  #dialog.jqi {
    width: calc(100vw - 0.75rem);
    max-height: calc(100vh - 0.75rem);
    padding: 0.8rem;
  }
}
