/* normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Text-level semantics
   ========================================================================== */

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Forms
   ========================================================================== */

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

input[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */

input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

@charset "UTF-8";

@font-face { font-family: "ziqromail"; src: url("fonts/ziqromail.woff2") format("woff2"), url("fonts/ziqromail.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.fontastic,
[data-icon]::before,
[class^="icon-"]::before,
[class*=" icon-"]::before {
  font-family: "ziqromail" !important;
  font-style: normal !important;
  font-weight: normal !important;
  font-variant: normal !important;
  line-height: 1;
  speak: never;
  -webkit-font-smoothing: antialiased;
}

[data-icon]::before {
	content: attr(data-icon);
	display: inline-block;
	margin-right: 0.5em;
	min-width: 1em;
}

.icon-arrows-in::before {
  content: "\e000";
}
.icon-arrows-out::before {
  content: "\e001";
}
.icon-user-add::before {
  content: "\e005";
}
.icon-paper-plane::before {
  content: "📧";
}
.icon-right-mini::before {
  content: "›";
}
.icon-down-mini::before {
  content: "⌄";
}
.icon-ok::before {
  content: "✔";
}
.icon-file::before {
  content: "🗎";
}
.icon-file-code::before {
  content: "\e030";
}
.icon-file-presentation::before {
  content: "📊";
}
.icon-file-archive::before {
  content: "📦";
}
.icon-file-audio::before {
  content: "🔊";
}
.icon-file-text::before {
  content: "📄";
}
.icon-file-image::before {
  content: "🖻";
}
.icon-file-certificate::before {
  content: "\e038"; /* 🔏 🔐 */
}
.icon-attachment::before {
  content: "📎";
}
.icon-file-spreadsheet::before {
  content: "▦";
}
.icon-file-video::before {
  content: "🎬";
}
.icon-folder-add::before {
  content: "\e03c";
}
.icon-lock::before {
  content: "🔒";
}
.icon-filter::before {
  content: "\e061"; /* ⊆ */
}
.icon-import::before {
  content: "\e066";
}
.icon-export::before {
  content: "\e067";
}
.icon-copy::before {
  content: "\e068";
}
.icon-check-mark-circle-two::before {
  content: "\e073";
}
.icon-file-calendar::before {
  content: "📅";
}

.input-block-level {
  display: block;
  width: 100%;
  min-height: 30px;
}
/* mobile and tablet */
:root {
  --smDialogShrink: 20px;
  --smMainShadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
/* For Firefox */
@media screen and (max-width: 799px) {
  :root {
    --smDialogShrink: 25px;
  }
}
.row {
  margin-left: -20px;
}
[class*="span"] {
  display: inline-block;
  margin-left: 20px;
  vertical-align: top;
}
.span12 {
  width: 940px;
}
.span11 {
  width: 860px;
}
.span10 {
  width: 780px;
}
.span9 {
  width: 700px;
}
.span8 {
  width: 620px;
}
.span7 {
  width: 540px;
}
.span6 {
  width: 460px;
}
.span5 {
  width: 380px;
}
.span4 {
  width: 300px;
}
.span3 {
  width: 220px;
}
.span2 {
  width: 140px;
}
.span1 {
  width: 60px;
}
p {
  margin: 0.715em 0;
}
small {
  font-size: 80%;
}
b,
strong {
  font-weight: bolder;
}
em {
  font-style: italic;
}
cite {
  font-style: normal;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 40px;
  margin: 0.715em 0;
  text-rendering: optimizelegibility;
}
h1 {
  font-size: 257%;
}
h2 {
  font-size: 214%;
}
h3 {
  font-size: 171%;
}
h4 {
  font-size: 128%;
}
h5 {
  font-size: 100%;
}
h6 {
  font-size: 85%;
}
h4,
h5,
h6 {
  line-height: 20px;
}
ul,
ol {
  padding: 0;
  margin: 0 0 0.715em 25px;
}
ul ul,
ul ol,
ol ol,
ol ul {
  margin-bottom: 0;
}
li {
  line-height: 1.43em;
}
hr {
  margin: 1.43em 0;
  border: 0;
  border-bottom: 1px solid var(--hr-color, #eee);
  height: 0;
}
blockquote {
  padding: 0 0 0 15px;
  margin: 0 0 1.43em;
  border-left: 5px solid var(--border-color, #ddd);
}
q::before,
q::after,
blockquote::before,
blockquote::after {
  content: "";
}
address {
  display: block;
  margin-bottom: 1.43em;
  font-style: normal;
  line-height: 1.43em;
}
form {
  margin: 0 0 1.43em;
}
label {
  display: inline-block;
  font-weight: normal;
  line-height: 1.43em;
  margin-bottom: 5px;
}
button,
input,
optgroup,
select,
.select,
textarea {
  font-family: inherit;
  font-size: var(--main-font-size, 14px);
  line-height: 1.43em;
  margin: 0;
  text-transform: none;
}
select,
.select,
textarea,
input {
  display: inline-block;
  padding: 4px 6px;
  color: var(--input-clr, #555);
  border-radius: var(--input-border-radius, 3px);
  width: 210px;
}
textarea,
input {
  background-color: var(--input-bg-clr, #fff);
  border: 1px solid var(--input-border-clr, #ccc);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border linear 0.2s, box-shadow linear 0.2s;
}
textarea:focus,
input:focus {
  border-color: var(--input-focus-border-clr, #999);
  box-shadow: none;
}
input:user-invalid {
  background-color: var(--error-bg-clr, #f2dede);
  border-color: var(--error-border-clr, #eed3d7);
  color: var(--error-clr, #b94a48);
}
input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  line-height: normal;
  cursor: pointer;
}
input[type="file"],
input[type="radio"],
input[type="checkbox"] {
  width: auto;
}
select,
.select {
  -webkit-appearance: none;
  appearance: none;
  background: var(--input-bg-clr, #fff) url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIGhlaWdodD0nMTBweCcgd2lkdGg9JzE1cHgnPjx0ZXh0IHg9JzAnIHk9JzEwJyBmaWxsPSdyZ2IoODUsODUsODUpJz7ilr48L3RleHQ+PC9zdmc+) right center / 1em no-repeat border-box;
  border: 1px solid var(--input-border-clr, #ccc);
  cursor: pointer;
  padding-right: 1.5em;
}
select:focus,
.select:focus,
input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.input-xlarge {
  width: 270px;
}
.input-xxlarge {
  width: 530px;
}
input[class*="span"],
select[class*="span"],
textarea[class*="span"] {
  margin-left: 0;
}
input[disabled],
select[disabled],
textarea[disabled],
input[readonly],
select[readonly],
textarea[readonly] {
  cursor: not-allowed;
  opacity: 0.7;
}
.control-group.error > label {
  color: var(--error-clr, #b94a48);
}
.control-group.error input,
.control-group.error select,
.control-group.error textarea {
  color: var(--error-clr, #b94a48);
  border-color: var(--error-border-clr, #eed3d7);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.control-group.error input:focus,
.control-group.error select:focus,
.control-group.error textarea:focus {
  border-color: var(--error-clr, #b94a48);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px var(--error-border-clr, #eed3d7);
}
.form-horizontal input,
.form-horizontal textarea,
.form-horizontal select {
  display: inline-block;
  margin-bottom: 0;
  vertical-align: middle;
}
.control-group {
  margin-bottom: 0.715em;
}
.form-horizontal .control-group {
  margin-bottom: 1.43em;
}
.form-horizontal .control-group > label {
  display: inline-block;
  padding-top: 5px;
  text-align: right;
  width: 140px;
}
.form-horizontal .control-group > *:not(label) {
  display: inline-block;
  margin-left: 20px;
  vertical-align: top;
}
.table {
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
  margin-bottom: 1.43em;
}
.table th,
.table td {
  padding: 8px;
  line-height: 1.43em;
  text-align: inherit;
  vertical-align: text-top;
  border-top: 1px solid var(--border-color, #ddd);
}
.table th {
  font-weight: bold;
}
.table thead th {
  vertical-align: bottom;
}
.table colgroup + thead tr:first-child th,
.table colgroup + thead tr:first-child td,
.table thead:first-child tr:first-child th,
.table thead:first-child tr:first-child td {
  border-top: 0;
}
.table-bordered {
  border: 1px solid var(--border-color, #ddd);
  border-collapse: separate;
  border-radius: 4px;
}
.table-bordered th + th,
.table-bordered td + td {
  border-left: 1px solid var(--border-color, #ddd);
}
.table-bordered colgroup + thead tr:first-child th,
.table-bordered colgroup + tbody tr:first-child th,
.table-bordered colgroup + tbody tr:first-child td,
.table-bordered thead:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child th,
.table-bordered tbody:first-child tr:first-child td {
  border-top: 0;
}
.table-bordered thead:first-child tr:first-child th:first-child,
.table-bordered tbody:first-child tr:first-child td:first-child {
  border-radius: 4px 0 0 0;
}
.table-bordered thead:first-child tr:first-child th:last-child,
.table-bordered tbody:first-child tr:first-child td:last-child {
  border-radius: 0 4px 0 0;
}
.table-bordered thead:last-child tr:last-child th:first-child,
.table-bordered tbody:last-child tr:last-child td:first-child,
.table-bordered tfoot:last-child tr:last-child td:first-child {
  border-radius: 0 0 0 4px;
}
.table-bordered thead:last-child tr:last-child th:last-child,
.table-bordered tbody:last-child tr:last-child td:last-child,
.table-bordered tfoot:last-child tr:last-child td:last-child {
  border-radius: 0 0 4px 0;
}
.table-bordered colgroup + thead tr:first-child th:first-child,
.table-bordered colgroup + tbody tr:first-child td:first-child {
  border-radius: 4px 0 0 0;
}
.table-bordered colgroup + thead tr:first-child th:last-child,
.table-bordered colgroup + tbody tr:first-child td:last-child {
  border-radius: 0 4px 0 0;
}
.table-striped tbody tr:nth-child(odd) td,
.table-striped tbody tr:nth-child(odd) th {
  background-color: var(--tr-odd-bg-clr, #f9f9f9);
}
.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
  background-color: var(--tr-hover-bg-clr, #f5f5f5);
}
.close {
  float: var(--right, right);
  font-size: 143%;
  font-weight: bold;
  line-height: 1.43em;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  text-shadow: 0 1px 0 #ffffff;
}
.close:not(:hover) {
  opacity: 0.5;
}
.btn {
  border-radius: 3px;
  display: inline-block;
  padding: 0 12px;
  line-height: 2em;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid var(--btn-border-clr, rgba(0, 0, 0, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  color: var(--btn-clr, #333);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  background-color: var(--btn-bg-clr, #fff);
  text-decoration: none;
}
.btn:hover {
  opacity: 0.9;
}
.btn:focus {
  outline: thin dotted #333;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px;
}
.btn.active,
.btn:active {
  opacity: 0.9;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn.disabled,
.btn[disabled] {
  cursor: default;
  opacity: 0.7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}
.btn-large {
  padding: 9px 14px;
  font-size: 121%;
  line-height: normal;
  border-radius: 5px;
}
.btn-small {
  padding: 3px 9px;
  font-size: 80%;
  line-height: 1;
}
.btn-block {
  display: block;
  padding-left: 0;
  padding-right: 0;
}
.btn-warning.active,
.btn-danger.active,
.btn-success.active {
  color: rgba(255, 255, 255, 0.75);
}
.btn-warning {
  color: #fff;
  background-color: #fbb450;
}
.btn-danger {
  color: #fff;
  background-color: var(--btn-danger-bg-clr, #ee5f5b);
}
.btn-success {
  background-color: var(--btn-success-bg-clr, #84AB04);
  color: #fff;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}
.btn-group {
  margin-right: 3px;
  position: relative;
  white-space: nowrap;
}
.btn-toolbar .btn-group {
  display: inline-block;
}
.btn-toolbar * {
  margin-right: 3px;
}
.btn-toolbar *:last-child {
  margin-right: 0;
}
.btn-group > * {
  border-radius: 0;
  position: relative;
  margin-right: 0;
}
.btn-group > * + * {
  margin-left: -1px;
}
.btn-group > .btn:first-child {
  border-top-left-radius: var(--btn-border-radius, 3px);
  border-bottom-left-radius: var(--btn-border-radius, 3px);
}
.btn-group > .btn:last-child,
.btn-group > .dropdown-toggle {
  border-top-right-radius: var(--btn-border-radius, 3px);
  border-bottom-right-radius: var(--btn-border-radius, 3px);
}
.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active {
  z-index: 2;
}
.alert {
  padding: 8px 35px 8px 14px;
  margin-bottom: 1.43em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  background-color: var(--warning-bg-clr, #fcf8e3);
  border: 1px solid var(--warning-border-clr, #fbeed5);
  border-radius: 4px;
  color: var(--warning-clr, #c09853);
  max-width: 800px;
  min-height: 1.43em;
}
.alert .close {
  position: relative;
  top: -2px;
  right: -21px;
  line-height: 1.43em;
}
.alert-error {
  background-color: var(--error-bg-clr, #f2dede);
  border-color: var(--error-border-clr, #eed3d7);
}
.alert-info {
  background-color: var(--info-bg-clr, #d9edf7);
  border-color: var(--info-border-clr, #bce8f1);
}
.alert a:not(.close) {
  text-decoration: underline;
}
.alert-info,
.alert.alert-info a:not(.close) {
  color: var(--info-clr, #3a87ad);
}
.alert-error,
.alert.alert-error a:not(.close) {
  color: var(--error-clr, #b94a48);
}
code,
kbd,
samp,
pre {
  padding: 0 3px 2px;
  font-family: var(--fontMono);
  border-radius: 3px;
}
code {
  padding: 2px 4px;
  border: 1px solid #e1e1e8;
}
pre {
  display: block;
  padding: 0.715em;
  margin: 0 0 0.715em;
  white-space: pre-wrap;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
pre code {
  padding: 0;
  border: 0;
}
.dropdown {
  position: relative;
}
.dropdown-menu {
  max-height: 60vh;
  max-width: 90vw;
  overflow: auto;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1000;
  display: none;
  min-width: 160px;
  padding: 5px 0;
  margin: 2px 0 0;
  list-style: none;
  color: var(--dropdown-menu-color, inherit);
  background-color: var(--dropdown-menu-bg-color, #fff);
  border: 1px solid var(--dropdown-menu-border-clr, rgba(0, 0, 0, 0.2));
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  background-clip: padding-box;
}
.dropdown-menu.right-edge {
  right: 0;
  left: auto;
}
.dropdown-menu a {
  background-color: var(--dropdown-menu-bg-color, #fff);
  color: var(--dropdown-menu-color, #333);
  display: block;
  padding: 3px 10px;
  text-decoration: none;
  white-space: nowrap;
}
.dropdown-menu li:not(.disabled) > a:hover,
.dropdown-menu li:not(.disabled) > a:focus {
  background-color: var(--dropdown-menu-hover-bg-color, #444);
  color: var(--dropdown-menu-hover-color, #eee);
  text-decoration: none;
}
.dropdown-menu .disabled > a,
.dropdown-menu .disabled > a:hover {
  color: var(--dropdown-menu-disabled-color, #999);
  cursor: not-allowed;
  opacity: 0.5;
}
.pull-right {
  float: var(--right, right);
}
.show {
  display: block;
}
.fontastic + span,
[class^="icon-"] + span,
[class*=" icon-"] + span {
  margin-left: 0.5em;
}
[class^="icon-"],
[class*=" icon-"] {
  display: inline-block;
  min-width: 1em;
}
.disabled [class^="icon-"],
.disabled [class*=" icon-"],
.btn[disabled] [class^="icon-"],
.btn[disabled] [class*=" icon-"] {
  opacity: 0.5;
}
/* .b-contacts-content .b-view-content */
.iconsize24 {
  font-size: 171%;
}
.iconcolor-green {
  color: green;
}
.iconcolor-red {
  color: red;
}
@keyframes rotation {
  to {
    transform: rotate(1turn);
  }
}
.icon-spinner {
  height: 1.2em;
  width: 1.2em;
  margin: 0 -1px;
  border: 3px solid #aaa;
  border-top-color: #333;
  border-radius: 100%;
  vertical-align: text-top;
}
.icon-spinner:not(.not-animated),
.list-loading .icon-spinner.not-animated {
  border-color: transparent;
  border-top-color: #999;
  animation: rotation 0.8s infinite ease-in-out;
}
.btn.btn-success .icon-spinner {
  border-color: transparent;
  border-top-color: #fff;
}
.fontastic.icon-spinner {
  text-indent: -5em;
  overflow: hidden;
}
.g-ui-user-select-none {
  user-select: none;
  -webkit-touch-callout: none;
}
.g-ui-link {
  color: var(--link-color, #369);
  cursor: pointer;
  padding: 2px;
  text-decoration: underline;
}
.g-ui-link:focus {
  outline: 1px;
  outline-style: dotted;
}
.settings-save-trigger {
  display: inline-block;
  line-height: 1em;
  margin-left: 0.5em !important;
}
.settings-save-trigger::after {
  font-family: "ziqromail";
  content: " ";
  display: block;
  opacity: 0;
  transition: opacity 1s linear;
}
.settings-save-trigger.saving::after {
  animation: rotation 0.8s infinite ease-in-out;
  border: 3px solid transparent;
  border-radius: 100%;
  border-top-color: #999;
  height: 11px;
  opacity: 1;
  width: 11px;
}
.settings-save-trigger.success::after {
  color: #080;
  content: "✔";
  opacity: 1;
}
.settings-save-trigger.error::after {
  color: #F00;
  content: "✖";
  opacity: 1;
}
textarea + .settings-save-trigger {
  vertical-align: top;
}
.settings-save-trigger-input {
  transition: border-color 0.5s linear;
}
.settings-save-trigger-input.success {
  border-color: green;
}
.settings-save-trigger-input.error {
  border-color: red;
}
.e-action {
  cursor: pointer;
}
.list-table {
  max-width: 800px;
}
.button-confirm-delete {
  transition: all 0.2s linear;
  white-space: nowrap;
}
.button-confirm-delete:not(.delete-access) {
  opacity: 0;
  transform: translateX(-15px);
  visibility: hidden;
}
.drag-handle {
  color: #eee;
  cursor: grab;
}
tr:hover .drag-handle {
  color: #aaa;
}
.tabs {
  display: grid;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: min-content auto;
}
.tabs > input[type="radio"] {
  position: absolute;
  top: 0;
  left: -9999px;
  display: none;
}
.tabs > label {
  border: 1px solid transparent;
  border-radius: 4px 4px 0 0;
  cursor: pointer;
  grid-row-start: 1;
  opacity: 0.6;
  margin: 0 2px -1px 0;
  padding: 5px;
  text-align: center;
}
.tabs > label:hover {
  border-color: var(--tab-hover-border-clr, #eee);
  opacity: 0.8;
}
.tabs > [id^="tab"]:checked + label {
  background-color: var(--tab-active-bg-clr, #fff);
  border-color: var(--border-color, #ddd) var(--border-color, #ddd) transparent var(--border-color, #ddd);
  opacity: 1;
  z-index: 1;
}
.tabs .tab-content {
  grid-column-start: 1;
  grid-row-start: 2;
  visibility: hidden;
}
.tabs > [id^="tab"]:checked + label + .tab-content {
  visibility: visible;
}
.legend {
  border-bottom: 1px solid var(--border-color, #ddd);
  font-size: 150%;
  line-height: 2.1;
  margin-bottom: 1.43em;
}
summary.legend {
  cursor: pointer;
}
.btn.btn-thin {
  padding: 0 9px;
}
@media screen and (max-width: 799px) {
  .form-horizontal .control-group > label {
    text-align: var(--left, left);
  }
  .form-horizontal .control-group > *:not(label) {
    margin-left: 20px;
  }
}
html.list-loading body {
  /*	cursor: wait;*/
  cursor: progress;
}
.toggleLeft::before {
  content: '❮';
}
html.rl-left-panel-disabled .toggleLeft::before {
  content: '❯';
}
@media screen and (min-width: 800px) {
  :is(#ziqro-app, #rl-app) {
    background-image: var(--main-bg-image);
    background-size: var(--main-bg-size);
    background-repeat: var(--main-bg-repeat);
  }
}
option:disabled {
  color: #aaa;
  cursor: not-allowed;
}
*,
select:focus {
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
:is(#ziqro-content, #rl-content):not([hidden]) {
  display: flex;
  height: 100%;
}
dialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
.dialog-backdrop {
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
dialog {
  border: 0;
  background-color: var(--dialog-bg-clr, #fff);
  border: 1px solid var(--dialog-border-clr, rgba(0, 0, 0, 0.3));
  border-radius: var(--dialog-border-radius, 6px);
  box-shadow: 0 5px 80px rgba(0, 0, 0, 0.3);
  color: var(--dialog-clr, #333);
  display: flex;
  flex-direction: column;
  margin: 10px auto;
  max-height: calc(100vh - var(--smDialogShrink));
  max-height: calc(100dvh - var(--smDialogShrink));
  max-width: 560px;
  overflow: auto;
  padding: 0;
  position: fixed;
  transition: all 0.2s ease-out;
  top: 0;
  width: calc(100% - 20px);
}
dialog:not([open]) {
  display: none !important;
}
dialog.animate {
  opacity: 1;
}
dialog:not(.animate) {
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  top: -25%;
}
/**
 * /* upstream-patch */
 */
@media screen and (max-width: 799px) {
  dialog {
    margin: 0 auto;
    /*		max-height: calc(100vh - 86px);*/
    /*		max-height: 100dvh;*/
    width: 100%;
  }
}
dialog > header {
  padding: 9px 15px;
  border-bottom: 1px solid var(--border-color, #ddd);
}
dialog > header .close {
  margin-top: 2px;
}
dialog > header h3 {
  margin: 0;
  line-height: 30px;
}
dialog .modal-body {
  overflow: auto;
  margin: 0;
  padding: 15px;
  position: relative;
}
dialog > footer {
  padding: 9px 15px;
  margin-bottom: 0;
  text-align: var(--right, right);
  border-top: 1px solid var(--border-color, #ddd);
  border-radius: 0 0 var(--dialog-border-radius, 6px) var(--dialog-border-radius, 6px);
}
dialog > footer .btn + .btn {
  margin-left: 5px;
  margin-bottom: 0;
}
dialog > footer .btn-group .btn + .btn {
  margin-left: -1px;
}
.e-component {
  white-space: nowrap;
}
.e-component * {
  display: inline-block;
}
.e-component select:focus {
  outline: 1px dotted;
}
.e-component span {
  margin: 0 0.5em;
  white-space: normal;
}
.e-component select + span {
  padding: 2px 0;
}
.e-checkbox {
  cursor: pointer;
  margin-bottom: 6px;
  padding: 2px 0;
}
.e-checkbox:focus-within {
  outline: 1px dotted;
}
.e-checkbox.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.e-checkbox.material-design {
  line-height: 20px;
  width: auto !important;
}
.e-checkbox.material-design > div {
  position: relative;
  width: 18px;
}
.e-checkbox.material-design > div > div {
  position: absolute;
  top: 0;
  left: 0;
  width: 18px;
  height: 18px;
  border: 2px solid #999;
  transform: rotate(0deg);
  animation: checkmark-to-box 200ms ease-out forwards;
}
.e-checkbox.material-design input {
  opacity: 0;
}
.e-checkbox.material-design input:checked + div {
  top: -1px;
  left: 5px;
  width: 10px;
  height: 18px;
  border: 2px solid #0F9D58;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  animation: box-to-checkmark 200ms ease-out forwards;
}
@keyframes box-to-checkmark {
  0% {
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    transform: rotate(0deg);
  }
  50% {
    top: 13px;
    left: 5px;
    width: 4px;
    height: 4px;
    transform: rotate(45deg);
  }
  100% {
    top: -1px;
    left: 5px;
    width: 10px;
    height: 18px;
    border: 2px solid #0F9D58;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
}
@keyframes checkmark-to-box {
  0% {
    top: -1px;
    left: 5px;
    width: 10px;
    height: 18px;
    border: 2px solid #0F9D58;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
  }
  50% {
    top: 13px;
    left: 5px;
    width: 4px;
    height: 4px;
    transform: rotate(45deg);
  }
  100% {
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    border: 2px solid #999;
    transform: rotate(0deg);
  }
}
#V-Login,
#V-AdminLogin {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  min-width: 250px;
  max-width: 600px;
  transition: all 0.3s ease-out;
  z-index: 5;
}
.LoginView .descWrapper {
  color: var(--loading-color, #000);
  font-size: 214%;
  margin-bottom: 10px;
  text-align: center;
  text-shadow: var(--loading-text-shadow);
}
.LoginView form {
  background-color: var(--login-bg-color, rgba(0, 0, 0, 0.5));
  border: var(--login-border, 1px solid rgba(255, 255, 255, 0.2));
  border-radius: var(--login-border-radius, 7px);
  box-shadow: var(--login-box-shadow);
  color: var(--login-color, rgba(255, 255, 255, 0.8));
  margin: 0;
  padding: 40px 40px 20px 40px;
  position: relative;
}
.LoginView form * {
  color: var(--login-color, rgba(255, 255, 255, 0.8));
}
.LoginView form .controls.error * {
  color: #f76260;
  border-color: #f76260;
}
.LoginView form.submitting > * {
  opacity: 0.3;
}
.LoginView form.submitting::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
  border: 8px solid transparent;
  border-top-color: var(--spinner-color, #fff);
  animation: loginRotation 1s infinite ease-in-out;
  border-radius: 50%;
  z-index: 1052;
}
.LoginView .controls,
.LoginView .control-group {
  margin-bottom: 25px;
  position: relative;
}
.LoginView input {
  font-size: 128%;
  height: 40px;
  padding-right: 30px;
}
.LoginView input:placeholder {
  color: #fff;
}
.LoginView input:focus,
.LoginView input:hover {
  border-color: #fff;
}
.LoginView input,
.LoginView .btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.8);
}
.LoginView .fontastic + input {
  padding: 0 30px;
}
.LoginView .controls > .fontastic:first-child {
  position: absolute;
  font-size: 121%;
  line-height: 38px;
  left: 6px;
}
.LoginView .btn {
  text-transform: uppercase;
  font-size: 90%;
}
.LoginView .btn:hover,
.LoginView .btn:active {
  border-color: #fff;
}
.LoginView .buttonLogin {
  width: 100%;
}
.LoginView .alert {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  display: block;
  opacity: 1;
  transition: opacity 0.5s linear;
}
.LoginView .alert p {
  font-family: var(--fontMono);
  font-size: 90%;
}
.LoginView .alert[hidden] {
  opacity: 0;
}
.LoginView .language-buttons {
  flex-grow: 1;
  text-align: var(--right, right);
}
.LoginView .language-button {
  padding: 5px;
  text-decoration: none;
}
.LoginView .errorAnimated {
  animation: login-form-shake 400ms ease-in-out;
}
.LoginView .errorAnimated .buttonLogin {
  color: #b94a48;
  font-weight: bold;
}
@media screen and (max-width: 480px) {
  .LoginView form {
    padding: 30px 4vw 10px;
  }
}
@keyframes loginRotation {
  to {
    transform: rotate(1turn);
  }
}
@keyframes login-form-shake {
  0% {
    transform: translateX(0);
  }
  12.5% {
    transform: translateX(-6px);
  }
  37.5% {
    transform: translateX(5px);
  }
  62.5% {
    transform: translateX(-3px);
  }
  87.5% {
    transform: translateX(2px);
  }
  100% {
    transform: translateX(0);
  }
}
html.ziqro-started-trigger .LoginView, html.rl-started-trigger .LoginView {
  opacity: 1;
}
#V-PopupsAsk .modal-body {
  font-size: 128%;
  padding: 3em 15px;
  text-align: center;
}
#V-PopupsAsk button:focus {
  box-shadow: 0 0 1px inset;
}
#V-PopupsLanguages {
  max-width: 710px;
}
#V-PopupsLanguages label {
  display: inline-block;
  padding: 5px 15px;
  margin: 2px 5px;
  width: 216px;
  background-color: rgba(128, 128, 128, 0.1);
  border: 1px solid transparent;
  border-radius: var(--input-border-radius, 3px);
  position: relative;
  cursor: pointer;
}
#V-PopupsLanguages label.user {
  background-color: rgba(255, 255, 64, 0.15);
  border-color: #ff5;
}
#V-PopupsLanguages label.selected {
  background-color: rgba(64, 255, 64, 0.2);
  border-color: #9c9;
}
#V-PopupsLanguages label.selected::after {
  content: "✔";
  position: absolute;
  right: 4px;
  font-family: "ziqromail";
}
#V-PopupsLanguages label:hover {
  background-color: rgba(128, 128, 128, 0.2);
  border-color: #ccc;
}
@media screen and (max-width: 480px) {
  #V-PopupsLanguages label {
    width: 100%;
  }
}
:is(#ziqro-app, #rl-app).UserBackground {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
:is(#ziqro-left, #rl-left) {
  flex-grow: 0;
  flex-shrink: 0;
  position: relative;
  /*	transition: width 0.3s ease-out;*/
  width: 200px;
  z-index: 0;
}
:is(#ziqro-left, #rl-left) .b-toolbar {
  padding: 10px 0 10px 8px;
  white-space: nowrap;
}
:is(#ziqro-right, #rl-right):not([hidden]) {
  display: flex;
  flex-grow: 1;
  width: 20%;
}
/*
.resizable::after {
	background-color: #aaa;
	bottom: 0;
	content: '';
	height: 22px;
	pointer-events: none;
	position: absolute;
	right: 0;
	text-align: center;
	width: 20px;
}
.resizable::-webkit-resizer {
	background: #aaa;
	background: rgba(255,255,255,0.5);
}
*/
html:not(.rl-left-panel-disabled) :is(#ziqro-left, #rl-left) {
  resize: horizontal;
  overflow: auto;
  min-width: 155px;
  max-width: 350px;
}
#top-system-dropdown-id::after,
#button-add-prop-dropdown-id::after {
  content: '▼';
  font-size: 80%;
}
.dropdown-menu * + .dividerbar {
  margin-top: 9px;
  padding-top: 9px;
  border-top: 1px solid var(--border-color, #e5e5e5);
}
.dropdown.show {
  box-shadow: 0 0 1px var(--main-color, #333);
}
.btn.btn-transparent {
  background: none !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: inherit;
  text-shadow: none !important;
  opacity: 0.6;
}
.btn.btn-transparent:hover {
  opacity: 1;
}
.btn-group.open .btn.btn-transparent.dropdown-toggle {
  color: #BD362F;
}
.btn-group > .btn.single {
  border-radius: var(--input-border-radius, 3px) !important;
}
.search-input-wrp {
  position: relative;
}
.search-input-wrp a {
  position: absolute;
  right: 0;
  top: 5px;
  margin: 0 7px;
  z-index: 100;
  opacity: 0.4;
  cursor: pointer;
}
.search-input-wrp a:hover {
  opacity: 0.6;
}
:is(#ziqro-left, #rl-left) .search-input-wrp {
  margin: 0 4px;
  width: calc(100% - 8px);
}
html:not(.rl-ctrl-key-pressed) .visible-on-ctrl-btn,
html.rl-ctrl-key-pressed .hidden-on-ctrl-btn,
.show-on-panel-disabled {
  display: none;
}
html.rl-left-panel-disabled :is(#ziqro-left, #rl-left) {
  width: 60px !important;
}
html.rl-left-panel-disabled :is(#ziqro-left, #rl-left) .show-on-panel-disabled {
  display: block;
}
html.rl-left-panel-disabled :is(#ziqro-left, #rl-left) .b-content {
  opacity: 0.3;
}
html.rl-left-panel-disabled :is(#ziqro-left, #rl-left) .hide-on-panel-disabled {
  display: none;
}
.e-paginator a {
  opacity: 0.5;
  text-decoration: none;
  font-size: 157%;
  padding: 0 3px;
  cursor: pointer;
}
.e-paginator a:hover {
  opacity: 0.8;
}
.e-paginator a.current {
  opacity: 1;
  font-size: 179%;
  cursor: default;
}
.resizer {
  display: none;
}
@media screen and (max-width: 799px) {
  :is(#ziqro-app, #rl-app) #V-SettingsPane {
    margin-right: 0;
    padding: 10px;
  }
  :is(#ziqro-left, #rl-left) {
    background: var(--main-bg-color, #aaa);
    border-right: 1px solid var(--border-color, #ddd);
    position: fixed;
    /*		left: 0; RTL issue*/
    top: 0;
    bottom: 0;
    width: 50vw;
    z-index: 99;
  }
  .rl-left-panel-disabled :is(#ziqro-left, #rl-left) {
    display: none;
  }
  .dropdown-menu a {
    line-height: 2.5;
  }
  .hide-mobile {
    display: none !important;
  }
}
/* desktop */
@media screen and (min-width: 800px) {
  :is(#ziqro-right, #rl-right) .toggleLeft,
  #V-MailMessageList .buttonCompose {
    display: none !important;
  }
  .zm-msgView-bottom :is(#ziqro-right, #rl-right) {
    flex-direction: column;
  }
  .resizer {
    background: #aaa;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 102;
  }
  .resizer:hover {
    opacity: 1;
  }
  html:not(.rl-left-panel-disabled) :is(#ziqro-left, #rl-left) > .resizer,
  .zm-msgView-side #V-MailMessageList .resizer {
    cursor: ew-resize;
    cursor: col-resize;
    display: block;
    top: 0;
    width: 5px;
  }
  .zm-msgView-bottom #V-MailMessageList .resizer {
    cursor: ns-resize;
    cursor: row-resize;
    display: block;
    left: 0;
    height: 5px;
  }
}
/* desktop-large */
@media screen and (min-width: 1401px) {
  :is(#ziqro-left, #rl-left) {
    width: 220px;
  }
}
#top-system-dropdown-id {
  padding: 0 6px;
}
.rl-left-panel-disabled #more-list-dropdown-id + .dropdown-menu {
  position: fixed;
  top: 40px;
}
#V-SystemDropDown {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px 8px;
  z-index: 103;
}
#V-SystemDropDown .email-title {
  text-overflow: ellipsis;
  overflow: hidden;
}
#V-SystemDropDown .audioPlace {
  cursor: pointer;
  display: inline-block;
  font-size: 214%;
  height: 1em;
  margin-right: 10px;
  width: 1em;
}
#V-SystemDropDown .audioPlace .stopIcon {
  color: orange;
  display: none;
}
#V-SystemDropDown .audioPlace:hover .playIcon {
  display: none;
}
#V-SystemDropDown .audioPlace:hover .stopIcon {
  display: inline-block;
}
#V-SystemDropDown .accountPlace {
  border-right: 1px solid var(--btn-border-clr, rgba(0, 0, 0, 0.2));
  display: inline-block;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 6px -4px 0;
  max-width: 25vw;
  /*		max-width: calc(100vw - 300px);*/
  overflow: hidden;
  padding-right: 6px;
  text-overflow: ellipsis;
}
#V-SystemDropDown a[data-unread]::after {
  content: attr(data-unread);
  background-color: var(--unread-count-bg-color, #999);
  border-radius: 1em;
  color: var(--unread-count-color, #fff);
  font-size: 80%;
  line-height: 1.5em;
  min-width: 1.7em;
  padding: 1px 4px;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  position: absolute;
  right: 3px;
}
@keyframes equaliserBar {
  0% {
    top: 30%;
  }
  50% {
    top: 100%;
  }
  100% {
    top: 30%;
  }
}
.playIcon {
  margin-top: 5px;
  height: 20px;
  position: relative;
}
.playIcon *,
.playIcon::before,
.playIcon::after {
  animation: equaliserBar 1s infinite;
  background: orange;
  bottom: 0;
  left: calc(1em / 2 - 2px);
  position: absolute;
  width: 5px;
  content: '';
}
.playIcon::before {
  left: calc(1em / 2 - 9px);
  animation-delay: -0.33s;
}
.playIcon::after {
  left: calc(1em / 2 + 5px);
  animation-delay: -0.66s;
}
#V-PopupsKeyboardShortcutsHelp {
  max-width: 700px;
}
#V-PopupsKeyboardShortcutsHelp td[class^="icon-"] {
  display: table-cell;
}
#V-PopupsKeyboardShortcutsHelp .tab-content {
  grid-column-end: 5;
}
#V-MailFolderList,
#V-MailFolderList .b-content {
  height: 100%;
}
.focused .b-folders a.focused {
  background-color: var(--folders-focused-bg-color, #333);
  border-color: #fff;
  color: var(--folders-focused-color, #eee);
}
#folderSearchInput {
  width: 100%;
}
/* /* upstream-patch */ */
#V-MailFolderList .e-checkbox {
  margin: 0 4px;
  width: calc(100% - 8px);
}
#V-MailFolderList .unreadOnly li a:not(.unread-sub):not([data-unread]) {
  display: none;
}
.b-folders {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding-right: 2px;
}
.b-folders ul {
  margin: 0;
}
.b-folders .move-action-content-wrapper {
  z-index: -1;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.05;
  background-color: #fff;
  background-size: 60px 60px;
  background-image: linear-gradient(135deg, #000 25%, transparent 25%, transparent 50%, #000 50%, #000 75%, transparent 75%, transparent);
}
.b-folders .b-toolbar {
  color: #fff;
}
.b-folders .b-footer {
  padding: 10px 8px;
  overflow: hidden;
  white-space: nowrap;
}
.b-folders .b-content {
  overflow: hidden;
  overflow-y: auto;
  min-width: 100px;
  color: var(--folders-color, #333);
}
.b-folders hr {
  margin: 10px;
}
.b-folders li {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.b-folders li a {
  background-color: transparent;
  border-left: 3px solid transparent;
  color: var(--folders-color, #333);
  display: block;
  line-height: 34px;
  padding: 0 2em 0 7px;
  position: relative;
  text-decoration: none;
  vertical-align: middle;
  z-index: 1;
}
.b-folders li a.selectable {
  cursor: pointer;
}
.b-folders li a.selectable:hover {
  background-color: var(--folders-hover-bg-color, #333);
  color: var(--folders-hover-color, #eee);
}
.b-folders li a.selectable.droppableHover {
  background-color: var(--folders-drop-bg-color, #333);
  color: var(--folders-drop-color, #eee);
}
.b-folders li a.selectable.droppableHover * {
  pointer-events: none;
}
.b-folders li a.selectable.selected {
  background-color: var(--folders-selected-bg-color, #333);
  color: var(--folders-selected-color, #eee);
}
.b-folders li a:not(.selectable) {
  color: var(--folders-disabled-color, #666);
  cursor: default;
  font-style: italic;
}
.b-folders li a.unread-sub {
  font-weight: bold;
}
.b-folders li a .e-collapsed-sign {
  cursor: pointer;
  font-size: 150%;
  text-indent: 0;
  vertical-align: inherit;
}
.b-folders li a[data-unread] {
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
}
.b-folders li ul.collapsed {
  max-height: 0;
  height: 0;
  display: none;
}
.b-folders .b-folders-system a[data-unread]::after,
.b-folders .b-folders-user a[data-unread]:not(.system)::after {
  content: attr(data-unread);
  background-color: var(--unread-count-bg-color, #999);
  border-radius: 1em;
  color: var(--unread-count-color, #fff);
  font-size: 80%;
  line-height: 1.5em;
  margin-top: 7px;
  min-width: 1.7em;
  padding: 1px 4px;
  text-align: center;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
  position: absolute;
  right: 3px;
  text-indent: 0;
}
.b-folders .flag-icon {
  margin-left: 7px;
}
.b-folders .flag-icon::after {
  content: '☆';
  opacity: 0.5;
}
.b-folders .is-flagged .flag-icon::after {
  color: orange;
  content: '★';
  opacity: 1;
}
.b-folders .b-folders-system {
  font-weight: bold;
}
.b-folders li li a {
  text-indent: 1em;
}
.b-folders li li li a {
  text-indent: 2em;
}
.b-folders li li li li a {
  text-indent: 3em;
}
.b-folders li li li li li a {
  text-indent: 4em;
}
:is(#ziqro-left, #rl-left) .buttonCompose {
  max-height: 2.4em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
html.rl-left-panel-disabled .buttonComposeText,
html.rl-left-panel-disabled .buttonContacts {
  display: none;
}
html.rl-left-panel-disabled :is(#ziqro-left, #rl-left) .buttonCompose {
  width: auto;
}
#V-PopupsFilter {
  max-width: 750px;
}
#V-PopupsFilter .button-delete {
  cursor: pointer;
}
#V-PopupsOpenPgpKey,
#V-PopupsOpenPgpGenerate {
  max-width: 570px;
}
#V-PopupsOpenPgpKey pre {
  margin: 0;
  max-height: 500px;
  padding: 0;
  overflow: auto;
}
#V-PopupsOpenPgpImport {
  max-width: 645px;
}
#V-PopupsOpenPgpImport textarea {
  font-family: var(--fontMono);
  width: 600px;
}
#V-PopupsIdentity {
  max-width: 770px;
}
#V-PopupsIdentity .tab-content {
  grid-column-end: 5;
  padding-top: 20px;
}
#V-PopupsIdentity .e-signature-place {
  border: 1px solid #ccc;
  border-radius: var(--input-border-radius, 3px);
  margin-bottom: 1.43em;
}
#V-PopupsIdentity .textEmail {
  margin-top: 5px;
  font-weight: bold;
}
#V-PopupsAdvancedSearch {
  max-width: 780px;
}
#V-PopupsAdvancedSearch label {
  width: 110px;
}
#advancedsearchform > div {
  display: inline-block;
  vertical-align: top;
  margin-right: 1em;
}
@media screen and (max-width: 480px) {
  #advancedsearchform label {
    width: 100%;
  }
  #advancedsearchform label + * {
    margin-left: 0;
  }
}
.attachmentList {
  margin: 0;
}
.attachmentItem {
  background-color: rgba(128, 128, 128, 0.1);
  border: 0;
  border-radius: var(--input-border-radius, 3px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 1px 5px rgba(0, 0, 0, 0.1);
  display: inline-block;
  list-style: none;
  line-height: 20px;
  margin: 5px;
  min-height: 48px;
  width: 16em;
  overflow: hidden;
  position: relative;
  /*
	.attachmentIconParent.hasPreview.isImage {
		.iconMain {
			display: none;
		}
	}
*/
}
.attachmentItem.waiting {
  opacity: 0.6;
}
.attachmentItem .checkboxAttachment {
  bottom: 6px;
  cursor: pointer;
  position: absolute;
  right: 6px;
}
.attachmentItem.error .iconMain,
.attachmentItem.error .iconPreview,
.attachmentItem.error .attachmentSize,
.attachmentItem.error .attachmentName {
  color: red;
}
.attachmentItem .attachmentIcon {
  position: absolute;
  height: 48px;
  width: 48px;
  text-align: center;
}
.attachmentItem .iconPreview,
.attachmentItem .iconBG,
.attachmentItem .iconMain,
.attachmentItem .iconProgress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.attachmentItem .iconProgress {
  background: #eee;
  width: 0%;
}
.attachmentItem .iconBG {
  font-size: 128%;
  font-weight: bold;
  line-height: 55px;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}
.attachmentItem .iconPreview {
  display: none;
}
.attachmentItem .attachmentNameParent {
  border-left: 1px solid #ddd;
  cursor: pointer;
  margin-left: 48px;
  min-width: 90px;
  padding: 4px 4px 3px 6px;
  position: relative;
}
.attachmentItem .attachmentName {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachmentItem .attachmentSize {
  font-size: 85%;
  opacity: 0.7;
}
.attachmentItem .iconMain,
.attachmentItem .iconPreview {
  padding: 6px 0 0;
  font-size: 257%;
  color: var(--main-color);
  filter: invert(33%);
  mix-blend-mode: difference;
}
.attachmentItem .iconMain.icon-none,
.attachmentItem .iconPreview.icon-none {
  display: none;
}
.attachmentItem .showPreview,
.attachmentItem .hasPreview:hover .iconMain,
.attachmentItem .hasPreview .hidePreview {
  display: none;
}
.attachmentItem .hasPreview:hover .iconPreview {
  display: inline-block;
}
.attachmentItem .hasPreplay:hover .iconMain::before {
  content: "▶";
}
.attachmentItem .hasPreview .showPreview {
  display: inline;
  cursor: pointer;
}
.attachmentListSimple {
  margin: 0;
}
.attachmentListSimple .attachmentItem {
  min-height: 1em;
  border: 1px solid var(--border-color);
  padding: 0 2px;
}
.attachmentListSimple .attachmentName {
  margin: 0;
}
.attachmentListSimple .checkboxAttachment {
  position: initial;
  margin-left: 0.5em;
}
/* RFC8457 */
.msgflag-\$important .checkboxMessage {
  background-color: #F00;
  color: #fff;
}
.msgflag-\$important.focused {
  background-color: rgba(255, 0, 0, 0.3);
}
.msgflag-\$important:not(.focused) {
  color: #F00;
}
/* KMail tags */
.msgflag-\$todo .checkboxMessage {
  background-color: #00F;
  color: #fff;
}
.msgflag-\$todo.focused {
  background-color: rgba(64, 64, 255, 0.3);
}
.msgflag-\$todo:not(.focused) {
  color: #33F;
}
/* Thunderbird labels */
.msgflag-\$label5 .checkboxMessage {
  background-color: #808;
  color: #fff;
}
.msgflag-\$label4 .checkboxMessage {
  background-color: #00F;
  color: #fff;
}
.msgflag-\$label3 .checkboxMessage {
  background-color: #080;
  color: #fff;
}
.msgflag-\$label2 .checkboxMessage {
  background-color: #FA0;
  color: #fff;
}
.msgflag-\$label1 .checkboxMessage {
  background-color: #F00;
  color: #fff;
}
.msgflag-\$label5.focused {
  background-color: rgba(255, 0, 255, 0.3);
}
.msgflag-\$label4.focused {
  background-color: rgba(64, 64, 255, 0.3);
}
.msgflag-\$label3.focused {
  background-color: rgba(0, 255, 0, 0.3);
}
.msgflag-\$label2.focused {
  background-color: rgba(255, 170, 0, 0.3);
}
.msgflag-\$label1.focused {
  background-color: rgba(255, 0, 0, 0.3);
}
.msgflag-\$label5:not(.focused) {
  color: #939;
}
.msgflag-\$label4:not(.focused) {
  color: #33F;
}
.msgflag-\$label3:not(.focused) {
  color: #090;
}
.msgflag-\$label2:not(.focused) {
  color: #F90;
}
.msgflag-\$label1:not(.focused) {
  color: #F00;
}
#V-MailMessageList {
  position: relative;
  height: 100%;
  width: 100%;
}
#V-MailMessageList.focused .messageList {
  border-color: #9d9d9d;
  box-shadow: var(--smMainShadow);
}
#no-sort-list,
#sort-list-dropdown-id {
  padding-left: 6px;
  padding-right: 6px;
}
#V-MailMessageList .btn-toolbar {
  padding: 10px 1px;
  white-space: nowrap;
}
.messageList {
  height: calc(100% - 60px);
  background-color: var(--panel-bg-clr, #fff);
  border: 1px solid var(--border-color, #aaa);
  border-radius: var(--border-radius, 5px);
  display: flex;
  flex-direction: column;
}
.messageList .groupLabel {
  background: rgba(128, 128, 128, 0.2);
  cursor: pointer;
  font-size: 85%;
  line-height: 2;
  opacity: 0.6;
  text-align: center;
  text-transform: capitalize;
}
.messageList .reply::before {
  content: '↳';
  line-height: 3;
  position: absolute;
  margin-left: -1em;
}
.messageList .b-footer {
  display: flex;
  flex-shrink: 0;
  padding: 7px;
  background-color: var(--message-list-toolbar-bg-color, #eee);
  border-bottom-right-radius: var(--border-radius, 5px);
  border-bottom-left-radius: var(--border-radius, 5px);
  border-top: 1px solid var(--border-color, #bbb);
}
.messageList .b-footer .e-quota {
  border-bottom: 1px dashed #333;
  display: inline-block;
  margin-top: 5px;
  margin-left: 5px;
  font-size: 128%;
  cursor: help;
}
.messageList .b-footer nav {
  flex-grow: 1;
  display: flex;
  justify-content: end;
}
.messageList .btn.buttonMoreSearch {
  font-size: 80%;
  padding-left: 8px;
  padding-right: 8px;
}
.messageList .second-toolbar {
  display: flex;
  flex-shrink: 0;
  padding: 10px 8px 10px 11px;
  white-space: nowrap;
  background-color: var(--message-list-toolbar-bg-color, #eee);
  border-top-right-radius: var(--border-radius, 5px);
  border-top-left-radius: var(--border-radius, 5px);
  border-bottom: 1px solid var(--border-color, #bbb);
}
.messageList .checkboxCheckAll {
  cursor: pointer;
  margin: 0.45em 0.5em 0 0;
}
.messageList .search-input-wrp {
  flex-grow: 1;
}
.messageList .inputSearch {
  width: 100%;
}
.messageList .b-content {
  height: 100%;
  padding: 0;
  overflow: auto;
  scroll-behavior: smooth;
}
.messageList .b-content .listClear {
  text-align: center;
  padding: 10px;
  line-height: 13px;
}
.messageList .b-content .listEmptyMessage,
.messageList .b-content .listLoading,
.messageList .b-content .listDragOver,
.messageList .b-content .listError {
  color: #999;
  text-align: center;
  padding: 60px 10px;
  font-size: 171%;
  line-height: 30px;
}
.messageList .b-content .listDragOver {
  max-height: 0;
  overflow: hidden;
  padding: 0 10px;
}
.messageList .b-content .listDragOver.viewAppendArea {
  max-height: 120px;
  padding: 30px 10px;
}
.messageList .b-content .listDragOver.dragOverEnter {
  background-color: #e0fdda;
  color: #333;
}
.messageList .b-content .listError {
  color: #DA4F49;
}
.messageList .b-content .listSearchDesc {
  font-size: 114%;
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.messageList .b-content .listThreadUidDesc {
  font-size: 114%;
  padding: 7px 20px 6px 20px;
  background-color: rgba(128, 128, 128, 0.5);
  border-bottom: 1px solid #888;
  color: #fff;
  cursor: pointer;
  text-shadow: 0 1px 0 #000;
  text-align: center;
}
.messageList .b-content .fullThreadsParent {
  height: 25px;
  padding: 3px 5px;
  background-color: #f4f4f4;
  text-align: center;
}
.messageListItem > div + div {
  display: flex;
  overflow: hidden;
  padding: 5px 0 5px 5px;
  width: 100%;
}
.messageListItem {
  cursor: pointer;
  border: 0;
  border-bottom: 1px solid rgba(153, 153, 153, 0.2);
  border-left: 6px solid transparent;
  display: flex;
  font-size: 90%;
  line-height: 2;
  position: relative;
  /*
	> * {
		display: flex;
		flex: 0 0 auto;
		order: 0;
	}
*/
}
.messageListItem.focused {
  background-color: rgba(128, 128, 128, 0.1);
  border-left-color: #ccc;
  border-right-color: #ccc !important;
}
.messageListItem.priorityHigh .subjectParent::before {
  content: '! ';
  /*❗*/
  color: red;
  font-weight: bolder;
}
.messageListItem .messageCheckbox {
  font-size: 114%;
  padding: 5px 0.5em 0;
  white-space: nowrap;
}
.messageListItem .checkboxMessage {
  display: inline;
}
.messageListItem time,
.messageListItem .sizeParent {
  margin: 0 5px 0 0;
  opacity: 0.7;
  font-size: 80%;
  white-space: nowrap;
  min-width: 3.5em;
  text-align: var(--right, right);
}
.messageListItem .senderParent,
.messageListItem .subjectParent {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.messageListItem .senderParent {
  flex: 0 0 25%;
}
.messageListItem .subjectParent {
  flex: 1 1 auto;
}
.messageListItem .subjectParent:empty {
  font-style: italic;
  opacity: 0.5;
}
.messageListItem .threadsCountParent {
  display: inline;
  overflow: hidden;
  background-color: #eee;
  padding: 1px 5px;
  margin-right: 5px;
  border: 1px solid #ccc;
  border-radius: var(--border-radius, 5px);
}
.messageListItem .threadsCountParent.lastSelected {
  background-color: #999;
  border-color: #999;
  color: #fff;
}
.messageListItem .threadsCountParent:hover {
  border-color: #666;
}
.messageListItem .threads-len {
  border-radius: var(--border-radius, 5px);
  border: 1px solid #ccc;
  font-size: 80%;
  padding: 0 4px;
  white-space: nowrap;
}
.messageListItem .threads-len:hover {
  background-color: rgba(127, 127, 127, 0.3);
  border-color: #666;
}
.messageListItem .threads-len::after {
  content: ' ›';
}
.messageListItem .replyFlag,
.messageListItem .forwardFlag {
  margin-right: 0.25em;
}
.messageListItem.unseen {
  background-color: rgba(255, 255, 64, 0.15);
  border-left-color: orange;
  border-right-color: orange !important;
}
.messageListItem.unseen .senderParent,
.messageListItem.unseen .subjectParent {
  font-weight: bold;
}
.messageListItem.unseen.focused {
  border-left-color: #cc8400;
  border-right-color: #cc8400 !important;
}
.messageListItem [data-unseen] {
  background-color: rgba(255, 255, 64, 0.15);
  border-color: orange;
}
.messageListItem.checked {
  border-left-color: #69a8f5;
  border-right-color: #69a8f5 !important;
}
.messageListItem.checked.focused {
  border-left-color: #217ef0;
  border-right-color: #217ef0 !important;
}
.messageListItem.selected {
  background-color: rgba(140, 200, 255, 0.3);
  border-bottom-color: rgba(57, 140, 242, 0.2);
  border-left-color: #398CF2;
  border-right-color: #398CF2 !important;
  z-index: 101;
}
.messageListItem .attachmentParent,
.messageListItem .flagParent {
  margin: 0 10px 0 5px;
  min-width: 1em;
}
.messageListItem .flagParent::after {
  content: '☆';
  /*⚐*/
}
.messageListItem.msgflag-\\flagged .flagParent::after,
.messageListItem.hasFlaggedSubMessage .flagParent::after {
  color: orange;
  content: '★';
  /*⚑*/
}
.messageListItem:not(.msgflag-\\flagged):not(.hasFlaggedSubMessage) .flagParent:not(:hover)::after {
  opacity: 0.5;
}
.messageListItem .senderParent::before {
  font-family: "ziqromail";
}
.messageListItem.msgflag-\\answered .senderParent::before {
  content: '← ';
}
.messageListItem.msgflag-\$forwarded .senderParent::before {
  content: '→ ';
}
.messageListItem.msgflag-\\answered.msgflag-\$forwarded .senderParent::before {
  content: '←→ ';
}
.messageListItem.msgflag-\\deleted {
  opacity: 0.7;
}
.messageListItem.msgflag-\\deleted .subjectParent {
  text-decoration: line-through;
}
html:not(.zm-msgView-bottom):not(.zm-msgView-side) .message-selected #V-MailMessageList {
  display: none;
}
@media screen and (max-width: 799px) {
  #V-MailMessageList .btn-toolbar:not(.hasChecked) .onCheckedShow,
  #V-MailMessageList .hasChecked .onCheckedHide {
    display: none;
  }
}
@media screen and (min-width: 800px) {
  .messageList .listDragOver {
    transition: all 400ms ease;
  }
  .hideMessageListCheckbox .checkboxCheckAll {
    visibility: hidden;
  }
  .hideMessageListCheckbox .checkboxMessage {
    display: none;
  }
  .zm-msgView-side #V-MailMessageList {
    width: unset;
  }
  .zm-msgView-side #V-MailMessageList .messageList {
    max-width: 50vw;
    min-width: 320px;
    overflow: auto;
    resize: horizontal;
    width: 35vw;
  }
  .zm-msgView-bottom #V-MailMessageList {
    height: unset;
    width: unset;
  }
  .zm-msgView-bottom #V-MailMessageList .messageList {
    height: 35vh;
    max-height: 50vh;
    min-height: 200px;
    overflow: auto;
    resize: vertical;
  }
}
#messagesDragImage {
  color: #fff;
  background-color: #000;
  height: 20px;
  min-width: 30px;
  padding: 4px 10px;
  position: fixed;
  right: -100px;
  top: 0;
}
.zm-msgView-side .messageListItem > div + div,
.rl-mobile .messageListItem > div + div {
  flex-wrap: wrap;
}
.zm-msgView-side .messageListItem,
.rl-mobile .messageListItem {
  line-height: 1.5;
}
.zm-msgView-side .messageListItem .messageCheckbox,
.rl-mobile .messageListItem .messageCheckbox {
  padding-top: 0.8em;
}
.zm-msgView-side .messageListItem .senderParent,
.rl-mobile .messageListItem .senderParent {
  flex: 1 0 25%;
}
.zm-msgView-side .messageListItem .subjectParent,
.rl-mobile .messageListItem .subjectParent {
  flex: 1 0 auto;
  line-height: 16px;
  order: 1;
  width: calc(100% - 120px);
}
.zm-msgView-side .messageListItem .flagParent,
.rl-mobile .messageListItem .flagParent {
  order: 1;
}
.zm-msgView-side .messageListItem .sizeParent,
.rl-mobile .messageListItem .sizeParent {
  order: 2;
}
.zm-msgView-side .messageListItem .attachmentParent,
.rl-mobile .messageListItem .attachmentParent {
  order: 3;
}
#V-MailMessageView {
  flex-grow: 1;
  overflow: auto;
  padding-bottom: 8px;
}
#V-MailMessageView .b-message-view-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 10;
  text-align: center;
}
#V-MailMessageView .b-message-view-backdrop .backdrop-message {
  position: relative;
  display: inline-block;
  color: white;
  font-size: 143%;
  line-height: 30px;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  border-radius: var(--border-radius, 5px);
  text-shadow: 0 1px 1px #000;
  transform: translateY(-50%);
  top: 50%;
}
#V-MailMessageView .top-toolbar {
  color: #fff;
  padding: 10px 0;
  visibility: visible;
}
.messageView {
  background-color: var(--panel-bg-clr, #fff);
  border: 1px solid var(--border-color, #aaa);
  border-radius: var(--border-radius, 5px);
  height: calc(100% - 50px);
  position: relative;
}
.messageView .priorityHigh .subject::before {
  content: '! ';
  /*❗*/
  color: red;
  font-weight: bolder;
}
.messageView .b-message {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.messageView .b-message-view-checked-helper {
  text-align: center;
  font-size: 70px;
  padding-top: 25vh;
  opacity: 0.6;
}
.messageView .b-message-view-checked-helper::after {
  content: ' ✉';
  font-family: "ziqromail";
}
.messageView .b-message-view-desc {
  text-align: center;
  font-size: 171%;
  line-height: 30px;
  color: #999;
  padding: 25vh 10px 0;
}
.messageView .b-message-view-desc.error {
  color: #DA4F49;
}
.messageView .message-fixed-button-toolbar {
  z-index: 100;
  position: absolute;
  top: 33px;
  right: 10px;
}
.messageView .infoParent {
  cursor: pointer;
  opacity: 0.5;
}
.messageView .infoParent:hover {
  opacity: 1;
}
.messageView .flagParent {
  cursor: pointer;
}
.messageView .flagParent .flagOn {
  color: orange;
}
.messageView .flagParent.flagOff:not(:hover) {
  opacity: 0.5;
}
.messageView .messageTags {
  align-items: baseline;
  display: flex;
}
.messageView .messageTags > * {
  flex: 0 0 0;
}
.messageView .messageAssignedTags {
  flex: 1 0 0;
}
.messageView .messageAssignedTags span {
  border: 1px solid #808080;
  line-height: 2;
  padding: 2px;
  white-space: nowrap;
}
.messageView .messageItemHeader {
  background-color: var(--message-header-bg-clr, #eee);
  border-bottom: 1px solid var(--border-color, #bbb);
  border-radius: var(--border-radius, 5px) var(--border-radius, 5px) 0 0;
  padding: 10px;
  flex-shrink: 0;
  word-break: keep-all;
}
.messageView .messageItemHeader .fontastic + span {
  margin-left: 0.25em;
}
.messageView .messageItemHeader .subjectParent {
  display: flex;
  font-size: 128%;
  font-weight: bold;
}
.messageView .messageItemHeader .subject {
  flex-grow: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0 0.25em;
}
.messageView .messageItemHeader .subject:empty {
  font-style: italic;
  opacity: 0.5;
}
.messageView .messageItemHeader .informationShort {
  margin: 0 56px 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.messageView .messageItemHeader .informationShort a {
  color: var(--link-color, #369);
  cursor: pointer;
  padding: 2px;
  text-decoration: underline;
}
.messageView .messageItemHeader .informationShort a:focus {
  outline: 1px;
  outline-style: dotted;
}
.messageView .messageItemHeader .informationShortWrp {
  max-height: 100px;
  overflow-y: auto;
}
.messageView .messageItemHeader .informationFull table {
  border-spacing: 0;
  width: 100%;
}
.messageView .messageItemHeader .informationFull td {
  padding: 4px;
  vertical-align: top;
  min-width: 43px;
}
.messageView .messageItemHeader .informationFull td:first-child {
  border-right: 1px solid #999;
  text-align: var(--right, right);
  white-space: nowrap;
  width: 1%;
}
.messageView .messageItemHeader .hasVirus {
  background: #f00;
  color: #fff;
  padding: 3px;
}
.messageView .crypto-control {
  padding: 0.5em;
}
.messageView .crypto-control span {
  margin-right: 1em;
}
.messageView .crypto-control button {
  cursor: pointer;
}
.messageView .crypto-control.encrypted {
  border: 1px dashed #18F;
  color: #18F;
}
.messageView .crypto-control.signed {
  border: 1px dashed #FA0;
  color: #FA0;
}
.messageView .crypto-control.success {
  border-color: #090;
  color: #090;
}
.messageView .crypto-control.error {
  border-color: #F00;
  color: #F00;
}
.messageView .crypto-control.error button,
.messageView .crypto-control.success button {
  display: none;
}
.messageView .thread-controls .dropdown-toggle {
  padding-left: 10px;
  padding-right: 10px;
}
.messageView .thread-controls.open .dropdown-toggle {
  padding-left: 10px;
  padding-right: 10px;
}
#V-MailMessageView.focused .messageView {
  border-color: #9d9d9d;
  box-shadow: var(--smMainShadow);
}
#messageItem {
  height: 100%;
  overflow: auto;
  scroll-behavior: smooth;
}
#messageItem .loading {
  text-align: center;
  font-size: 171%;
  color: grey;
  padding: 50px 0;
}
#messageItem .bodySubHeader {
  background-color: var(--message-header-bg-clr, #eee);
}
#messageItem .bodySubHeader > * {
  border-bottom: 1px solid var(--border-color, #bbb);
  cursor: pointer;
  padding: 10px;
}
#messageItem .pgpInfo {
  padding: 5px 15px;
  border-bottom: 1px solid var(--border-color, #bbb);
  background-color: #fcf8e3;
}
#messageItem .pgpInfo.success {
  background-color: #e9f4ff;
}
#messageItem .attachmentsPlace {
  border-bottom: 1px solid var(--border-color, #bbb);
  position: relative;
}
#messageItem .attachmentsPlace:not(.selection-mode) .checkboxAttachment {
  display: none;
}
#messageItem .attachmentsPlace .controls-handle {
  position: absolute;
  bottom: 5px;
  right: 8px;
  color: #999;
  cursor: pointer;
}
#messageItem .attachmentsControls {
  padding-top: 7px;
  border-top: 1px solid var(--border-color, #bbb);
}
#messageItem .attachmentsControls > * {
  display: inline-block;
  margin-right: 0.5em;
  white-space: nowrap;
}
#messageItem .sm-bq-switcher > summary {
  border: 1px solid #999;
  cursor: pointer;
  line-height: 1em;
  margin: 2em 0 10px;
  opacity: 0.5;
  padding: 0 0.5em;
  text-align: center;
  width: fit-content;
}
#messageItem .sm-bq-switcher > summary:hover {
  opacity: 1;
}
#messageItem .b-text-part {
  height: 100%;
  padding: 10px;
  position: relative;
  /*
		&.openpgp-signed,
		&.openpgp-encrypted {
			border: 1px dashed #FA0;

			&.success {
				border-color: green;
				background-color: rgba(0, 255, 0, 0.03);
			}
			&.error {
				border-color: red;
				background-color: rgba(255, 0, 0, 0.03);
			}
		}
*/
}
#messageItem .b-text-part.swapColors {
  background-color: var(--main-color, currentcolor);
  color: var(--main-bg-color);
}
#messageItem .b-text-part * {
  box-sizing: unset;
  /*			unicode-bidi: plaintext;*/
}
#messageItem .b-text-part a {
  color: var(--link-color, blue);
  text-decoration: underline;
}
#messageItem .b-text-part a:visited {
  color: #609;
}
#messageItem .b-text-part a:active {
  color: red;
}
#messageItem .b-text-part blockquote {
  border-left: 2px solid #000;
  opacity: 0.8;
  padding: 0 10px;
  margin: 0;
}
#messageItem .b-text-part blockquote blockquote {
  opacity: 1;
}
#messageItem .b-text-part.html img {
  max-width: 100%;
  height: auto;
}
#messageItem .b-text-part.html img[data-x-src]:not([src]) {
  border: 1px solid #999;
  line-height: 1;
  padding-left: 1.1em;
  position: relative;
}
#messageItem .b-text-part.html img[data-x-src]:not([src])::after {
  content: "🖼";
  font-family: "ziqromail";
  position: absolute;
  top: 0;
  left: 0;
  color: #000;
  background-color: #fff;
}
#messageItem .b-text-part.html img[data-x-src]:not([src]):hover::after {
  content: attr(data-x-src);
  font-family: var(--fontSans);
  font-size: 80%;
  height: auto;
  transform: translate(-25%, 0);
  width: fit-content;
  z-index: 1000;
}
#messageItem .b-text-part.html pre,
#messageItem .b-text-part.html code {
  margin: 0;
  border: none;
  word-break: normal;
  word-wrap: break-word;
}
#messageItem .b-text-part.html code {
  border-radius: 0;
  display: inline;
  padding: 2px 5px;
}
#messageItem .b-text-part.html pre {
  border-radius: var(--border-radius, 5px);
  display: block;
  padding: 5px 10px;
}
#messageItem .b-text-part.html pre > code {
  padding: 0;
}
#messageItem .b-text-part.plain {
  white-space: pre-wrap;
  font-family: var(--fontMono);
}
#messageItem .b-text-part.plain pre {
  margin: 0;
  padding: 0;
  border: none;
  display: block;
  word-break: normal;
}
.mailvelope iframe {
  min-height: 400px;
}
html:not(.zm-msgView-bottom):not(.zm-msgView-side) :is(#ziqro-right, #rl-right):not(.message-selected) #V-MailMessageView {
  display: none;
}
@media screen and (max-width: 1400px) {
  html.zm-msgView-side #V-MailMessageView .top-toolbar {
    visibility: hidden;
  }
}
html.zm-msgView-bottom #V-MailMessageView .top-toolbar {
  display: none;
}
html.zm-msgView-bottom .messageView {
  height: 100%;
}
/* @media all and (display-mode: fullscreen) */
html.rl-fullscreen :is(#ziqro-left, #rl-left),
html.rl-fullscreen #V-MailMessageList,
html.rl-fullscreen #V-SettingsPane,
html.rl-fullscreen #V-SystemDropDown,
html.rl-fullscreen #V-MailMessageView .top-toolbar {
  display: none !important;
}
html.rl-fullscreen .messageView {
  border: 0;
}
#V-PopupsContacts {
  height: 100vh;
  height: 100dvh;
  max-width: 900px;
  min-height: 300px;
  /* Left */
  /* Right */
}
#V-PopupsContacts .control-group label.iconsize24 {
  padding-top: 0;
  width: 50px;
}
#V-PopupsContacts .modal-body {
  display: flex;
  height: 100%;
  padding: 0;
}
#V-PopupsContacts .left {
  max-width: 30%;
}
#V-PopupsContacts .b-list-toolbar {
  padding: 0;
  height: 44px;
  text-align: center;
  border-bottom: 1px solid var(--border-color, #ddd);
}
#V-PopupsContacts .b-list-toolbar .e-search {
  margin: 7px 0 0;
  width: calc(100% - 10px);
}
#V-PopupsContacts .b-list-footer-toolbar {
  height: 46px;
  border-top: 1px solid var(--border-color, #ddd);
}
#V-PopupsContacts .b-list-footer-toolbar .footer-pager {
  padding: 8px 10px 0 0;
  text-align: var(--right, right);
}
#V-PopupsContacts .b-list-content {
  height: calc(100% - 44px - 46px);
  overflow: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
}
#V-PopupsContacts .b-list-content .listClear {
  text-align: center;
  padding: 10px;
  line-height: 13px;
  box-shadow: inset 0 -1px 0 #ccc;
}
#V-PopupsContacts .b-list-content .listEmptyList,
#V-PopupsContacts .b-list-content .listEmptyListLoading,
#V-PopupsContacts .b-list-content .listEmptySearchList {
  color: #999;
  text-align: center;
  padding: 60px 10px;
  font-size: 171%;
  line-height: 30px;
}
#V-PopupsContacts .e-contact-item {
  display: flex;
  height: 55px;
  max-height: 45px;
  line-height: 45px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  margin: 0;
  border-left: 6px solid #eee;
  border-bottom: 1px solid var(--border-color, #ddd) !important;
}
#V-PopupsContacts .e-contact-item.focused {
  border-color: #bbb;
}
#V-PopupsContacts .e-contact-item.deleted {
  max-height: 0;
  border-color: transparent !important;
}
#V-PopupsContacts .e-contact-item .checkboxItem {
  line-height: 45px;
  padding: 0 8px 0 6px;
}
#V-PopupsContacts .e-contact-item .nameParent {
  font-size: 114%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}
#V-PopupsContacts .e-contact-item.checked {
  border-color: #69A8F5;
}
#V-PopupsContacts .e-contact-item.checked.focused {
  border-color: #519af3;
}
#V-PopupsContacts .e-contact-item.selected {
  background-color: rgba(140, 200, 255, 0.3);
  border-color: #398CF2;
}
#V-PopupsContacts .e-contact-item.selected.focused {
  border-color: #217ef0;
}
#V-PopupsContacts .right {
  width: 100%;
  border-left: 1px solid var(--border-color, #ddd);
}
#V-PopupsContacts .b-view-content-toolbar {
  border-top: 1px solid var(--border-color, #ddd);
  padding: 7px;
  text-align: var(--right, right);
}
#V-PopupsContacts .b-view-content-toolbar .dropdown-menu.right-edge {
  top: auto;
  bottom: 100%;
}
#V-PopupsContacts .b-view-content {
  height: calc(100% - 46px);
  margin: 0;
  overflow: auto;
}
#V-PopupsContacts .b-view-content :not(.e-checkbox) > span {
  height: 20px;
  line-height: 20px;
  padding: 5px 7px;
  font-size: 128%;
  display: none;
}
#V-PopupsContacts .b-view-content .b-contact-view-desc {
  text-align: center;
  font-size: 171%;
  line-height: 30px;
  padding-top: 120px;
  color: #999;
}
#V-PopupsContacts .b-view-content .property-line {
  margin-bottom: 5px;
}
#V-PopupsContacts .b-view-content input:not([type='checkbox']),
#V-PopupsContacts .b-view-content textarea {
  width: 70vw;
  max-width: 400px;
}
#V-PopupsContacts .read-only-sign {
  display: none;
  position: absolute;
  top: 20px;
  right: 40px;
}
#V-PopupsContacts .read-only span,
#V-PopupsContacts .read-only .e-read-only-sign {
  display: inline-block;
}
#V-PopupsContacts .read-only input,
#V-PopupsContacts .read-only textarea {
  display: none;
}
#V-PopupsContacts .tab-content {
  grid-column-end: 4;
  padding-top: 20px;
}
@media screen and (min-width: 800px) {
  .hideContactListCheckbox .checkboxItem {
    visibility: hidden;
  }
}
@media screen and (max-width: 799px) {
  #V-PopupsContacts {
    width: 100%;
  }
}
.mailvelope-icon {
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACjElEQVQ4y2XTXWjVdRgH8M/vf457OUVJzc7U5myWmysrFROKjFyUgqasEsNIrFFetC5KYkXMdVP0chne1MVWUBGWnlAKcogLJmiGXciUkaPtHPYSWumo6XbOv4v/afbyXP14+H6/z8vv+Qb/iNijEdFK4p1Yh1sQ4WccJe4h9Ae54t+ccJW88VpSb+NZdZWVmm+muR4xgwVODzM0dQWfEb0Q7L80KxDbmCH6irDO82uCHZvIVJMfT9Tn11Askevlnd7YdOk4xYeCg5PpBBG9R2gB9bXkjrD/GIXLSYlsBetX0NZK/cLgue41pLrxeIhtuZP4R6uyvPoEVdUcOMKH3/tf3FXDx6/x6de89W1MfH+qS2MnxdVynYyeZzDPM1sYHeH2LJMX2XAHjTfSN8zkOO1P8v6hQLQgjRZLarlhLk/vxTW0b6XjKaoqmJomjslUsrqPjn28tIOVi/lh+O4Ii61dQmEs2WnrUobHad3DR4eoruCxPXz+DQ+sSDAD51jbBDdFYKZ0dc4Hl5EvkJ/itiwjBfKXqath4tfyn8ekEmqEIf3nWJBFKRml/3QCzFzH4VPl/Dy+G0jyyxroOwMTafT6aazJxUlefpjXe7gwnbTa2c0v5ff5C2y+l/saSQdODCGcSnVpzJPaJT0ZtG+j9ySDvyeVfpvhSpwInDzL8vnJZb7yAaN/ILSl3nB2vEtTjRP5eyzKsHs7188wMZaQ5wQWVbFpFQ31bN/L6J+wL8i9W77Emd2kb9XxxSMK48HW9WzbwMhYsrDaeZRKfHkYUYzjlHb+x0ytVRTfxC51ldWaF7K0jjkpzuQZmDXTJxRfDA5e+pdAIrI5Il5OaEMLGsqYsp31EI4FB2bt/Bf/WNuibWZY5gAAAABJRU5ErkJggg==') center / contain no-repeat;
  display: inline-block;
  height: 1em;
  width: 1em;
}
#V-PopupsCompose {
  height: 100vh;
  height: 100dvh;
  max-width: min(99vw, 1600px);
  resize: horizontal;
  width: 99%;
}
#V-PopupsCompose .modal-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
#V-PopupsCompose .tabs {
  height: 100%;
  max-height: 100%;
  overflow: auto;
}
#V-PopupsCompose .tabs > label > * + * {
  margin-left: 0.5em;
}
#V-PopupsCompose .tabs .tab-content {
  overflow: auto;
}
#V-PopupsCompose .textAreaParent,
#V-PopupsCompose .attachmentAreaParent {
  height: 100%;
  min-height: 200px;
  position: relative;
}
#V-PopupsCompose .textAreaParent {
  display: flex;
  flex-direction: column;
  /*
		.rl-signature {
			border-top: 1px solid rgba(128,128,128,0.7);
		}
*/
}
#V-PopupsCompose .attachmentAreaParent {
  border-top: 1px solid #ccc;
  overflow-y: auto;
  padding: 10px;
}
#V-PopupsCompose .no-attachments-desc {
  padding-top: 50px;
  text-align: center;
  font-size: 171%;
  opacity: 0.5;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}
#V-PopupsCompose header {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
}
#V-PopupsCompose header .close,
#V-PopupsCompose header .minimize-custom {
  border-color: #eee;
  float: none;
  font-size: 171%;
  opacity: 1;
  line-height: 28px;
  margin-left: 0.7em;
}
#V-PopupsCompose header .button-save,
#V-PopupsCompose header .button-delete,
#V-PopupsCompose header .saved-text {
  margin-left: 8px;
}
#V-PopupsCompose header .button-delete.disabled {
  visibility: hidden;
}
#V-PopupsCompose header .pull-right * {
  vertical-align: top;
}
#V-PopupsCompose .b-header {
  padding: 10px;
  background-color: rgba(128, 128, 128, 0.2);
}
#V-PopupsCompose .b-header table {
  border-collapse: collapse;
  width: 100%;
}
#V-PopupsCompose .b-header td {
  vertical-align: baseline;
  padding: 2px 0;
}
#V-PopupsCompose .b-header td:first-child {
  padding: 0 10px 0 0;
  text-align: var(--right, right);
  white-space: nowrap;
  width: 4em;
}
#V-PopupsCompose .b-header #identity-toggle {
  color: var(--main-color);
  margin-left: 6px;
  text-decoration: none;
}
#V-PopupsCompose .b-header #identity-toggle::after {
  content: '▼';
}
#V-PopupsCompose .b-header input[type="text"] {
  width: 100%;
}
#V-PopupsCompose .b-header .error-desc {
  color: red;
}
#V-PopupsCompose .b-header .error-to {
  color: red;
  font-weight: bold;
}
#V-PopupsCompose .b-attachment-button {
  display: inline-block;
}
#V-PopupsCompose .b-attachment-place {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 5px;
  border: 2px var(--border-color, #ddd) dashed;
  z-index: 300;
  line-height: 119px;
  text-align: center;
  background-color: var(--dialog-bg-clr, #fff);
  font-size: 171%;
  border-radius: 10px;
  opacity: 0.9;
}
#V-PopupsCompose .b-attachment-place.dragAndDropOver {
  border-color: var(--main-color, #fff);
  opacity: 1;
}
.minimize-custom {
  border: 0 solid #333;
  border-bottom-width: 3px;
  display: inline-block;
  height: 20px;
  width: 16px;
  cursor: pointer;
}
.emailaddresses {
  background-color: var(--input-bg-clr, #fff);
  border: 1px solid var(--input-border-clr, #ccc);
  border-radius: var(--input-border-radius, 3px);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  color: var(--input-clr, #555);
  cursor: text;
  font-size: 90%;
  list-style: none;
  margin: 0;
  padding: 0;
  transition: border linear 0.2s, box-shadow linear 0.2s;
  max-height: 5em;
  overflow: auto;
}
.emailaddresses.emailaddresses-focused {
  border-color: var(--input-focus-border-clr, #999);
  box-shadow: none;
}
.emailaddresses li {
  display: inline-block;
}
.emailaddresses li[draggable] {
  background-color: #eee;
  border: 1px solid #aaa;
  border-radius: calc(var(--input-border-radius, 3px) - 1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75) inset;
  color: #555;
  cursor: default;
  max-width: 500px;
  overflow: hidden;
  margin: 2px;
  padding: 2px 15px 2px 5px;
  position: relative;
  text-overflow: ellipsis;
  vertical-align: middle;
  white-space: nowrap;
}
.emailaddresses li.pgp {
  background-color: #E5F3E2;
}
.emailaddresses li span {
  padding-right: 3px;
}
.emailaddresses li a {
  font-size: 85%;
  color: #999;
  padding: 1px;
  position: absolute;
  right: 2px;
  text-decoration: none;
  top: 1px;
}
.emailaddresses li a:hover {
  color: #666;
}
.emailaddresses .emailaddresses-input {
  margin: 0 2px;
  padding: 0;
}
:is(#ziqro-app, #rl-app) .emailaddresses input[type="text"],
:is(#ziqro-app, #rl-app) .emailaddresses input[type="text"]:focus,
:is(#ziqro-app, #rl-app) .emailaddresses input[type="text"]:hover {
  border: 0;
  box-shadow: none;
  height: auto;
  line-height: inherit;
  margin: 0;
  min-width: 18em;
  max-width: 500px;
  padding: 4px;
  vertical-align: baseline;
}
.emailaddresses li.emailaddresses-selected,
.emailaddresses li.emailaddresses-selected a {
  background-color: Highlight;
  color: HighlightText;
}
#V-SettingsMenu nav a {
  background-color: transparent;
  color: var(--settings-menu-color, #333);
  cursor: pointer;
  display: block;
  font-size: 128%;
  line-height: 2em;
  max-height: 2em;
  overflow: hidden;
  padding: 0 10px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#V-SettingsMenu nav a:focus,
#V-SettingsMenu nav a:hover {
  background-color: var(--settings-menu-hover-bg-color, #333);
  color: var(--settings-menu-hover-color, #eee);
}
#V-SettingsMenu nav a.selected {
  background-color: var(--settings-menu-selected-bg-color, #333);
  color: var(--settings-menu-selected-color, #eee);
}
#V-SettingsPane {
  height: calc(100% - 50px - 8px);
  margin: 50px 8px 0 0;
  padding: 20px;
  width: 100%;
  background-color: var(--panel-bg-clr, #fff);
  border: 1px solid var(--border-color, #aaa);
  border-radius: var(--border-radius, 5px);
  box-shadow: var(--smMainShadow);
  overflow-y: auto;
  scroll-behavior: smooth;
}
#V-SettingsPane .btn-toolbar {
  position: absolute;
  top: 8px;
  left: 8px;
}
#V-SettingsPane td {
  padding: 4px 8px;
  line-height: 30px;
}
.firefox-drag #V-SettingsPane,
.firefox-drag .modal-body {
  overflow: hidden;
}
#V-Settings-General .editMainIdentity {
  border-bottom: 1px dashed #555;
  cursor: pointer;
  display: inline-block;
  padding: 5px 0;
}
#V-Settings-Accounts .account-name {
  display: inline-block;
  word-break: break-all;
}
#V-Settings-Accounts .identity-default {
  cursor: pointer;
  color: #ccc;
}
#V-Settings-Accounts .identity-name {
  display: inline-block;
  word-break: break-all;
  cursor: pointer;
}
#V-Settings-Accounts table {
  margin-top: 1em;
}
#V-Settings-Accounts tr {
  white-space: nowrap;
}
#V-Settings-Accounts td + td + td {
  text-align: var(--right, right);
}
#V-Settings-Accounts td:first-child,
#V-Settings-Accounts td:last-child {
  width: 1em;
}
#V-Settings-Accounts .delete {
  cursor: pointer;
  opacity: 0.5;
}
#V-Settings-Accounts .identity-default::before {
  content: '(';
}
#V-Settings-Accounts .identity-default::after {
  content: ')';
}
#V-Settings-Security td * {
  cursor: pointer;
}
#V-Settings-Security td + td {
  width: 1%;
}
#V-Settings-Security .key-user {
  margin: 0 0.5em;
  white-space: nowrap;
}
#V-Settings-Security .delete-key:not(:hover) {
  opacity: 0.7;
}
#V-Settings-Security iframe {
  max-width: 991px;
}
#V-Settings-Folders .folders-list-error {
  margin: 10px 0;
}
#V-Settings-Folders table {
  margin-top: 1em;
}
#V-Settings-Folders td:first-child {
  cursor: pointer;
}
#V-Settings-Folders td + td {
  white-space: nowrap;
  width: 1em;
}
#V-Settings-Folders .folder-name {
  word-break: break-all;
  white-space: pre-wrap;
}
#V-Settings-Folders .folder-system-name,
#V-Settings-Folders .folder-size {
  margin-left: 0.2em;
  opacity: 0.6;
}
#V-Settings-Folders select {
  width: auto;
}
#V-Settings-Folders tr:not(.selectable) {
  font-style: italic;
}
#V-Settings-Folders tr.system .folder-name {
  font-weight: bold;
}
#V-Settings-Folders tr input {
  border-width: 1px;
  margin-bottom: 0;
}
#V-Settings-Folders tr .unsubscribed-folder,
#V-Settings-Folders tr .unchecked-folder {
  opacity: 0.4;
}
#V-Settings-Folders .deep-1 {
  text-indent: 15px;
}
#V-Settings-Folders .deep-2 {
  text-indent: 30px;
}
#V-Settings-Folders .deep-3 {
  text-indent: 45px;
}
#V-Settings-Folders .deep-4 {
  text-indent: 60px;
}
#V-Settings-Folders .deep-5 {
  text-indent: 75px;
}
#V-Settings-Themes figure {
  display: inline-block;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 8px;
  margin: 5px;
  min-width: 148px;
}
#V-Settings-Themes figure:hover {
  border-color: grey;
}
#V-Settings-Themes figure.selected {
  background-color: rgba(64, 255, 64, 0.2);
  border-color: #000;
}
#V-Settings-Themes figure figcaption {
  padding: 0 0 8px 0;
  text-align: center;
}
#V-Settings-Themes figure img {
  height: 128px;
}
#V-PopupsSieveScript {
  width: auto;
  max-width: 720px;
}
#V-PopupsSieveScript .filter-item,
#V-Settings-Filters .script-item {
  white-space: nowrap;
}
.filter-item td.drag-wrapper {
  padding: 4px 0;
}
.filter-item .delete-filter {
  cursor: pointer;
  opacity: 0.5;
}
.filter-item .filter-name,
.filter-item .filter-sub-name {
  display: inline-block;
  word-break: break-all;
  line-height: 22px;
  cursor: pointer;
}
.filter-item .filter-sub-name {
  color: #aaa;
}
#V-PopupsSieveScript textarea {
  height: 300px;
  font-family: var(--fontMono);
}
.squire-toolbar {
  border-bottom: 1px solid #b6b6b6;
  min-height: 28px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 2px;
  position: relative;
  white-space: nowrap;
}
.squire-toolbar input[type="color"] {
  bottom: 0;
  left: -100em;
  opacity: 0;
  position: absolute;
  width: 40px;
}
.squire-toolbar select {
  font-size: 85%;
  padding: 4px 1.5em 4px 6px;
  text-align: var(--left, left);
  vertical-align: middle;
  width: 7em;
}
.squire-toolbar select[data-action="fontSize"] {
  width: 5em;
}
.squire-toolbar button {
  font-family: "ziqromail", var(--fontSans);
}
.squire-toolbar button[data-action="bold"] {
  font-weight: bold;
}
.squire-toolbar button[data-action="italic"] {
  font-style: italic;
}
/*
.squire-toolbar button[data-action="underline"] {
	text-decoration: underline;
}
.squire-toolbar button[data-action="strikethrough"] {
	text-decoration: line-through;
}
*/
.squire-wysiwyg,
.squire-plain {
  height: 100%;
  line-height: 16px;
  min-height: 200px;
  overflow: auto;
  padding: 10px;
}
.squire-wysiwyg {
  font-family: var(--fontSans);
  /* Prevent collapse of empty elements so that the caret can be placed in there
	*:empty::before {
		content: "\200B";
	}
	*/
}
.squire-wysiwyg ul {
  padding-left: 40px;
}
.squire-wysiwyg ul li {
  list-style-type: disc !important;
}
.squire-wysiwyg ol {
  padding-left: 40px;
}
.squire-wysiwyg ol li {
  list-style-type: decimal !important;
}
.squire-wysiwyg pre,
.squire-wysiwyg code {
  border: none;
  border-radius: 0;
  display: block;
  font-family: var(--fontMono);
  margin: 0;
  padding: 0;
  word-break: normal;
  word-wrap: break-word;
}
.squire-wysiwyg code {
  display: inline;
  padding: 2px 5px;
}
.squire-wysiwyg pre {
  border-radius: var(--border-radius, 5px);
  padding: 5px 10px;
}
.squire-wysiwyg pre > code {
  padding: 0;
}
.squire-wysiwyg blockquote {
  border: 0;
  border-left: 2px solid #444;
  margin: 5px 0 5px 5px;
  padding-left: 5px;
}
.squire-wysiwyg blockquote p {
  margin: 0 0 10px;
  line-height: 20px;
}
.squire-wysiwyg img {
  vertical-align: bottom;
}
/* This does make the block element focusable with mouse in Gecko and Webkit so we don't need a <BR>.
However, arrow up/down still not working.
Secondly, we can't rely on MUA's what to do with :empty
.squire-wysiwyg div:empty,
.squire-wysiwyg div:-moz-only-whitespace {
	min-height: 16px;
}
/* This "placeholder" doesn't work good in Gecko
.squire-wysiwyg div:empty::before,
.squire-wysiwyg div:-moz-only-whitespace::before {
	content: "Start writing here…";
	opacity: 0.5;
	user-select: text;
	-moz-user-select: text;
}
*/
.squire-plain {
  border: 0;
  border-radius: 0;
  display: none;
  font-family: var(--fontMono);
  margin: 0;
  resize: none;
  white-space: pre-wrap;
  width: 100%;
}
.squire-mode-source .squire-wysiwyg,
.squire-mode-wysiwyg .squire-plain,
.squire-mode-plain .squire-wysiwyg,
.squire-mode-plain .btn-group:not(#squire-toolgroup-mode) {
  display: none;
}
.squire-mode-source .squire-plain,
.squire-mode-plain .squire-plain {
  display: block;
}
@keyframes highlight-folder-row {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes animate-stripes {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 60px 0;
  }
}
@media screen and (min-width: 800px) {
  .b-folders li .anim-action-class {
    animation: highlight-folder-row 0.5s linear;
  }
  .b-folders .btn.buttonContacts {
    transition: margin 0.3s linear;
  }
  :is(#ziqro-left, #rl-left) .b-content {
    transition: opacity 0.3s linear;
  }
  .b-list-content .e-contact-item {
    transition: max-height 400ms ease;
  }
  #V-PopupsCompose header.loading {
    background-size: 60px 60px;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    animation: animate-stripes 2s linear infinite;
  }
}
html[dir="rtl"] {
  direction: rtl;
  --right: left;
  --left: right;
}
[dir="rtl"] .LoginView .controls > .fontastic:first-child {
  left: unset;
  right: 6px;
}
[dir="rtl"].zm-msgView-side #V-MailMessageList .resizer,
[dir="rtl"] .search-input-wrp a {
  right: unset;
  left: 0;
}
[dir="rtl"] .fontastic + span,
[dir="rtl"] [class^="icon-"] + span,
[dir="rtl"] [class*=" icon-"] + span {
  margin-left: unset;
  margin-right: 0.5em;
}
[dir="rtl"] [data-icon]::before {
  margin-left: 0.5em;
  margin-right: 0;
}
[dir="rtl"] .dropdown-menu.right-edge {
  right: auto;
  left: 0;
}
[dir="rtl"] .form-horizontal .control-group > :not(label) {
  margin: 0 20px 0 0;
}
[dir="rtl"] .messageList .checkboxCheckAll {
  margin: 0.45em 0 0 0.5em;
}
[dir="rtl"] .messageListItem {
  border-left: 0;
  border-right: 6px solid transparent;
}
[dir="rtl"] .messageListItem time,
[dir="rtl"] .messageListItem .sizeParent {
  margin: 0 0 0 5px;
}
[dir="rtl"] .messageListItem .attachmentParent,
[dir="rtl"] .messageListItem .flagParent {
  margin: 0 5px 0 10px;
}
[dir="rtl"] .messageListItem > div + div {
  padding: 5px 5px 5px 0;
}
[dir="rtl"] #V-SystemDropDown {
  right: unset;
  left: 0;
}
[dir="rtl"] #V-SystemDropDown .accountPlace {
  border-right: 0;
  border-left: 1px solid var(--btn-border-clr, rgba(0, 0, 0, 0.2));
  margin: 0 0 -4px 6px;
  padding-right: 0;
  padding-left: 6px;
}
[dir="rtl"] #V-PopupsCompose .b-header td:first-child {
  padding: 0 0 0 10px;
}
[dir="rtl"] #V-PopupsCompose header .close,
[dir="rtl"] #V-PopupsCompose header .minimize-custom {
  margin-left: 0;
  margin-right: 0.7em;
}
[dir="rtl"] .b-folders {
  padding-left: 2px;
  padding-right: unset;
}
[dir="rtl"] .b-folders .b-folders-system a[data-unread]::after,
[dir="rtl"] .b-folders .b-folders-user a[data-unread]:not(.system)::after {
  right: unset;
  left: 3px;
}
[dir="rtl"] .b-folders .flag-icon {
  margin-left: 0;
  margin-right: 7px;
}
[dir="rtl"] .b-folders li a {
  border-left: 0;
  border-right: 3px solid transparent;
  padding: 0 7px 0 2em;
}
[dir="rtl"] .messageView .messageItemHeader .informationShort {
  margin: 0 0 0 56px;
}
[dir="rtl"] .messageView .messageItemHeader .informationFull td:first-child {
  border-right: 0;
  border-left: 1px solid #999;
}
[dir="rtl"] .messageView .message-fixed-button-toolbar {
  right: unset;
  left: 10px;
}
[dir="rtl"] #V-PopupsContacts .e-contact-item {
  border-left: 0;
  border-right: 6px solid #eee;
}
[dir="rtl"] [data-ziqroErrorTip]::before {
  left: 100%;
}
[data-ziqroErrorTip] {
  position: relative;
}
[data-ziqroErrorTip]::before {
  background: #fff;
  border-radius: var(--input-border-radius, 3px);
  border: 1px solid #999;
  color: red;
  content: attr(data-ziqroErrorTip);
  font-size: 90%;
  left: 0;
  opacity: 1;
  padding: 0.25em;
  position: absolute;
  text-align: var(--left, left);
  top: 100%;
  transition: opacity 0.2s ease-in-out;
  white-space: pre;
  z-index: 2001;
}
@media screen and (max-width: 799px) {
  [data-ziqroErrorTip]::before {
    min-width: 60vw;
    white-space: normal;
  }
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  transition: color 9999s ease-out, background-color 9999s ease-out;
}
.btn-rotate,
[data-icon].rotate::before {
  transform: rotate(-180deg);
}
/*
@media (pointer: coarse), (hover: none) {
	[title] {
		position: relative;
		display: inline-flex;
		justify-content: center;
	}
	[title]:focus::after {
		content: attr(title);
		position: absolute;
		top: 90%;
		color: #000;
		background-color: #fff;
		border: 1px solid;
		width: fit-content;
		padding: 3px;
	}
}
*/
@media print {
  :is(#ziqro-app, #rl-app),
  :is(#ziqro-right, #rl-right) {
    position: initial;
  }
  :is(#ziqro-left, #rl-left) {
    display: none;
  }
  :is(#ziqro-content, #rl-content),
  :is(#ziqro-right, #rl-right) {
    display: block;
    width: 100%;
  }
  .message-selected .close,
  .message-selected .infoParent,
  .message-selected .top-toolbar,
  .message-selected .messageView .controls-handle,
  .message-selected #tags-dropdown-id,
  .message-selected .message-fixed-button-toolbar,
  .message-selected #V-MailMessageList,
  .message-selected #V-SystemDropDown,
  .message-selected .bodySubHeader {
    display: none;
  }
  .message-selected #V-MailMessageView {
    left: 0;
    overflow: initial;
    position: initial;
  }
  .message-selected .messageView,
  .message-selected .messageView .b-message,
  .message-selected #messageItem,
  .message-selected #messageItem .b-text-part {
    height: auto;
  }
}

/* ==========================================================================
   ZIQRO WEBMAIL — COMPLETE MODERN LOGIN UI REDESIGN & POLISH
   ========================================================================== */

/* 1. Global Login View & App Reset */
#V-Login {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: 100% !important;
  min-width: 0 !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  z-index: 100 !important;
  background-color: #090d16 !important;
  color: #f8fafc !important;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.LoginView::before {
  display: none !important;
  content: "" !important;
}

/* 1. Full-Screen Canvas for User Login View */
#V-Login.LoginView {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: none !important;
  min-width: 0 !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: row !important;
  background: #090d16 !important;
  z-index: 100 !important;
  box-sizing: border-box !important;
}

/* Reset default form container inside Ziqro Login */
#V-Login.LoginView form {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
  max-width: 100% !important;
}

#V-Login .descWrapper {
  display: none !important;
}

/* 2. Split Screen Main Layout Container */
.ziqro-login-container {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  background: #090d16 !important;
  box-sizing: border-box !important;
}

/* 3. Left Brand Hero Pane (Desktop / Laptop) */
.ziqro-hero-pane {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 4vh, 44px) clamp(24px, 3vw, 50px) clamp(18px, 2.5vh, 32px) clamp(50px, 5vw, 80px);
  background: radial-gradient(circle at 10% 20%, rgba(14, 165, 233, 0.09) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.09) 0%, transparent 50%),
              #070a12;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  z-index: 2;
  box-sizing: border-box;
}

/* Subtle, refined ambient grid (reduced intensity) */
.ziqro-hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* Soft ambient glow orbs (30-50% reduced intensity) */
.ziqro-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.2;
}

.ziqro-glow-1 {
  top: -100px;
  left: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #0284c7 0%, rgba(2, 132, 199, 0) 70%);
  animation: ziqroFloat 14s ease-in-out infinite alternate;
}

.ziqro-glow-2 {
  bottom: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, #6366f1 0%, rgba(99, 102, 241, 0) 70%);
  animation: ziqroFloat 12s ease-in-out infinite alternate-reverse;
}

@keyframes ziqroFloat {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(25px, 15px) scale(1.05); }
  100% { transform: translate(-15px, 30px) scale(0.96); }
}

/* Hero Content Wrapper (Constrained to 633px Max Width on Desktop) */
.ziqro-hero-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: clamp(520px, 39.5vw, 633px);
}

.ziqro-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 0;
  width: 100%;
}

.ziqro-brand-mark {
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(-70px);
}

.ziqro-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 3px 10px rgba(2, 132, 199, 0.35));
}

.ziqro-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.ziqro-brand-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: #ffffff;
}

.ziqro-brand-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #38bdf8;
}

.ziqro-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 13px;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  color: #7dd3fc;
  backdrop-filter: blur(8px);
}

.status-indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #38bdf8;
  box-shadow: 0 0 6px #38bdf8;
  animation: ziqroPulse 2.5s infinite;
}

@keyframes ziqroPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* Vector Illustration Art (Enhanced Glow & Ambient Atmosphere) */
.ziqro-hero-art-wrap {
  position: absolute;
  top: calc(39% + 62px);
  left: clamp(20px, 2.5vw, 48px);
  transform: translateY(-50%);
  width: 540px;
  max-width: 560px;
  pointer-events: none;
  opacity: 0.6;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.35)) drop-shadow(0 0 20px rgba(99, 102, 241, 0.2));
  z-index: 1;
}

.ziqro-network-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.ziqro-spin-reverse {
  transform-origin: 45px 45px;
  animation: ziqroSpinRev 30s linear infinite;
}

@keyframes ziqroSpinRev {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

.ziqro-pulse-node circle:first-child {
  animation: ziqroNodePulse 3.5s ease-in-out infinite alternate;
}

@keyframes ziqroNodePulse {
  0% { r: 7px; opacity: 0.15; }
  100% { r: 12px; opacity: 0.35; }
}

/* Hero Typography (Heading moved down 8px) */
.ziqro-hero-copy {
  margin: 8px 0 0 0;
  padding: 0;
  max-width: 540px;
}

.ziqro-hero-headline {
  font-size: clamp(32px, 2.6vw, 44px);
  font-weight: 800;
  line-height: 1.12;
  color: #ffffff;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.ziqro-gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 60%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Description (Natural wrap after 'for', max-width: 390px) */
.ziqro-hero-subhead {
  font-size: 13.5px;
  line-height: 1.48;
  color: #94a3b8;
  max-width: 390px;
  margin: 22px 0 0 0;
}

/* Hero Feature Cards (Constrained to ~633px on 1600x900) */
.ziqro-hero-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 12px 0 0 0;
  width: 100%;
  max-width: clamp(520px, 39.5vw, 633px);
}

.ziqro-feature-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: clamp(520px, 39.5vw, 633px);
  box-sizing: border-box;
  padding: 8px 15px;
  background: rgba(13, 22, 42, 0.72);
  border: 1px solid rgba(56, 189, 248, 0.14);
  border-radius: 11px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.ziqro-feature-item:hover {
  transform: translateX(4px);
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(18, 30, 56, 0.85);
}

.feature-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25) 0%, rgba(99, 102, 241, 0.25) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  flex-shrink: 0;
}

.feature-icon-wrap svg {
  width: 16px;
  height: 16px;
}

.feature-info h4 {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 1px 0;
}

.feature-info p {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.32;
}

.ziqro-hero-footer {
  font-size: 11.5px;
  color: #64748b;
  margin: 0;
  padding: 0;
}

/* 4. Right Form Pane & Login Card */
.ziqro-form-pane {
  flex: 0 0 50%;
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(28px, 4.5vh, 48px) clamp(24px, 3.5vw, 44px);
  background: radial-gradient(circle at 50% 50%, #0f172a 0%, #090d16 100%);
  position: relative;
  z-index: 10;
  box-sizing: border-box;
}

.ziqro-card-container {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

/* Mobile-Only Header */
.ziqro-mobile-header {
  display: none;
  text-align: center;
  margin-bottom: 20px;
}

.ziqro-mobile-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.mobile-brand-names {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.1;
}

.mobile-brand-names .m-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.mobile-brand-names .m-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #38bdf8;
}

.mobile-brand-tagline {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

/* Glassmorphic Login Card (Compact & Floating) */
.ziqro-login-card {
  background: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 22px 24px;
  box-shadow: 
    0 20px 40px -15px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.ziqro-card-top {
  margin-bottom: 14px;
}

.ziqro-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.3px;
}

.ziqro-card-subtitle {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
}

/* Base default: Hide all custom theme headers & heros by default */
.ziqro-centered-brand-badge,
.ziqro-hostinger-brand-top,
.ziqro-aurora-header,
.ziqro-midnight-brand-top,
.ziqro-ember-brand-top,
.ziqro-mobile-header,
.ziqro-hostinger-hero-content,
.ziqro-midnight-hero-content,
.ziqro-ember-hero-content {
  display: none !important;
}

/* 5. Alerts & Error Handling */
.ziqro-alert {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.35) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  margin-bottom: 18px !important;
  color: #fca5a5 !important;
  position: relative !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15) !important;
  text-shadow: none !important;
}

.ziqro-alert[hidden],
.ziqro-alert.is-hidden {
  display: none !important;
}

.ziqro-alert-body {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding-right: 20px;
}

.ziqro-alert-icon {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 1px;
}

.ziqro-alert-msg-wrap {
  flex: 1;
}

.ziqro-alert-main {
  font-size: 13px;
  font-weight: 600;
  color: #fee2e2;
  display: block;
  line-height: 1.4;
}

.ziqro-alert-server {
  font-size: 12px;
  color: #fca5a5;
  margin: 4px 0 0 0;
  font-family: ui-monospace, monospace;
}

.ziqro-alert-close {
  position: absolute !important;
  top: 10px !important;
  right: 12px !important;
  background: transparent !important;
  border: none !important;
  color: #fca5a5 !important;
  font-size: 18px !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0 !important;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.ziqro-alert-close:hover {
  opacity: 1;
}

/* 6. Form Fields & Controls */
.ziqro-form-group {
  margin-bottom: 18px;
}

.ziqro-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #cbd5e1;
  margin-bottom: 6px;
  letter-spacing: 0.2px;
}

.ziqro-input-wrap {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  background: rgba(30, 41, 59, 0.6) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  transition: all 0.2s ease !important;
  margin: 0 !important;
}

.ziqro-input-wrap:focus-within {
  border-color: #38bdf8 !important;
  background: rgba(30, 41, 59, 0.95) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

.ziqro-input-wrap.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
}

.ziqro-input-icon {
  position: absolute;
  left: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  pointer-events: none;
  transition: color 0.2s ease;
}

.ziqro-input-wrap:focus-within .ziqro-input-icon {
  color: #38bdf8;
}

.ziqro-input-wrap.error .ziqro-input-icon {
  color: #ef4444;
}

.ziqro-input {
  width: 100% !important;
  height: 44px !important;
  background: transparent !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0 42px 0 42px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}

.ziqro-input:focus,
.ziqro-input:hover,
.ziqro-input:active {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.ziqro-input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Password Eye Toggle & Input Polish */
.ziqro-input[type="password"],
.ziqro-input[name="Password"],
#ziqro-password-field {
  padding-right: 44px !important;
}

/* Hide native Edge / Chrome reveal buttons */
#ziqro-password-field::-ms-reveal,
#ziqro-password-field::-ms-clear,
.ziqro-input::-ms-reveal,
.ziqro-input::-ms-clear {
  display: none !important;
}

.ziqro-pwd-toggle {
  position: absolute !important;
  right: 10px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 15 !important;
  pointer-events: auto !important;
  background: transparent !important;
  border: none !important;
  color: #64748b !important;
  cursor: pointer !important;
  padding: 6px !important;
  border-radius: 6px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: color 0.2s ease, background-color 0.2s ease !important;
  outline: none !important;
  user-select: none !important;
  -webkit-user-select: none !important;
}

.ziqro-pwd-toggle svg,
.ziqro-pwd-toggle path,
.ziqro-pwd-toggle line,
.ziqro-pwd-toggle circle {
  pointer-events: none !important;
}

.ziqro-pwd-toggle:hover {
  color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.ziqro-pwd-toggle .eye-hide-svg {
  display: none !important;
}

.ziqro-pwd-toggle.showing .eye-show-svg {
  display: none !important;
}

.ziqro-pwd-toggle.showing .eye-hide-svg {
  display: block !important;
  color: #38bdf8 !important;
}

/* 7. 2FA / Verification Code Field & Plugin Hook */
.ziqro-plugin-hook {
  margin: 0 0 16px 0;
}

/* Style injected 2FA input cleanly & consistently */
.ziqro-plugin-hook .controls:has(input[name="totp_code"]),
.ziqro-plugin-hook .controls:has(input) {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  margin-bottom: 16px !important;
}

.ziqro-plugin-hook .controls > .fontastic {
  position: absolute !important;
  left: 14px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #64748b !important;
  font-size: 16px !important;
  pointer-events: none !important;
  z-index: 2 !important;
  transition: color 0.2s ease !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.ziqro-plugin-hook .controls:focus-within > .fontastic {
  color: #38bdf8 !important;
}

.ziqro-plugin-hook input[name="totp_code"],
.ziqro-plugin-hook .controls > input {
  width: 100% !important;
  height: 44px !important;
  background: rgba(30, 41, 59, 0.6) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 0 16px 0 42px !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-family: inherit !important;
  outline: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  margin-bottom: 0 !important;
}

.ziqro-plugin-hook input[name="totp_code"]:focus,
.ziqro-plugin-hook .controls > input:focus {
  border-color: #38bdf8 !important;
  background: rgba(30, 41, 59, 0.95) !important;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.2) !important;
}

.ziqro-plugin-hook input[name="totp_code"]::placeholder,
.ziqro-plugin-hook .controls > input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

/* Forgot Password & Registration Links */
.ziqro-plugin-hook .controls.clearfix {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin: 0 !important;
}

.ziqro-plugin-hook p {
  margin: 0 !important;
  font-size: 13px !important;
}

.ziqro-plugin-hook a.g-ui-link {
  color: #38bdf8 !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  padding: 4px 6px !important;
  border-radius: 6px !important;
  transition: color 0.2s ease, text-decoration 0.2s ease !important;
}

.ziqro-plugin-hook a.g-ui-link:hover {
  color: #7dd3fc !important;
  text-decoration: underline !important;
}

/* 8. Options Row (Remember Me & Language) */
.ziqro-form-options {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin: 0 0 16px 0 !important;
}

.ziqro-remember-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  margin: 0 !important;
  user-select: none !important;
  min-height: 36px !important;
}

.ziqro-custom-check {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 1.5px solid #475569;
  background: rgba(30, 41, 59, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.ziqro-custom-check .check-mark {
  display: none;
  color: #ffffff;
}

.ziqro-custom-check.is-checked {
  background: #0284c7;
  border-color: #38bdf8;
}

.ziqro-custom-check.is-checked .check-mark {
  display: block;
}

.ziqro-check-label {
  font-size: 13px;
  color: #94a3b8;
  font-weight: 500;
}

.ziqro-remember-wrap:hover .ziqro-check-label {
  color: #e2e8f0;
}

.ziqro-language-wrap {
  margin: 0 !important;
}

.ziqro-lang-trigger {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 13px !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  padding: 6px 10px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  min-height: 36px !important;
}

.ziqro-lang-trigger:hover {
  color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.05) !important;
}

/* 9. Action Button (Sign In CTA) */
.ziqro-action-row {
  margin-top: 4px;
}

.ziqro-primary-btn {
  width: 100% !important;
  height: 44px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  letter-spacing: 0.4px !important;
  text-transform: none !important;
  cursor: pointer !important;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.35) !important;
  text-shadow: none !important;
  transition: all 0.25s ease !important;
  position: relative !important;
  overflow: hidden !important;
}

.ziqro-primary-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1d4ed8 100%) !important;
  box-shadow: 0 6px 22px rgba(2, 132, 199, 0.5) !important;
  transform: translateY(-1px) !important;
}

.ziqro-primary-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
}

.ziqro-primary-btn .btn-arrow {
  transition: transform 0.2s ease;
}

.ziqro-primary-btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* Accessible Focus States */
a.g-ui-link:focus-visible,
button.ziqro-pwd-toggle:focus-visible,
button.ziqro-primary-btn:focus-visible,
.ziqro-remember-wrap:focus-visible,
.ziqro-lang-trigger:focus-visible,
.ziqro-alert-close:focus-visible {
  outline: 2px solid #38bdf8 !important;
  outline-offset: 2px !important;
}

/* Form Submitting Loading State */
#V-Login.LoginView form.submitting .ziqro-primary-btn {
  opacity: 0.7 !important;
  pointer-events: none !important;
}

#V-Login.LoginView form.submitting::after {
  content: '' !important;
  position: absolute !important;
  width: 32px !important;
  height: 32px !important;
  top: 50% !important;
  left: 50% !important;
  margin-top: -16px !important;
  margin-left: -16px !important;
  border: 3px solid rgba(255, 255, 255, 0.2) !important;
  border-top-color: #38bdf8 !important;
  animation: ziqroSpin 0.8s infinite linear !important;
  border-radius: 50% !important;
  z-index: 1052 !important;
}

@keyframes ziqroSpin {
  to { transform: rotate(360deg); }
}

/* 10. Card Footer & Security Badge */
.ziqro-card-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.ziqro-sec-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
}

.ziqro-sec-status svg {
  color: #10b981;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (DESKTOP, PRIORITY 1366x768 LAPTOP, TABLET, MOBILE)
   ========================================================================== */

/* Large Screens (1440px and above) */
@media screen and (min-width: 1440px) {
  .ziqro-hero-pane {
    flex: 0 0 50%;
    width: 50%;
    padding: 56px 72px;
  }
  .ziqro-hero-headline {
    font-size: 44px;
  }
  .ziqro-card-container {
    max-width: 460px;
  }
  .ziqro-login-card {
    padding: 40px 36px;
  }
}

/* Priority Height-Based Compact Scaling (Applies ONLY to Ember, Midnight, Aurora, Centered themes) */
@media screen and (max-height: 720px) {
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-pane,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-pane {
    padding: clamp(14px, 2.5vh, 28px) clamp(20px, 3vw, 36px) !important;
  }
  .ziqro-ember-brand-head,
  .ziqro-midnight-brand-head {
    margin-bottom: 10px !important;
  }
  .ziqro-ember-hero-copy {
    padding: 2px 0 !important;
    margin-bottom: 10px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-headline,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-headline,
  .ziqro-ember-headline,
  .ziqro-midnight-headline {
    font-size: clamp(22px, 2.6vw, 30px) !important;
    margin-bottom: 6px !important;
    line-height: 1.15 !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-subhead,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-subhead,
  .ziqro-ember-subtext,
  .ziqro-midnight-subhead {
    font-size: clamp(11.5px, 1.2vw, 13px) !important;
    line-height: 1.35 !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-features,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-features,
  .ziqro-ember-features,
  .ziqro-midnight-features {
    gap: 6px !important;
    margin: 8px 0 !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-feature-item,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-feature-item,
  .ziqro-ember-feat-card,
  .ziqro-midnight-feat-card {
    padding: 6px 12px !important;
    gap: 10px !important;
    border-radius: 10px !important;
  }
  .ember-feat-icon,
  .midnight-feat-icon {
    width: 28px !important;
    height: 28px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .feature-info h4,
  [data-ziqro-login-theme="midnight_glass"] .feature-info h4,
  .ember-feat-text h4,
  .midnight-feat-text h4 {
    font-size: 12px !important;
    margin: 0 0 2px 0 !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .feature-info p,
  [data-ziqro-login-theme="midnight_glass"] .feature-info p,
  .ember-feat-text p,
  .midnight-feat-text p {
    font-size: 11px !important;
    line-height: 1.3 !important;
  }
  .ziqro-ember-hero-footer,
  .ziqro-midnight-footer {
    margin-top: 6px !important;
    padding-top: 8px !important;
    font-size: 11px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-form-pane,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-form-pane,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-form-pane,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-form-pane {
    padding: clamp(12px, 2vh, 24px) clamp(16px, 2vw, 24px) !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-login-card,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-login-card,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-login-card,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-login-card {
    padding: clamp(18px, 2.5vh, 26px) clamp(18px, 2vw, 28px) !important;
    border-radius: 18px !important;
  }
  .ziqro-ember-brand-top,
  .ziqro-midnight-brand-top,
  .ziqro-aurora-header,
  .ziqro-centered-brand-badge {
    margin-bottom: 12px !important;
    gap: 8px !important;
  }
  .ziqro-aurora-icon,
  .ziqro-centered-icon-wrap {
    width: 44px !important;
    height: 44px !important;
    border-radius: 14px !important;
  }
  .ziqro-ember-card-head,
  .ziqro-midnight-card-head,
  .ziqro-aurora-title {
    font-size: 20px !important;
    margin-bottom: 2px !important;
  }
  .ziqro-ember-card-subhead,
  .ziqro-midnight-card-subhead,
  .ziqro-aurora-sub {
    font-size: 12px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-form-group,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-form-group,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-form-group,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-form-group {
    margin-bottom: 11px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-field-label,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-field-label,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-field-label,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-field-label {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-input,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-input,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-input,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-input {
    height: 42px !important;
    font-size: 13.5px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-input-wrap,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-input-wrap,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-input-wrap,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-input-wrap {
    height: 42px !important;
    border-radius: 10px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-form-options,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-form-options,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-form-options,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-form-options {
    margin-bottom: 12px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-primary-btn,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-primary-btn,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-primary-btn,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-primary-btn {
    height: 42px !important;
    font-size: 14px !important;
    border-radius: 10px !important;
  }
}

/* Extra Compact for Floating/Restored Windows & Short Viewports (<= 680px) */
@media screen and (max-height: 680px) {
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-pane,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-pane {
    padding: 10px 24px !important;
  }
  .ziqro-ember-brand-head,
  .ziqro-midnight-brand-head {
    margin-bottom: 6px !important;
  }
  .ziqro-ember-icon,
  .ziqro-midnight-icon {
    width: 34px !important;
    height: 34px !important;
  }
  .ziqro-ember-hero-copy {
    padding: 0 !important;
    margin-bottom: 6px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-headline,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-headline,
  .ziqro-ember-headline,
  .ziqro-midnight-headline {
    font-size: 20px !important;
    margin-bottom: 3px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-subhead,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-subhead,
  .ziqro-ember-subtext,
  .ziqro-midnight-subhead {
    font-size: 11px !important;
    line-height: 1.25 !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-features,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-features,
  .ziqro-ember-features,
  .ziqro-midnight-features {
    gap: 4px !important;
    margin: 4px 0 !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-feature-item,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-feature-item,
  .ziqro-ember-feat-card,
  .ziqro-midnight-feat-card {
    padding: 4px 10px !important;
    gap: 8px !important;
  }
  .ember-feat-icon,
  .midnight-feat-icon {
    width: 24px !important;
    height: 24px !important;
  }
  .ember-feat-text h4,
  .midnight-feat-text h4 {
    font-size: 11px !important;
    margin: 0 !important;
  }
  .ember-feat-text p,
  .midnight-feat-text p {
    display: none !important;
  }
  .ziqro-ember-hero-footer,
  .ziqro-midnight-footer {
    margin-top: 4px !important;
    padding-top: 4px !important;
    font-size: 10.5px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-form-pane,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-form-pane,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-form-pane,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-form-pane {
    padding: 8px 16px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-login-card,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-login-card,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-login-card,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-login-card {
    padding: 14px 20px !important;
    border-radius: 16px !important;
  }
  .ziqro-ember-brand-top,
  .ziqro-midnight-brand-top,
  .ziqro-aurora-header,
  .ziqro-centered-brand-badge {
    margin-bottom: 6px !important;
    gap: 6px !important;
  }
  .ziqro-aurora-icon,
  .ziqro-centered-icon-wrap {
    width: 36px !important;
    height: 36px !important;
    border-radius: 10px !important;
  }
  .ziqro-ember-card-head,
  .ziqro-midnight-card-head,
  .ziqro-aurora-title {
    font-size: 18px !important;
    margin-bottom: 1px !important;
  }
  .ziqro-ember-card-subhead,
  .ziqro-midnight-card-subhead,
  .ziqro-aurora-sub {
    font-size: 11px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-form-group,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-form-group,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-form-group,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-form-group {
    margin-bottom: 8px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-field-label,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-field-label,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-field-label,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-field-label {
    font-size: 11px !important;
    margin-bottom: 2px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-input,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-input,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-input,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-input {
    height: 38px !important;
    font-size: 13px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-input-wrap,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-input-wrap,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-input-wrap,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-input-wrap {
    height: 38px !important;
    border-radius: 8px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-form-options,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-form-options,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-form-options,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-form-options {
    margin-bottom: 8px !important;
  }
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-primary-btn,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-primary-btn,
  [data-ziqro-login-theme="linear_aurora"] .ziqro-primary-btn,
  [data-ziqro-login-theme="centered_obsidian"] .ziqro-primary-btn {
    height: 38px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
  }
}

/* Dedicated Mobile Layout (Under 768px) */
@media screen and (max-width: 767px) {
  #V-Login {
    overflow-y: auto !important;
    position: relative !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior-y: contain !important;
  }
  
  .ziqro-login-container {
    flex-direction: column !important;
    min-height: 100vh !important;
    min-height: 100dvh !important;
    height: auto !important;
    background: 
      radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.18) 0%, transparent 45%),
      radial-gradient(circle at 85% 85%, rgba(99, 102, 241, 0.16) 0%, transparent 50%),
      radial-gradient(circle at 50% 12%, #0f172a 0%, #090d16 60%, #030712 100%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 24px 16px !important;
    box-sizing: border-box !important;
  }
  
  /* Hide desktop hero banner on mobile to prioritize instant login form */
  .ziqro-hero-pane {
    display: none !important;
  }
  
  .ziqro-form-pane {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 440px !important;
    min-width: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: auto 0 !important;
    border-right: none !important;
  }
  
  .ziqro-card-container {
    width: 100% !important;
    max-width: 440px !important;
    margin: 0 auto !important;
  }
  
  /* Show Mobile Header with True Centering */
  .ziqro-mobile-header {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 18px !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .ziqro-mobile-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin: 0 auto 6px auto !important;
  }
  
  .mobile-brand-names {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
  }
  
  .ziqro-login-card {
    width: 100% !important;
    padding: 28px 24px !important;
    border-radius: 22px !important;
    background: rgba(15, 23, 42, 0.88) !important;
    border: 1px solid rgba(56, 189, 248, 0.18) !important;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(2, 132, 199, 0.12) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    box-sizing: border-box !important;
  }
  
  .ziqro-card-top {
    margin-bottom: 18px !important;
    text-align: center !important;
  }
  
  .ziqro-card-title {
    font-size: 22px !important;
  }
  
  .ziqro-card-subtitle {
    font-size: 13px !important;
  }
  
  /* 16px font to prevent iOS Safari auto-zoom on input focus */
  .ziqro-input {
    height: 48px !important;
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
  }
  
  .ziqro-input-wrap {
    height: 48px !important;
    border-radius: 12px !important;
  }
  
  /* 44px WCAG touch targets */
  .ziqro-pwd-toggle {
    width: 44px !important;
    height: 44px !important;
    right: 2px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  
  .ziqro-remember-wrap {
    min-height: 40px !important;
    padding: 4px 0 !important;
  }
  
  .ziqro-lang-trigger {
    min-height: 40px !important;
    padding: 6px 12px !important;
  }
  
  .ziqro-primary-btn {
    height: 48px !important;
    font-size: 16px !important;
  }
}

/* Small Mobile Devices (375px and under: e.g. iPhone SE, 320px) */
@media screen and (max-width: 375px) {
  .ziqro-login-container {
    padding: 16px 12px !important;
  }
  
  .ziqro-form-pane {
    padding: 0 !important;
  }
  
  .ziqro-login-card {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }
  
  .ziqro-card-title {
    font-size: 20px !important;
  }
  
  .ziqro-card-subtitle {
    font-size: 12px !important;
  }
  
  .ziqro-form-options {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 4px !important;
  }
  
  .ziqro-check-label {
    font-size: 12px !important;
  }
  
  .ziqro-lang-trigger {
    font-size: 12px !important;
    padding: 4px 8px !important;
  }
}

/* Short height screens (e.g. mobile landscape) */
@media screen and (max-height: 500px) and (orientation: landscape) {
  .ziqro-hero-pane {
    display: none !important;
  }
  .ziqro-form-pane {
    padding: 15px !important;
  }
  .ziqro-login-card {
    padding: 18px 22px !important;
  }
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .ziqro-glow-1,
  .ziqro-glow-2,
  .status-indicator,
  .ziqro-spin-reverse,
  .ziqro-pulse-node circle:first-child {
    animation: none !important;
  }
}

/* ==========================================================================
   ZIQRO LOGIN THEMES — DYNAMIC STYLES & DESIGN 2 (CENTERED OBSIDIAN)
   ========================================================================== */

/* Centered Brand Badge */
.ziqro-centered-brand-badge {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: clamp(8px, 1.5vh, 12px);
  margin-bottom: clamp(14px, 2vh, 22px);
}

.ziqro-centered-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(46px, 5.2vh, 58px);
  height: clamp(46px, 5.2vh, 58px);
  border-radius: clamp(14px, 1.8vh, 18px);
  background: rgba(15, 23, 42, 0.8);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.25), inset 0 0 15px rgba(56, 189, 248, 0.1);
  position: relative;
  animation: ziqroGlowPulse 4s ease-in-out infinite alternate;
}

@keyframes ziqroGlowPulse {
  0% { box-shadow: 0 0 20px rgba(56, 189, 248, 0.2), inset 0 0 10px rgba(56, 189, 248, 0.08); }
  100% { box-shadow: 0 0 35px rgba(56, 189, 248, 0.4), inset 0 0 20px rgba(56, 189, 248, 0.2); }
}

.ziqro-centered-brand-title {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}

.ziqro-centered-brand-title .c-brand {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
}

.ziqro-centered-brand-title .c-sub {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: #38bdf8;
  padding: 2px 6px;
  background: rgba(56, 189, 248, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* DESIGN 2: CENTERED OBSIDIAN ENTERPRISE CARD RULES */
[data-ziqro-login-theme="centered_obsidian"] .ziqro-login-container,
.ziqro-theme-centered-obsidian .ziqro-login-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  width: 100% !important;
  background: radial-gradient(circle at 50% 12%, #1e293b 0%, #0f172a 45%, #020617 100%) !important;
  position: relative !important;
  overflow-y: auto !important;
  padding: clamp(16px, 3vh, 36px) 16px !important;
  box-sizing: border-box !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-login-container::before,
.ziqro-theme-centered-obsidian .ziqro-login-container::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 750px;
  height: 550px;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.16) 0%, rgba(99, 102, 241, 0.08) 45%, transparent 70%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 1;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-login-container::after,
.ziqro-theme-centered-obsidian .ziqro-login-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 1;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-hero-pane,
.ziqro-theme-centered-obsidian .ziqro-hero-pane {
  display: none !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-mobile-brand,
.ziqro-theme-centered-obsidian .ziqro-mobile-brand {
  display: none !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-centered-brand-badge,
.ziqro-theme-centered-obsidian .ziqro-centered-brand-badge {
  display: flex !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-form-pane,
.ziqro-theme-centered-obsidian .ziqro-form-pane {
  flex: 0 1 480px !important;
  width: 100% !important;
  max-width: 480px !important;
  padding: 0 !important;
  background: transparent !important;
  position: relative !important;
  z-index: 5 !important;
  align-items: center !important;
  justify-content: center !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-login-card-wrap,
.ziqro-theme-centered-obsidian .ziqro-login-card-wrap {
  width: 100% !important;
  max-width: 480px !important;
  padding: 0 !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-login-card,
.ziqro-theme-centered-obsidian .ziqro-login-card {
  background: rgba(15, 23, 42, 0.84) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: clamp(20px, 3vh, 26px) !important;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 45px rgba(56, 189, 248, 0.08) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  padding: clamp(22px, 3.2vh, 38px) clamp(20px, 2.5vw, 34px) !important;
  box-sizing: border-box !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-card-top,
.ziqro-theme-centered-obsidian .ziqro-card-top {
  text-align: center !important;
  margin-bottom: clamp(14px, 2vh, 22px) !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-card-title,
.ziqro-theme-centered-obsidian .ziqro-card-title {
  font-size: clamp(20px, 2.2vw, 24px) !important;
  color: #f8fafc !important;
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-card-subtitle,
.ziqro-theme-centered-obsidian .ziqro-card-subtitle {
  font-size: clamp(11.5px, 1.2vw, 13px) !important;
  color: #94a3b8 !important;
}

/* ==========================================================================
   DESIGN 3: ZIQRO SAAS CLEAN LIGHT THEME
   Activated when [data-ziqro-login-theme="hostinger_saas"]
   ========================================================================== */

/* Global Variable & Text Overrides for Light Theme */
[data-ziqro-login-theme="hostinger_saas"],
[data-ziqro-login-theme="hostinger_saas"] #V-Login,
[data-ziqro-login-theme="hostinger_saas"] .LoginView,
[data-ziqro-theme="hostinger_saas"],
[data-ziqro-theme="hostinger_saas"] #V-Login,
[data-ziqro-theme="hostinger_saas"] .LoginView,
.ziqro-theme-hostinger_saas,
.ziqro-theme-hostinger_saas #V-Login,
.ziqro-theme-hostinger_saas .LoginView,
.ziqro-theme-hostinger-saas,
.ziqro-theme-hostinger-saas #V-Login,
.ziqro-theme-hostinger-saas .LoginView {
  --login-color: #18181b !important;
  --loading-color: #18181b !important;
  --login-bg-color: #ffffff !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #18181b !important;
}

[data-ziqro-login-theme="hostinger_saas"] .LoginView form,
[data-ziqro-login-theme="hostinger_saas"] .LoginView form *,
[data-ziqro-theme="hostinger_saas"] .LoginView form,
[data-ziqro-theme="hostinger_saas"] .LoginView form *,
.ziqro-theme-hostinger_saas .LoginView form,
.ziqro-theme-hostinger_saas .LoginView form *,
.ziqro-theme-hostinger-saas .LoginView form,
.ziqro-theme-hostinger-saas .LoginView form * {
  color: #18181b;
}

/* Show Hostinger Elements, Hide Dark Hero Elements */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-hostinger-hero-content {
  display: flex !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-hostinger-brand-top {
  display: block !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-hero-content,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-hero-art-wrap,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-hero-glow,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-hero-grid-pattern,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-mobile-header,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-mobile-brand,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-centered-brand-badge,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-card-title,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-card-subtitle {
  display: none !important;
}

/* Container */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-login-container {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: #ffffff !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Left / Form Column (Desktop default >= 768px) */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-form-pane {
  flex: 0 0 45% !important;
  width: 45% !important;
  min-width: 380px !important;
  max-width: 560px !important;
  min-height: 100vh !important;
  background: #ffffff !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 48px 40px !important;
  box-sizing: border-box !important;
  border-right: 1px solid #f1f1f4 !important;
  border-left: none !important;
  order: 1 !important;
  z-index: 5 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-card-container,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-login-card-wrap {
  width: 100% !important;
  max-width: 400px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-login-card {
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 0 !important;
}

/* Brand Top Lockup */
.ziqro-hostinger-brand-top {
  display: none;
  margin-bottom: 28px;
}

.ziqro-hostinger-logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.ziqro-hostinger-logo-text {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #18181b !important;
}

.ziqro-hostinger-card-title {
  font-size: 24px;
  font-weight: 700;
  color: #18181b !important;
  margin: 0;
  letter-spacing: -0.02em;
}

/* Form Labels - Bold & Dark */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-field-label,
[data-ziqro-theme="hostinger_saas"] .ziqro-field-label,
.ziqro-theme-hostinger_saas .ziqro-field-label,
.ziqro-theme-hostinger-saas .ziqro-field-label,
.ziqro-theme-hostinger .ziqro-field-label {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #18181b !important;
  margin-bottom: 6px !important;
  display: block !important;
}

/* Input Fields - Crisp Light Background, Dark Text */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap,
[data-ziqro-theme="hostinger_saas"] .ziqro-input-wrap,
.ziqro-theme-hostinger_saas .ziqro-input-wrap,
.ziqro-theme-hostinger-saas .ziqro-input-wrap,
.ziqro-theme-hostinger .ziqro-input-wrap,
#V-Login[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap,
.LoginView[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap,
.ziqro-login-container[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap,
html[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap,
body[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap,
[data-ziqro-login-theme="hostinger_saas"] .controls.ziqro-input-wrap,
.ziqro-theme-hostinger_saas .controls.ziqro-input-wrap {
  background: #f4f5f7 !important;
  background-color: #f4f5f7 !important;
  border: 1.5px solid #d4d4d8 !important;
  border-radius: 10px !important;
  height: 48px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap:focus-within,
[data-ziqro-theme="hostinger_saas"] .ziqro-input-wrap:focus-within,
.ziqro-theme-hostinger_saas .ziqro-input-wrap:focus-within,
.ziqro-theme-hostinger-saas .ziqro-input-wrap:focus-within,
.ziqro-theme-hostinger .ziqro-input-wrap:focus-within,
#V-Login[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap:focus-within,
.LoginView[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap:focus-within,
.ziqro-login-container[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap:focus-within,
html[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap:focus-within,
body[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap:focus-within,
[data-ziqro-login-theme="hostinger_saas"] .controls.ziqro-input-wrap:focus-within,
.ziqro-theme-hostinger_saas .controls.ziqro-input-wrap:focus-within {
  border-color: #673de6 !important;
  box-shadow: 0 0 0 3.5px rgba(103, 61, 230, 0.15) !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap.error,
[data-ziqro-theme="hostinger_saas"] .ziqro-input-wrap.error,
.ziqro-theme-hostinger_saas .ziqro-input-wrap.error,
.ziqro-theme-hostinger-saas .ziqro-input-wrap.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.12) !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-icon,
[data-ziqro-theme="hostinger_saas"] .ziqro-input-icon,
.ziqro-theme-hostinger_saas .ziqro-input-icon,
.ziqro-theme-hostinger-saas .ziqro-input-icon {
  color: #71717a !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-input-wrap:focus-within .ziqro-input-icon,
[data-ziqro-theme="hostinger_saas"] .ziqro-input-wrap:focus-within .ziqro-input-icon,
.ziqro-theme-hostinger_saas .ziqro-input-wrap:focus-within .ziqro-input-icon,
.ziqro-theme-hostinger-saas .ziqro-input-wrap:focus-within .ziqro-input-icon {
  color: #673de6 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-input,
[data-ziqro-login-theme="hostinger_saas"] input.ziqro-input,
[data-ziqro-login-theme="hostinger_saas"] .LoginView input,
[data-ziqro-theme="hostinger_saas"] .ziqro-input,
[data-ziqro-theme="hostinger_saas"] input.ziqro-input,
.ziqro-theme-hostinger_saas .ziqro-input,
.ziqro-theme-hostinger_saas input.ziqro-input,
.ziqro-theme-hostinger-saas .ziqro-input,
.ziqro-theme-hostinger-saas input.ziqro-input,
.ziqro-theme-hostinger .ziqro-input,
html[data-ziqro-login-theme="hostinger_saas"] input,
body[data-ziqro-login-theme="hostinger_saas"] input,
#V-Login[data-ziqro-login-theme="hostinger_saas"] input,
.ziqro-login-container[data-ziqro-login-theme="hostinger_saas"] input {
  color: #09090b !important;
  font-size: 14.5px !important;
  font-weight: 500 !important;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

[data-ziqro-login-theme="hostinger_saas"] input:-webkit-autofill,
[data-ziqro-login-theme="hostinger_saas"] input:-webkit-autofill:hover, 
[data-ziqro-login-theme="hostinger_saas"] input:-webkit-autofill:focus {
  -webkit-text-fill-color: #09090b !important;
  -webkit-box-shadow: 0 0 0px 1000px #f4f5f7 inset !important;
  transition: background-color 5000s ease-in-out 0s !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-input::placeholder,
[data-ziqro-login-theme="hostinger_saas"] input::placeholder,
[data-ziqro-login-theme="hostinger_saas"] .LoginView input::placeholder,
[data-ziqro-theme="hostinger_saas"] .ziqro-input::placeholder,
.ziqro-theme-hostinger_saas .ziqro-input::placeholder,
.ziqro-theme-hostinger-saas .ziqro-input::placeholder {
  color: #71717a !important;
  opacity: 1 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-pwd-toggle,
[data-ziqro-theme="hostinger_saas"] .ziqro-pwd-toggle,
.ziqro-theme-hostinger_saas .ziqro-pwd-toggle,
.ziqro-theme-hostinger-saas .ziqro-pwd-toggle {
  color: #71717a !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-pwd-toggle:hover,
[data-ziqro-theme="hostinger_saas"] .ziqro-pwd-toggle:hover,
.ziqro-theme-hostinger_saas .ziqro-pwd-toggle:hover,
.ziqro-theme-hostinger-saas .ziqro-pwd-toggle:hover {
  color: #673de6 !important;
  background: rgba(103, 61, 230, 0.08) !important;
}

/* 2FA Input Override in Design 3 */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-group,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-group .ziqro-input-wrap,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-group input,
[data-ziqro-theme="hostinger_saas"] .ziqro-2fa-group,
[data-ziqro-theme="hostinger_saas"] .ziqro-2fa-group .ziqro-input-wrap,
.ziqro-theme-hostinger_saas .ziqro-2fa-group .ziqro-input-wrap,
.ziqro-theme-hostinger-saas .ziqro-2fa-group .ziqro-input-wrap {
  background-color: #f4f5f7 !important;
  color: #09090b !important;
  border-color: #d4d4d8 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-group .ziqro-field-label,
[data-ziqro-theme="hostinger_saas"] .ziqro-2fa-group .ziqro-field-label,
.ziqro-theme-hostinger_saas .ziqro-2fa-group .ziqro-field-label,
.ziqro-theme-hostinger-saas .ziqro-2fa-group .ziqro-field-label {
  color: #18181b !important;
}

/* Checkbox & Options */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-custom-check {
  border-color: #a1a1aa !important;
  background: #ffffff !important;
  border-radius: 4px !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-custom-check.is-checked {
  background: #673de6 !important;
  border-color: #673de6 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-custom-check.is-checked .check-mark {
  color: #ffffff !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-check-label {
  color: #27272a !important;
  font-weight: 500 !important;
  font-size: 13px !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-lang-trigger {
  color: #3f3f46 !important;
  border-color: #e4e4e7 !important;
  background: #f4f4f5 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-lang-trigger * {
  color: #3f3f46 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-lang-trigger:hover {
  color: #673de6 !important;
  border-color: #673de6 !important;
}

/* Primary Button */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-primary-btn {
  background: #673de6 !important;
  border-radius: 10px !important;
  height: 48px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(103, 61, 230, 0.28) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-primary-btn * {
  color: #ffffff !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-primary-btn:hover {
  background: #5825df !important;
  box-shadow: 0 6px 20px rgba(103, 61, 230, 0.4) !important;
  transform: translateY(-1px) !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-primary-btn .btn-text::before {
  content: 'Login';
  color: #ffffff !important;
  font-size: 15px !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-primary-btn .btn-text {
  font-size: 0;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-primary-btn .btn-arrow {
  display: none !important;
}

/* Security Footer */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-sec-status,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-sec-status * {
  color: #71717a !important;
  font-size: 12px !important;
}

/* Alert Box */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-alert {
  background: #fef2f2 !important;
  border: 1px solid #fecaca !important;
  color: #991b1b !important;
  border-radius: 10px !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-alert-main {
  color: #991b1b !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-alert-server {
  color: #b91c1c !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-alert-icon {
  color: #ef4444 !important;
}

/* Plugin Links (Forgot password, Register) */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-plugin-hook a,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-plugin-hook a *,
[data-ziqro-login-theme="hostinger_saas"] #plugin-Login-BottomControlGroup a,
[data-ziqro-login-theme="hostinger_saas"] #plugin-Login-BottomControlGroup a * {
  color: #673de6 !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  font-size: 13px !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-plugin-hook a:hover,
[data-ziqro-login-theme="hostinger_saas"] #plugin-Login-BottomControlGroup a:hover {
  text-decoration: underline !important;
  color: #5825df !important;
}

/* ==========================================================================
   RIGHT HERO MARKETING PANE (Desktop >= 768px)
   ========================================================================== */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-hero-pane {
  display: flex !important;
  flex: 1 1 auto !important;
  width: auto !important;
  min-width: 360px !important;
  min-height: 100vh !important;
  background: radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.08) 0%, transparent 45%),
              radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
              #fafafa !important;
  border-right: none !important;
  border-left: 1px solid #f1f1f4 !important;
  border-bottom: none !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 48px 48px !important;
  box-sizing: border-box !important;
  order: 2 !important;
  color: #18181b !important;
}

.ziqro-hostinger-hero-content {
  display: none;
  width: 100%;
  max-width: 520px;
}

.ziqro-hostinger-hero-main {
  display: flex;
  flex-direction: column;
}

.ziqro-hostinger-hero-title {
  font-size: 38px;
  font-weight: 800;
  color: #18181b !important;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 16px 0;
}

.ziqro-hostinger-gradient-ai {
  background: linear-gradient(90deg, #ec4899 0%, #a855f7 50%, #6366f1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.ziqro-hostinger-hero-subtitle {
  font-size: 15.5px;
  color: #52525b !important;
  line-height: 1.55;
  margin: 0 0 32px 0;
}

.ziqro-hostinger-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ziqro-hostinger-feature-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14.5px;
  font-weight: 500;
  color: #27272a !important;
}

.ziqro-hostinger-feature-row span {
  color: #27272a !important;
}

.ziqro-hostinger-check {
  flex-shrink: 0;
  color: #10b981;
}

/* Copyright Footer (Ziqro SaaS Clean Light) */
.ziqro-hostinger-footer {
  display: flex;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid #e4e4e7;
  font-size: 13px;
  color: #71717a !important;
  font-weight: 500;
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVE BEHAVIOR (< 768px)
   ========================================================================== */
@media screen and (max-width: 767px) {
  [data-ziqro-login-theme="hostinger_saas"] .ziqro-login-container {
    flex-direction: column !important;
    background: #ffffff !important;
    overflow-y: auto !important;
  }

  [data-ziqro-login-theme="hostinger_saas"] .ziqro-hero-pane {
    display: none !important;
  }

  [data-ziqro-login-theme="hostinger_saas"] .ziqro-form-pane {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 36px 20px !important;
    border-right: none !important;
  }

  [data-ziqro-login-theme="hostinger_saas"] .ziqro-card-container,
  [data-ziqro-login-theme="hostinger_saas"] .ziqro-login-card-wrap {
    max-width: 420px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   DESIGN 4: LINEAR AURORA & CHROMATIC MESH THEME
   Activated when [data-ziqro-login-theme="linear_aurora"]
   ========================================================================== */

/* Show Linear Aurora Header, Hide Other Theme Specific Headers */
[data-ziqro-login-theme="linear_aurora"] .ziqro-aurora-header {
  display: flex !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-hero-pane,
[data-ziqro-login-theme="linear_aurora"] .ziqro-mobile-header,
[data-ziqro-login-theme="linear_aurora"] .ziqro-mobile-brand,
[data-ziqro-login-theme="linear_aurora"] .ziqro-centered-brand-badge,
[data-ziqro-login-theme="linear_aurora"] .ziqro-hostinger-brand-top,
[data-ziqro-login-theme="linear_aurora"] .ziqro-card-title,
[data-ziqro-login-theme="linear_aurora"] .ziqro-card-subtitle {
  display: none !important;
}

/* Aurora Midnight Container */
[data-ziqro-login-theme="linear_aurora"] .ziqro-login-container,
.ziqro-theme-linear-aurora .ziqro-login-container {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  width: 100% !important;
  background: radial-gradient(circle at 50% 0%, #0c1222 0%, #030712 60%, #02040a 100%) !important;
  position: relative !important;
  overflow-y: auto !important;
  padding: clamp(16px, 3vh, 36px) 16px !important;
  box-sizing: border-box !important;
}

/* Multi-Orb Chromatic Mesh Animations */
[data-ziqro-login-theme="linear_aurora"] .ziqro-login-container::before,
.ziqro-theme-linear-aurora .ziqro-login-container::before {
  content: '';
  position: absolute;
  top: -120px;
  left: 20%;
  width: 720px;
  height: 560px;
  background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.25) 0%, rgba(139, 92, 246, 0.16) 35%, rgba(236, 72, 153, 0.08) 60%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  animation: ziqroAuroraFloat1 12s ease-in-out infinite alternate;
  z-index: 1;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-login-container::after,
.ziqro-theme-linear-aurora .ziqro-login-container::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: 20%;
  width: 680px;
  height: 520px;
  background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.2) 0%, rgba(16, 185, 129, 0.12) 35%, rgba(99, 102, 241, 0.08) 65%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  animation: ziqroAuroraFloat2 15s ease-in-out infinite alternate;
  z-index: 1;
}

@keyframes ziqroAuroraFloat1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(50px, 35px) scale(1.08); }
  100% { transform: translate(-35px, 50px) scale(0.94); }
}

@keyframes ziqroAuroraFloat2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-45px, -30px) scale(1.06); }
  100% { transform: translate(30px, -45px) scale(0.92); }
}

/* Centered Form Pane */
[data-ziqro-login-theme="linear_aurora"] .ziqro-form-pane,
.ziqro-theme-linear-aurora .ziqro-form-pane {
  flex: 0 1 480px !important;
  width: 100% !important;
  max-width: 480px !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
  position: relative !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-card-container,
[data-ziqro-login-theme="linear_aurora"] .ziqro-login-card-wrap {
  width: 100% !important;
  max-width: 480px !important;
  padding: 0 !important;
}

/* Frosted Prism Acrylic Card */
[data-ziqro-login-theme="linear_aurora"] .ziqro-login-card,
.ziqro-theme-linear-aurora .ziqro-login-card {
  background: rgba(10, 15, 30, 0.8) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: clamp(20px, 3vh, 26px) !important;
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 50px rgba(99, 102, 241, 0.16) !important;
  backdrop-filter: blur(36px) !important;
  -webkit-backdrop-filter: blur(36px) !important;
  padding: clamp(22px, 3.2vh, 38px) clamp(20px, 2.5vw, 34px) !important;
  position: relative !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

/* Shimmering Top Rainbow Accent Line */
[data-ziqro-login-theme="linear_aurora"] .ziqro-login-card::before,
.ziqro-theme-linear-aurora .ziqro-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.8), rgba(236, 72, 153, 0.8), rgba(6, 182, 212, 0.8), transparent);
  pointer-events: none;
}

/* Linear Aurora Header Layout */
.ziqro-aurora-header {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(8px, 1.5vh, 14px);
  margin-bottom: clamp(12px, 2vh, 24px);
}

.ziqro-aurora-sec-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 12px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: #c7d2fe;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.aurora-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: auroraPulse 2s infinite;
}

@keyframes auroraPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.ziqro-aurora-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.ziqro-aurora-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 5vh, 56px);
  height: clamp(44px, 5vh, 56px);
  border-radius: clamp(12px, 1.8vh, 18px);
  background: rgba(15, 23, 42, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 35px rgba(99, 102, 241, 0.35);
}

.ziqro-aurora-title {
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  margin: 0;
}

.ziqro-aurora-sub {
  font-size: clamp(11.5px, 1.2vw, 13px);
  color: #94a3b8;
  margin: 0;
}

/* Form Fields in Design 4 */
[data-ziqro-login-theme="linear_aurora"] .ziqro-field-label {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin-bottom: 6px !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-input-wrap {
  background: rgba(15, 23, 42, 0.7) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  height: 48px !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-input-wrap:focus-within {
  border-color: #818cf8 !important;
  box-shadow: 0 0 0 3.5px rgba(99, 102, 241, 0.25), 0 0 24px rgba(99, 102, 241, 0.22) !important;
  background: rgba(15, 23, 42, 0.9) !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-input-wrap.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.2) !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-input-icon {
  color: #818cf8 !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-input {
  color: #ffffff !important;
  font-size: 14.5px !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-input::placeholder {
  color: #64748b !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-pwd-toggle {
  color: #94a3b8 !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-pwd-toggle:hover {
  color: #a5b4fc !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* Linear Aurora Primary Button */
[data-ziqro-login-theme="linear_aurora"] .ziqro-primary-btn {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px !important;
  height: 48px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px -4px rgba(139, 92, 246, 0.45), 0 0 30px rgba(99, 102, 241, 0.25) !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-primary-btn:hover {
  box-shadow: 0 12px 32px -4px rgba(139, 92, 246, 0.65), 0 0 45px rgba(217, 70, 239, 0.4) !important;
  transform: translateY(-1.5px) !important;
  filter: brightness(1.08) !important;
}

/* Checkbox & Language in Design 4 */
[data-ziqro-login-theme="linear_aurora"] .ziqro-custom-check {
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border-radius: 4px !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-custom-check.is-checked {
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  border-color: #818cf8 !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-check-label {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-remember-wrap:hover .ziqro-check-label {
  color: #e2e8f0 !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-lang-trigger {
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-lang-trigger:hover {
  color: #a5b4fc !important;
  border-color: #818cf8 !important;
}

/* Links & Security */
[data-ziqro-login-theme="linear_aurora"] .ziqro-plugin-hook a,
[data-ziqro-login-theme="linear_aurora"] #plugin-Login-BottomControlGroup a {
  color: #a5b4fc !important;
  font-weight: 600 !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-plugin-hook a:hover,
[data-ziqro-login-theme="linear_aurora"] #plugin-Login-BottomControlGroup a:hover {
  color: #c7d2fe !important;
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-sec-status {
  color: #94a3b8 !important;
  font-size: 12px !important;
}

/* ==========================================================================
   DESIGN 5: MIDNIGHT GLASS LOGIN THEME
   Activated when [data-ziqro-login-theme="midnight_glass"]
   ========================================================================== */

/* Visibility controls */
[data-ziqro-login-theme="midnight_glass"] .ziqro-midnight-hero-content,
.ziqro-theme-midnight_glass .ziqro-midnight-hero-content,
.ziqro-theme-midnight-glass .ziqro-midnight-hero-content {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-midnight-brand-top,
.ziqro-theme-midnight_glass .ziqro-midnight-brand-top,
.ziqro-theme-midnight-glass .ziqro-midnight-brand-top {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hide other themes' elements */
[data-ziqro-login-theme="midnight_glass"] .ziqro-hero-content,
[data-ziqro-login-theme="midnight_glass"] .ziqro-hero-art-wrap,
[data-ziqro-login-theme="midnight_glass"] .ziqro-hero-glow,
[data-ziqro-login-theme="midnight_glass"] .ziqro-hero-grid-pattern,
[data-ziqro-login-theme="midnight_glass"] .ziqro-hostinger-hero-content,
[data-ziqro-login-theme="midnight_glass"] .ziqro-aurora-header,
[data-ziqro-login-theme="midnight_glass"] .ziqro-mobile-header,
[data-ziqro-login-theme="midnight_glass"] .ziqro-mobile-brand,
[data-ziqro-login-theme="midnight_glass"] .ziqro-centered-brand-badge,
[data-ziqro-login-theme="midnight_glass"] .ziqro-hostinger-brand-top,
[data-ziqro-login-theme="midnight_glass"] .ziqro-card-title,
[data-ziqro-login-theme="midnight_glass"] .ziqro-card-subtitle {
  display: none !important;
}

/* Hide Midnight Glass elements in other themes */
[data-ziqro-login-theme="split_glass"] .ziqro-midnight-hero-content,
[data-ziqro-login-theme="split_glass"] .ziqro-midnight-brand-top,
[data-ziqro-login-theme="centered_obsidian"] .ziqro-midnight-hero-content,
[data-ziqro-login-theme="centered_obsidian"] .ziqro-midnight-brand-top,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-midnight-hero-content,
[data-ziqro-login-theme="hostinger_saas"] .ziqro-midnight-brand-top,
[data-ziqro-login-theme="linear_aurora"] .ziqro-midnight-hero-content,
[data-ziqro-login-theme="linear_aurora"] .ziqro-midnight-brand-top {
  display: none !important;
}

/* Main Container (Desktop & Tablet >= 768px) */
[data-ziqro-login-theme="midnight_glass"] .ziqro-login-container,
.ziqro-theme-midnight_glass .ziqro-login-container,
.ziqro-theme-midnight-glass .ziqro-login-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: radial-gradient(circle at 15% 25%, #08111f 0%, #050b18 50%, #020617 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Subtle Midnight Glow & Grid Overlays */
[data-ziqro-login-theme="midnight_glass"] .ziqro-login-container::before,
.ziqro-theme-midnight_glass .ziqro-login-container::before,
.ziqro-theme-midnight-glass .ziqro-login-container::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -100px;
  width: 800px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.15) 0%, rgba(37, 99, 235, 0.09) 45%, transparent 75%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 1;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-login-container::after,
.ziqro-theme-midnight_glass .ziqro-login-container::after,
.ziqro-theme-midnight-glass .ziqro-login-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(56, 189, 248, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}

/* Left Brand Marketing Pane (Desktop & Laptop >= 768px) */
[data-ziqro-login-theme="midnight_glass"] .ziqro-hero-pane,
.ziqro-theme-midnight_glass .ziqro-hero-pane,
.ziqro-theme-midnight-glass .ziqro-hero-pane {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex: 1 1 54% !important;
  width: 54% !important;
  max-width: 660px !important;
  min-width: 320px !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: transparent !important;
  border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
  border-bottom: none !important;
  border-left: none !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: clamp(20px, 3.5vh, 48px) clamp(24px, 3.5vw, 48px) !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  order: 1 !important;
}

.ziqro-midnight-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 520px;
  gap: clamp(10px, 2vh, 22px);
  box-sizing: border-box;
}

.ziqro-midnight-brand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: clamp(6px, 1.5vh, 16px);
}

.ziqro-midnight-logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ziqro-midnight-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 20px rgba(14, 165, 233, 0.25);
}

.ziqro-midnight-brand-text {
  display: flex;
  flex-direction: column;
}

.m-brand-name {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff !important;
  line-height: 1.1;
}

.m-brand-sub {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #38bdf8 !important;
}

.ziqro-midnight-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8 !important;
}

.midnight-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0ea5e9;
  box-shadow: 0 0 8px #0ea5e9;
}

.ziqro-midnight-headline {
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  color: #f8fafc !important;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 0 0 6px 0;
}

.ziqro-midnight-grad-text {
  background: linear-gradient(90deg, #38bdf8 0%, #0ea5e9 50%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ziqro-midnight-subhead {
  font-size: clamp(12px, 1.2vw, 14px);
  color: #94a3b8 !important;
  line-height: 1.45;
  margin: 0 0 clamp(8px, 1.5vh, 18px) 0;
}

.ziqro-midnight-features {
  display: flex;
  flex-direction: column;
  gap: clamp(6px, 1.2vh, 10px);
  margin-bottom: clamp(8px, 1.5vh, 18px);
}

.ziqro-midnight-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(8px, 1.2vh, 12px) clamp(12px, 1.4vw, 16px);
  border-radius: 12px;
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(56, 189, 248, 0.16) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.25s ease;
}

.ziqro-midnight-feat-card:hover {
  border-color: rgba(56, 189, 248, 0.4) !important;
  background: rgba(15, 23, 42, 0.82) !important;
  transform: translateY(-1.5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(14, 165, 233, 0.15);
}

.midnight-feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(14, 165, 233, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 0 15px rgba(14, 165, 233, 0.18);
  flex-shrink: 0;
  margin-top: 1px;
}

.midnight-feat-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9 !important;
  margin: 0 0 2px 0;
}

.midnight-feat-text p {
  font-size: 11.5px;
  color: #94a3b8 !important;
  margin: 0;
  line-height: 1.35;
}

.ziqro-midnight-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #64748b !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: clamp(6px, 1.2vh, 12px);
}

.midnight-footer-sec {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #94a3b8 !important;
  font-size: 11.5px;
}

/* Right / Midnight Glass Login Card Pane */
[data-ziqro-login-theme="midnight_glass"] .ziqro-form-pane,
.ziqro-theme-midnight_glass .ziqro-form-pane,
.ziqro-theme-midnight-glass .ziqro-form-pane {
  flex: 1 1 46% !important;
  width: 46% !important;
  min-width: 320px !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: clamp(16px, 2.5vh, 32px) clamp(16px, 2vw, 28px) !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  order: 2 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-card-container,
[data-ziqro-login-theme="midnight_glass"] .ziqro-login-card-wrap,
.ziqro-theme-midnight_glass .ziqro-card-container,
.ziqro-theme-midnight_glass .ziqro-login-card-wrap,
.ziqro-theme-midnight-glass .ziqro-card-container,
.ziqro-theme-midnight-glass .ziqro-login-card-wrap {
  width: 100% !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-login-card,
.ziqro-theme-midnight_glass .ziqro-login-card,
.ziqro-theme-midnight-glass .ziqro-login-card {
  width: 100% !important;
  background: rgba(11, 18, 36, 0.72) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  border-radius: 24px !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 40px rgba(14, 165, 233, 0.12) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  padding: 36px 32px !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Top Subtle Card Highlight */
[data-ziqro-login-theme="midnight_glass"] .ziqro-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.7), transparent);
  pointer-events: none;
}

/* Midnight Card Brand Header */
.ziqro-midnight-brand-top {
  display: none;
  margin-bottom: 22px;
  text-align: left;
}

.ziqro-midnight-card-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ziqro-midnight-card-logotext {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.ziqro-midnight-card-head {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.ziqro-midnight-card-subhead {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
}

/* Form Inputs in Midnight Glass */
[data-ziqro-login-theme="midnight_glass"] .ziqro-field-label {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin-bottom: 6px !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-input-wrap {
  background: rgba(15, 23, 42, 0.65) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 12px !important;
  height: 48px !important;
  transition: all 0.2s ease !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-input-wrap:focus-within {
  border-color: #38bdf8 !important;
  box-shadow: 0 0 0 3.5px rgba(56, 189, 248, 0.2), 0 0 20px rgba(14, 165, 233, 0.15) !important;
  background: rgba(15, 23, 42, 0.85) !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-input-wrap.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.2) !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-input-icon {
  color: #38bdf8 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-input {
  color: #ffffff !important;
  font-size: 14.5px !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-input::placeholder {
  color: #64748b !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-pwd-toggle {
  color: #94a3b8 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-pwd-toggle:hover {
  color: #38bdf8 !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* 2FA Input in Midnight Glass */
[data-ziqro-login-theme="midnight_glass"] .ziqro-2fa-group,
[data-ziqro-login-theme="midnight_glass"] .ziqro-2fa-group .ziqro-input-wrap {
  background: rgba(15, 23, 42, 0.65) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Primary Button (Electric Blue -> Cyan) */
[data-ziqro-login-theme="midnight_glass"] .ziqro-primary-btn {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 60%, #0ea5e9 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  border-radius: 12px !important;
  height: 48px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px -4px rgba(14, 165, 233, 0.4), 0 0 25px rgba(37, 99, 235, 0.2) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-primary-btn:hover {
  box-shadow: 0 12px 30px -4px rgba(14, 165, 233, 0.6), 0 0 35px rgba(56, 189, 248, 0.35) !important;
  transform: translateY(-1.5px) !important;
  filter: brightness(1.06) !important;
}

/* Checkbox & Language */
[data-ziqro-login-theme="midnight_glass"] .ziqro-custom-check {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(15, 23, 42, 0.6) !important;
  border-radius: 4px !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-custom-check.is-checked {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-check-label {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-remember-wrap:hover .ziqro-check-label {
  color: #e2e8f0 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-lang-trigger {
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-lang-trigger:hover {
  color: #38bdf8 !important;
  border-color: #38bdf8 !important;
}

/* Links & Security */
[data-ziqro-login-theme="midnight_glass"] .ziqro-plugin-hook a,
[data-ziqro-login-theme="midnight_glass"] #plugin-Login-BottomControlGroup a {
  color: #38bdf8 !important;
  font-weight: 600 !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-plugin-hook a:hover,
[data-ziqro-login-theme="midnight_glass"] #plugin-Login-BottomControlGroup a:hover {
  color: #7dd3fc !important;
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-sec-status {
  color: #94a3b8 !important;
  font-size: 12px !important;
}

/* Mobile Responsiveness (< 768px only) */
@media screen and (max-width: 767px) {
  [data-ziqro-login-theme="midnight_glass"] .ziqro-login-container,
  .ziqro-theme-midnight_glass .ziqro-login-container,
  .ziqro-theme-midnight-glass .ziqro-login-container {
    flex-direction: column !important;
    background: radial-gradient(circle at 50% 10%, #08111f 0%, #050b18 60%, #020617 100%) !important;
    overflow-y: auto !important;
    padding: 24px 16px !important;
  }

  [data-ziqro-login-theme="midnight_glass"] .ziqro-hero-pane,
  .ziqro-theme-midnight_glass .ziqro-hero-pane,
  .ziqro-theme-midnight-glass .ziqro-hero-pane {
    display: none !important;
  }

  [data-ziqro-login-theme="midnight_glass"] .ziqro-form-pane,
  .ziqro-theme-midnight_glass .ziqro-form-pane,
  .ziqro-theme-midnight-glass .ziqro-form-pane {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 440px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-right: none !important;
  }

  [data-ziqro-login-theme="midnight_glass"] .ziqro-card-container,
  [data-ziqro-login-theme="midnight_glass"] .ziqro-login-card-wrap,
  .ziqro-theme-midnight_glass .ziqro-card-container,
  .ziqro-theme-midnight_glass .ziqro-login-card-wrap,
  .ziqro-theme-midnight-glass .ziqro-card-container,
  .ziqro-theme-midnight-glass .ziqro-login-card-wrap {
    max-width: 440px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   DESIGN 6: OBSIDIAN EMBER LOGIN THEME
   Activated when [data-ziqro-login-theme="obsidian_ember"]
   ========================================================================== */

/* Visibility controls */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-ember-hero-content,
.ziqro-theme-obsidian_ember .ziqro-ember-hero-content,
.ziqro-theme-obsidian-ember .ziqro-ember-hero-content {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-ember-brand-top,
.ziqro-theme-obsidian_ember .ziqro-ember-brand-top,
.ziqro-theme-obsidian-ember .ziqro-ember-brand-top {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Hide Default/Other Theme Hero & Header Elements */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-content,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-art-wrap,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-glow,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-grid-pattern,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-hostinger-hero-content,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-midnight-hero-content,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-centered-brand-badge,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-hostinger-brand-top,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-aurora-header,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-midnight-brand-top,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-mobile-header,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-card-title,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-card-subtitle {
  display: none !important;
}

/* Base Full-Viewport Split Layout */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-login-container,
.ziqro-theme-obsidian_ember .ziqro-login-container,
.ziqro-theme-obsidian-ember .ziqro-login-container {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: radial-gradient(circle at 75% 20%, #17120a 0%, #0d0f15 40%, #07080c 100%) !important;
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Ambient Ember Warm Background Glows */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-login-container::before,
.ziqro-theme-obsidian_ember .ziqro-login-container::before {
  content: '';
  position: absolute;
  top: -120px;
  right: 10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(217, 119, 6, 0.05) 50%, transparent 70%);
  pointer-events: none;
  filter: blur(80px);
  z-index: 1;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-login-container::after,
.ziqro-theme-obsidian_ember .ziqro-login-container::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: 5%;
  width: 700px;
  height: 550px;
  background: radial-gradient(circle, rgba(217, 119, 6, 0.09) 0%, rgba(180, 83, 9, 0.04) 45%, transparent 70%);
  pointer-events: none;
  filter: blur(90px);
  z-index: 1;
}

/* Left / Hero Branding Pane (Desktop >= 768px) */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-pane,
.ziqro-theme-obsidian_ember .ziqro-hero-pane,
.ziqro-theme-obsidian-ember .ziqro-hero-pane {
  flex: 1 1 54% !important;
  width: 54% !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: clamp(24px, 3.5vh, 50px) clamp(28px, 3.5vw, 70px) !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 2 !important;
  border-right: 1px solid rgba(245, 158, 11, 0.12) !important;
}

/* Obsidian Ember Left Hero Content Structure */
.ziqro-ember-hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 540px;
  height: auto;
  gap: clamp(12px, 2vh, 24px);
  box-sizing: border-box;
}

/* Hero Top Brand Header */
.ziqro-ember-brand-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: clamp(6px, 1.5vh, 18px);
}

.ziqro-ember-logo-mark {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ziqro-ember-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.2), inset 0 0 10px rgba(245, 158, 11, 0.1);
}

.ziqro-ember-brand-names {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ziqro-ember-brand-main {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #ffffff;
}

.ziqro-ember-brand-badge {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f59e0b;
  padding: 2px 7px;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.ziqro-ember-status-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  background: rgba(20, 24, 33, 0.7);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #fbbf24;
}

.ember-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f59e0b;
  box-shadow: 0 0 10px #f59e0b;
  animation: emberPulse 2.5s infinite;
}

@keyframes emberPulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 8px #f59e0b; }
  50% { opacity: 0.5; transform: scale(0.85); box-shadow: 0 0 3px #f59e0b; }
}

/* Hero Headline & Supporting Text */
.ziqro-ember-hero-copy {
  margin-bottom: clamp(6px, 1.5vh, 18px);
}

.ziqro-ember-headline {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.ziqro-ember-gradient-text {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ziqro-ember-subtext {
  font-size: clamp(12.5px, 1.2vw, 14px);
  line-height: 1.5;
  color: #94a3b8;
  margin: 0;
  max-width: 480px;
}

/* 3 Subtle Trust Feature Cards */
.ziqro-ember-features {
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 1.2vh, 10px);
  margin-bottom: clamp(6px, 1.5vh, 18px);
}

.ziqro-ember-feat-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: clamp(9px, 1.2vh, 12px) clamp(12px, 1.4vw, 16px);
  background: rgba(18, 21, 31, 0.65);
  border: 1px solid rgba(245, 158, 11, 0.14);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.ziqro-ember-feat-card:hover {
  background: rgba(22, 26, 38, 0.85);
  border-color: rgba(245, 158, 11, 0.3);
  transform: translateX(4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45), 0 0 15px rgba(245, 158, 11, 0.08);
}

.ember-feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  flex-shrink: 0;
  margin-top: 1px;
}

.ember-feat-text h4 {
  font-size: 13px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 2px 0;
  letter-spacing: -0.01em;
}

.ember-feat-text p {
  font-size: 11.5px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.35;
}

/* Left Hero Footer */
.ziqro-ember-hero-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: clamp(8px, 1.2vh, 14px);
  border-top: 1px solid rgba(245, 158, 11, 0.12);
  font-size: 11.5px;
  color: #64748b;
}

.ember-security-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
}

/* Right / Obsidian Ember Login Card Pane */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-form-pane,
.ziqro-theme-obsidian_ember .ziqro-form-pane,
.ziqro-theme-obsidian-ember .ziqro-form-pane {
  flex: 1 1 46% !important;
  width: 46% !important;
  min-width: 320px !important;
  min-height: 100vh !important;
  min-height: 100dvh !important;
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: clamp(16px, 2.5vh, 32px) clamp(16px, 2vw, 28px) !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
  order: 2 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-card-container,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-login-card-wrap,
.ziqro-theme-obsidian_ember .ziqro-card-container,
.ziqro-theme-obsidian_ember .ziqro-login-card-wrap,
.ziqro-theme-obsidian-ember .ziqro-card-container,
.ziqro-theme-obsidian-ember .ziqro-login-card-wrap {
  width: 100% !important;
  max-width: 410px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

/* Refined Dark Solid Surface Login Card */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-login-card,
.ziqro-theme-obsidian_ember .ziqro-login-card,
.ziqro-theme-obsidian-ember .ziqro-login-card {
  width: 100% !important;
  background: rgba(14, 16, 23, 0.95) !important;
  border: 1px solid rgba(245, 158, 11, 0.22) !important;
  border-radius: 20px !important;
  box-shadow: 
    0 25px 60px -15px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 40px rgba(245, 158, 11, 0.08) !important;
  backdrop-filter: blur(28px) !important;
  -webkit-backdrop-filter: blur(28px) !important;
  padding: clamp(22px, 3vh, 32px) clamp(20px, 2.5vw, 30px) !important;
  position: relative !important;
  box-sizing: border-box !important;
}

/* Subtle Top Amber Edge Glow */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.8), transparent);
  pointer-events: none;
}

/* Right Card Top Header */
.ziqro-ember-brand-top {
  margin-bottom: clamp(12px, 2vh, 20px);
}

.ziqro-ember-card-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ziqro-ember-card-logotext {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #ffffff;
}

.ziqro-ember-card-head {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 5px 0;
  letter-spacing: -0.3px;
}

.ziqro-ember-card-subhead {
  font-size: 13.5px;
  color: #94a3b8;
  margin: 0;
}

/* Form Inputs in Obsidian Ember */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-field-label {
  color: #cbd5e1 !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  margin-bottom: 6px !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-input-wrap {
  background: rgba(18, 21, 31, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  height: 48px !important;
  transition: all 0.2s ease !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-input-wrap:focus-within {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3.5px rgba(245, 158, 11, 0.22), 0 0 20px rgba(217, 119, 6, 0.15) !important;
  background: rgba(22, 26, 38, 0.95) !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-input-wrap.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3.5px rgba(239, 68, 68, 0.2) !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-input-icon {
  color: #f59e0b !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-input {
  color: #ffffff !important;
  font-size: 14.5px !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-input::placeholder {
  color: #64748b !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-pwd-toggle {
  color: #94a3b8 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-pwd-toggle:hover {
  color: #f59e0b !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

/* 2FA Input in Obsidian Ember */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-2fa-group,
[data-ziqro-login-theme="obsidian_ember"] .ziqro-2fa-group .ziqro-input-wrap {
  background: rgba(18, 21, 31, 0.85) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Primary Button (Luxury Amber -> Gold Gradient) */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-primary-btn {
  background: linear-gradient(135deg, #d97706 0%, #f59e0b 50%, #fbbf24 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 12px !important;
  height: 48px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0e1017 !important;
  box-shadow: 0 8px 24px -4px rgba(245, 158, 11, 0.4), 0 0 25px rgba(217, 119, 6, 0.25) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-primary-btn:hover {
  box-shadow: 0 12px 32px -4px rgba(245, 158, 11, 0.6), 0 0 35px rgba(251, 191, 36, 0.35) !important;
  transform: translateY(-1.5px) !important;
  filter: brightness(1.05) !important;
}

/* Checkbox & Language */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-custom-check {
  border-color: rgba(255, 255, 255, 0.25) !important;
  background: rgba(18, 21, 31, 0.8) !important;
  border-radius: 4px !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-custom-check.is-checked {
  background: #f59e0b !important;
  border-color: #fbbf24 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-custom-check.is-checked .check-mark {
  color: #0e1017 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-check-label {
  color: #94a3b8 !important;
  font-weight: 500 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-remember-wrap:hover .ziqro-check-label {
  color: #e2e8f0 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-lang-trigger {
  color: #cbd5e1 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-lang-trigger:hover {
  color: #f59e0b !important;
  border-color: #f59e0b !important;
}

/* Links & Security */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-plugin-hook a,
[data-ziqro-login-theme="obsidian_ember"] #plugin-Login-BottomControlGroup a {
  color: #f59e0b !important;
  font-weight: 600 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-plugin-hook a:hover,
[data-ziqro-login-theme="obsidian_ember"] #plugin-Login-BottomControlGroup a:hover {
  color: #fbbf24 !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-sec-status {
  color: #94a3b8 !important;
  font-size: 12px !important;
}

/* Mobile Responsiveness (< 768px only) */
@media screen and (max-width: 767px) {
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-login-container,
  .ziqro-theme-obsidian_ember .ziqro-login-container,
  .ziqro-theme-obsidian-ember .ziqro-login-container {
    flex-direction: column !important;
    background: radial-gradient(circle at 50% 10%, #17120a 0%, #0d0f15 50%, #07080c 100%) !important;
    overflow-y: auto !important;
    padding: 24px 16px !important;
  }

  [data-ziqro-login-theme="obsidian_ember"] .ziqro-hero-pane,
  .ziqro-theme-obsidian_ember .ziqro-hero-pane,
  .ziqro-theme-obsidian-ember .ziqro-hero-pane {
    display: none !important;
  }

  [data-ziqro-login-theme="obsidian_ember"] .ziqro-form-pane,
  .ziqro-theme-obsidian_ember .ziqro-form-pane,
  .ziqro-theme-obsidian-ember .ziqro-form-pane {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 440px !important;
    min-width: 0 !important;
    padding: 0 !important;
    border-right: none !important;
  }

  [data-ziqro-login-theme="obsidian_ember"] .ziqro-card-container,
  [data-ziqro-login-theme="obsidian_ember"] .ziqro-login-card-wrap,
  .ziqro-theme-obsidian_ember .ziqro-card-container,
  .ziqro-theme-obsidian_ember .ziqro-login-card-wrap,
  .ziqro-theme-obsidian-ember .ziqro-card-container,
  .ziqro-theme-obsidian-ember .ziqro-login-card-wrap {
    max-width: 440px !important;
    margin: 0 auto !important;
  }
}

/* ==========================================================================
   DEDICATED 2-STEP 2FA VERIFICATION CARD STYLING
   ========================================================================== */

.ziqro-2fa-shield-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.ziqro-2fa-shield-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  box-shadow: 0 0 24px rgba(56, 189, 248, 0.15);
}

.ziqro-2fa-title {
  text-align: center !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  margin: 0 0 6px 0 !important;
}

.ziqro-2fa-subtitle {
  text-align: center !important;
  font-size: 13.5px !important;
  color: #94a3b8 !important;
  margin: 0 auto 24px auto !important;
  max-width: 320px !important;
  line-height: 1.5 !important;
}

.ziqro-2fa-email-highlight {
  font-weight: 700 !important;
  color: #38bdf8 !important;
  word-break: break-all;
}

.ziqro-2fa-back-row {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ziqro-2fa-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.2s ease;
  padding: 6px 12px;
  border-radius: 8px;
}

.ziqro-2fa-back-link:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
}

/* Theme Accents for 2FA Card */

/* Design 2: Centered Obsidian */
[data-ziqro-login-theme="centered_obsidian"] .ziqro-2fa-shield-icon,
.ziqro-theme-centered_obsidian .ziqro-2fa-shield-icon {
  background: rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.35);
  color: #818cf8;
  box-shadow: 0 0 24px rgba(99, 102, 241, 0.2);
}

[data-ziqro-login-theme="centered_obsidian"] .ziqro-2fa-email-highlight,
.ziqro-theme-centered_obsidian .ziqro-2fa-email-highlight {
  color: #818cf8 !important;
}

/* Design 3: SaaS Clean Light */
[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-shield-icon,
.ziqro-theme-hostinger_saas .ziqro-2fa-shield-icon {
  background: #f3f0ff;
  border-color: #ddd6fe;
  color: #673de6;
  box-shadow: 0 4px 16px rgba(103, 61, 230, 0.1);
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-title,
.ziqro-theme-hostinger_saas .ziqro-2fa-title {
  color: #1e293b !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-subtitle,
.ziqro-theme-hostinger_saas .ziqro-2fa-subtitle {
  color: #64748b !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-email-highlight,
.ziqro-theme-hostinger_saas .ziqro-2fa-email-highlight {
  color: #673de6 !important;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-back-link,
.ziqro-theme-hostinger_saas .ziqro-2fa-back-link {
  color: #64748b;
}

[data-ziqro-login-theme="hostinger_saas"] .ziqro-2fa-back-link:hover,
.ziqro-theme-hostinger_saas .ziqro-2fa-back-link:hover {
  color: #673de6;
  background: rgba(103, 61, 230, 0.06);
}

/* Design 4: Linear Aurora */
[data-ziqro-login-theme="linear_aurora"] .ziqro-2fa-shield-icon,
.ziqro-theme-linear_aurora .ziqro-2fa-shield-icon {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(168, 85, 247, 0.35);
  color: #c084fc;
  box-shadow: 0 0 24px rgba(168, 85, 247, 0.2);
}

[data-ziqro-login-theme="linear_aurora"] .ziqro-2fa-email-highlight,
.ziqro-theme-linear_aurora .ziqro-2fa-email-highlight {
  color: #c084fc !important;
}

/* Design 5: Midnight Glass */
[data-ziqro-login-theme="midnight_glass"] .ziqro-2fa-shield-icon,
.ziqro-theme-midnight_glass .ziqro-2fa-shield-icon {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(56, 189, 248, 0.35);
  color: #38bdf8;
  box-shadow: 0 0 24px rgba(14, 165, 233, 0.2);
}

[data-ziqro-login-theme="midnight_glass"] .ziqro-2fa-email-highlight,
.ziqro-theme-midnight_glass .ziqro-2fa-email-highlight {
  color: #38bdf8 !important;
}

/* Design 6: Obsidian Ember */
[data-ziqro-login-theme="obsidian_ember"] .ziqro-2fa-shield-icon,
.ziqro-theme-obsidian_ember .ziqro-2fa-shield-icon {
  background: rgba(245, 158, 11, 0.15);
  border-color: rgba(245, 158, 11, 0.35);
  color: #f59e0b;
  box-shadow: 0 0 24px rgba(245, 158, 11, 0.2);
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-2fa-email-highlight,
.ziqro-theme-obsidian_ember .ziqro-2fa-email-highlight {
  color: #f59e0b !important;
}

[data-ziqro-login-theme="obsidian_ember"] .ziqro-2fa-back-link:hover,
.ziqro-theme-obsidian_ember .ziqro-2fa-back-link:hover {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

/* ==========================================================================
   ZIQRO WEBMAIL — 2FA SECURITY CENTER SETTINGS UI/UX
   ========================================================================== */

.ziqro-2fa-settings {
  max-width: 860px;
  margin: 12px 0 32px 0;
  font-family: inherit;
}

.ziqro-sec-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 22px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.35);
  transition: border-color 0.25s ease;
}

.ziqro-sec-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* Header & Status */
.ziqro-sec-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.ziqro-sec-header-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ziqro-sec-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.15);
}

.ziqro-sec-title {
  font-size: 18px;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 4px 0;
  letter-spacing: -0.2px;
}

.ziqro-sec-desc {
  font-size: 13px;
  color: #94a3b8;
  margin: 0;
  line-height: 1.45;
}

/* Status Badges */
.ziqro-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.ziqro-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.ziqro-badge-active {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.ziqro-badge-active .ziqro-badge-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.ziqro-badge-warning {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}
.ziqro-badge-warning .ziqro-badge-dot {
  background: #f59e0b;
}

.ziqro-badge-inactive {
  background: rgba(148, 163, 184, 0.1);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: #94a3b8;
}
.ziqro-badge-inactive .ziqro-badge-dot {
  background: #64748b;
}

/* Details Row */
.ziqro-sec-details-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  margin: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  gap: 14px;
}

.ziqro-sec-user-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ziqro-detail-label {
  font-size: 13px;
  color: #94a3b8;
}

.ziqro-detail-value {
  font-size: 14px;
  color: #f1f5f9;
  font-weight: 600;
}

/* Actions Toolbar */
.ziqro-sec-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ziqro-btn-group-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ziqro-btn-activate,
.ziqro-btn-verify {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  color: #ffffff !important;
  border: 1px solid rgba(56, 189, 248, 0.4) !important;
  border-radius: 10px !important;
  padding: 9px 18px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3) !important;
  cursor: pointer !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ziqro-btn-activate:hover,
.ziqro-btn-verify:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45) !important;
}

.ziqro-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  color: #f1f5f9 !important;
  border-radius: 10px !important;
  padding: 8px 15px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ziqro-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.ziqro-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent !important;
  border: 1px solid rgba(56, 189, 248, 0.3) !important;
  color: #38bdf8 !important;
  border-radius: 10px !important;
  padding: 8px 14px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ziqro-btn-outline:hover {
  background: rgba(56, 189, 248, 0.08) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
}

.ziqro-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #fca5a5 !important;
  border-radius: 10px !important;
  padding: 8px 15px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

.ziqro-btn-danger:hover {
  background: rgba(239, 68, 68, 0.22) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  color: #fee2e2 !important;
}

/* Setup Grid */
.ziqro-setup-grid {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

@media (max-width: 768px) {
  .ziqro-setup-grid {
    grid-template-columns: 1fr;
  }
}

.ziqro-setup-step-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 6px 0;
}

.ziqro-step-num {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2563eb;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ziqro-step-sub {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 14px 0;
  line-height: 1.45;
}

/* QR Code Container */
.ziqro-qr-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.ziqro-qr-card {
  background: #ffffff;
  padding: 12px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.ziqro-qr-svg-wrap svg {
  display: block;
  width: 170px;
  height: 170px;
}

.ziqro-qr-text-render {
  font-family: monospace;
  font-size: 8px;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #0f172a;
  background: #ffffff;
  padding: 4px;
  margin: 0;
}

.ziqro-qr-caption {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

/* Manual Secret Key */
.ziqro-setup-section {
  margin-bottom: 24px;
}

.ziqro-secret-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 10px 14px;
  gap: 12px;
}

.ziqro-secret-key {
  font-family: 'JetBrains Mono', Consolas, Monaco, monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #38bdf8;
  background: transparent;
  padding: 0;
  border: none;
  word-break: break-all;
}

.ziqro-btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.16) !important;
  color: #f1f5f9 !important;
  border-radius: 8px !important;
  padding: 7px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  flex-shrink: 0;
  transition: all 0.2s ease !important;
}

.ziqro-btn-copy:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.ziqro-btn-copy.is-copied {
  background: rgba(16, 185, 129, 0.2) !important;
  border-color: rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
}

/* Quick Verification Bar */
.ziqro-verify-input-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ziqro-verify-input {
  max-width: 220px !important;
  font-family: 'JetBrains Mono', Consolas, monospace !important;
  font-size: 16px !important;
  letter-spacing: 3px !important;
  text-align: center !important;
  height: 42px !important;
}

.ziqro-inline-alert {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 12px;
}

.ziqro-inline-error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}

.ziqro-inline-success {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
}

/* Backup Codes Section */
.ziqro-backup-codes-section {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ziqro-backup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}

.ziqro-backup-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ziqro-btn-sm {
  padding: 6px 12px !important;
  font-size: 12px !important;
}

.ziqro-backup-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ziqro-backup-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.ziqro-backup-item:hover {
  border-color: rgba(56, 189, 248, 0.3);
  background: rgba(0, 0, 0, 0.45);
}

.ziqro-backup-idx {
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
}

.ziqro-backup-num {
  font-family: 'JetBrains Mono', Consolas, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f1f5f9;
  background: transparent;
  padding: 0;
  border: none;
}

/* Modal Polish */
.ziqro-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

.ziqro-modal-title-flex {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ziqro-modal-icon {
  color: #38bdf8;
}

.ziqro-modal-desc {
  font-size: 13px;
  color: #94a3b8;
  margin: 0 0 14px 0;
  line-height: 1.45;
}

.ziqro-test-modal-input {
  font-family: monospace;
  font-size: 18px !important;
  letter-spacing: 4px !important;
  text-align: center !important;
  height: 44px !important;
}

.ziqro-modal-footer {
  padding: 14px 20px;
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   ZIQRO THEME MODE TOGGLE BUTTON (TOP TOOLBAR)
   ========================================================================== */
.ziqro-top-system-toolbar,
.btn-toolbar.ziqro-top-system-toolbar {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

html.ziqro-light-mode .ziqro-top-system-toolbar,
html.ziqro-light-mode .btn-toolbar.ziqro-top-system-toolbar,
body.ziqro-light-mode .ziqro-top-system-toolbar,
body.ziqro-light-mode .btn-toolbar.ziqro-top-system-toolbar {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* --- Quick Layout Switcher Button (Top Toolbar, PC Only) --- */
.ziqro-layout-toggle-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 6px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: visible !important;
  vertical-align: middle !important;
}

@media (max-width: 799px) {
  .ziqro-layout-toggle-wrap,
  .hide-mobile.ziqro-layout-toggle-wrap {
    display: none !important;
  }
}

.ziqro-layout-toggle-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  color: #94a3b8 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  box-sizing: border-box !important;
}
.ziqro-layout-toggle-btn::before,
.ziqro-layout-toggle-btn::after {
  display: none !important;
  content: none !important;
}
.ziqro-layout-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(0, 212, 255, 0.5) !important;
  color: #00d4ff !important;
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(0, 212, 255, 0.3) !important;
}

/* Layout Icons Visibility Control */
.ziqro-layout-toggle-btn .ziqro-layout-icon {
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* Default / No Split (0) */
.ziqro-layout-toggle-btn .ziqro-icon-layout-nosplit,
html.ziqro-layout-0 .ziqro-layout-toggle-btn .ziqro-icon-layout-nosplit,
.ziqro-layout-toggle-btn[data-ziqro-layout="0"] .ziqro-icon-layout-nosplit {
  display: inline-flex !important;
}
html.ziqro-layout-0 .ziqro-layout-toggle-btn .ziqro-icon-layout-vertical,
html.ziqro-layout-0 .ziqro-layout-toggle-btn .ziqro-icon-layout-horizontal,
.ziqro-layout-toggle-btn[data-ziqro-layout="0"] .ziqro-icon-layout-vertical,
.ziqro-layout-toggle-btn[data-ziqro-layout="0"] .ziqro-icon-layout-horizontal {
  display: none !important;
}

/* Vertical Split (1) */
html.ziqro-layout-1 .ziqro-layout-toggle-btn .ziqro-icon-layout-vertical,
.ziqro-layout-toggle-btn[data-ziqro-layout="1"] .ziqro-icon-layout-vertical {
  display: inline-flex !important;
}
html.ziqro-layout-1 .ziqro-layout-toggle-btn .ziqro-icon-layout-nosplit,
html.ziqro-layout-1 .ziqro-layout-toggle-btn .ziqro-icon-layout-horizontal,
.ziqro-layout-toggle-btn[data-ziqro-layout="1"] .ziqro-icon-layout-nosplit,
.ziqro-layout-toggle-btn[data-ziqro-layout="1"] .ziqro-icon-layout-horizontal {
  display: none !important;
}

/* Horizontal Split (2) */
html.ziqro-layout-2 .ziqro-layout-toggle-btn .ziqro-icon-layout-horizontal,
.ziqro-layout-toggle-btn[data-ziqro-layout="2"] .ziqro-icon-layout-horizontal {
  display: inline-flex !important;
}
html.ziqro-layout-2 .ziqro-layout-toggle-btn .ziqro-icon-layout-nosplit,
html.ziqro-layout-2 .ziqro-layout-toggle-btn .ziqro-icon-layout-vertical,
.ziqro-layout-toggle-btn[data-ziqro-layout="2"] .ziqro-icon-layout-nosplit,
.ziqro-layout-toggle-btn[data-ziqro-layout="2"] .ziqro-icon-layout-vertical {
  display: none !important;
}

/* Light Mode Styling for Layout Switcher */
html.ziqro-light-mode .ziqro-layout-toggle-wrap,
body.ziqro-light-mode .ziqro-layout-toggle-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html.ziqro-light-mode .ziqro-layout-toggle-btn,
body.ziqro-light-mode .ziqro-layout-toggle-btn {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50% !important;
  color: #475569 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  outline: none !important;
}
html.ziqro-light-mode .ziqro-layout-toggle-btn:hover,
body.ziqro-light-mode .ziqro-layout-toggle-btn:hover {
  background: #f1f5f9 !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.25) !important;
}

.ziqro-theme-toggle-wrap {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-right: 8px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 50% !important;
  overflow: visible !important;
  vertical-align: middle !important;
}
.ziqro-theme-toggle-btn {
  appearance: none !important;
  -webkit-appearance: none !important;
  outline: none !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 50% !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  padding: 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  color: #fbbf24 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
  box-sizing: border-box !important;
}
.ziqro-theme-toggle-btn::before,
.ziqro-theme-toggle-btn::after {
  display: none !important;
  content: none !important;
}
.ziqro-theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.3) !important;
}
.ziqro-theme-toggle-btn .ziqro-icon-sun {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.ziqro-theme-toggle-btn .ziqro-icon-moon {
  display: none;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

html.ziqro-light-mode .ziqro-theme-toggle-wrap,
body.ziqro-light-mode .ziqro-theme-toggle-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

html.ziqro-light-mode .ziqro-theme-toggle-btn,
body.ziqro-light-mode .ziqro-theme-toggle-btn {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 50% !important;
  color: #475569 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  outline: none !important;
}
html.ziqro-light-mode .ziqro-theme-toggle-btn:hover,
body.ziqro-light-mode .ziqro-theme-toggle-btn:hover {
  background: #f1f5f9 !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.25) !important;
}
html.ziqro-light-mode .ziqro-theme-toggle-btn .ziqro-icon-sun,
body.ziqro-light-mode .ziqro-theme-toggle-btn .ziqro-icon-sun {
  display: none !important;
}
html.ziqro-light-mode .ziqro-theme-toggle-btn .ziqro-icon-moon,
body.ziqro-light-mode .ziqro-theme-toggle-btn .ziqro-icon-moon {
  display: inline-flex !important;
}

/* ==========================================================================
   ZIQRO ENTERPRISE PAGINATION & MESSAGE LIST FOOTER
   ========================================================================== */
.b-footer.thm-message-list-bottom-toolbar,
.ziqro-message-list-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 16px !important;
  background: rgba(22, 22, 26, 0.95) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  min-height: 44px !important;
  box-sizing: border-box !important;
}

.ziqro-footer-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ziqro-footer-right {
  display: flex !important;
  align-items: center !important;
}

.ziqro-quota-badge,
.e-quota {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
  padding: 3px 9px !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  display: inline-flex !important;
  align-items: center !important;
}

.ziqro-mail-count {
  font-size: 12.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  letter-spacing: 0.01em !important;
}

/* Modern Paginator Container */
.e-paginator.ziqro-paginator,
.e-paginator {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 3px 6px !important;
  border-radius: 10px !important;
}

/* Page Buttons */
.e-paginator.ziqro-paginator a.ziqro-page-btn,
.e-paginator a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 28px !important;
  height: 28px !important;
  padding: 0 7px !important;
  border-radius: 6px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  opacity: 1 !important;
  transition: all 0.15s ease !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  box-sizing: border-box !important;
  line-height: 1 !important;
}

.e-paginator.ziqro-paginator a.ziqro-page-btn:hover,
.e-paginator a:hover {
  background: rgba(0, 212, 255, 0.12) !important;
  color: #00d4ff !important;
  border-color: rgba(0, 212, 255, 0.3) !important;
  transform: translateY(-1px);
  opacity: 1 !important;
}

/* Active Page Pill */
.e-paginator.ziqro-paginator a.ziqro-page-btn.current,
.e-paginator a.current {
  background: linear-gradient(135deg, #00d4ff, #0070f3) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(0, 212, 255, 0.4) !important;
  cursor: default !important;
  transform: none !important;
  opacity: 1 !important;
}

/* Navigation Chevrons */
.e-paginator.ziqro-paginator a.ziqro-page-btn.is-nav {
  font-size: 15px !important;
  font-weight: 700 !important;
  padding: 0 6px !important;
}

.e-paginator.ziqro-paginator a.ziqro-page-btn.disabled,
.e-paginator a.disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  transform: none !important;
}

/* Ellipsis Separator */
.ziqro-page-ellipsis {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 18px !important;
  height: 28px !important;
  color: #64748b !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}

/* --- Light Mode Pagination Overrides --- */
html.ziqro-light-mode .b-footer.thm-message-list-bottom-toolbar,
html.ziqro-light-mode .ziqro-message-list-footer,
body.ziqro-light-mode .b-footer.thm-message-list-bottom-toolbar,
body.ziqro-light-mode .ziqro-message-list-footer {
  background: #ffffff !important;
  border-top: 1px solid #e2e8f0 !important;
}

html.ziqro-light-mode .ziqro-quota-badge,
html.ziqro-light-mode .e-quota,
body.ziqro-light-mode .ziqro-quota-badge,
body.ziqro-light-mode .e-quota {
  background: #f1f5f9 !important;
  border-color: #e2e8f0 !important;
  color: #64748b !important;
}

html.ziqro-light-mode .ziqro-mail-count,
body.ziqro-light-mode .ziqro-mail-count {
  color: #64748b !important;
}

html.ziqro-light-mode .e-paginator.ziqro-paginator,
html.ziqro-light-mode .e-paginator,
body.ziqro-light-mode .e-paginator.ziqro-paginator,
body.ziqro-light-mode .e-paginator {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
}

html.ziqro-light-mode .e-paginator.ziqro-paginator a.ziqro-page-btn,
html.ziqro-light-mode .e-paginator a,
body.ziqro-light-mode .e-paginator.ziqro-paginator a.ziqro-page-btn,
body.ziqro-light-mode .e-paginator a {
  color: #475569 !important;
}

html.ziqro-light-mode .e-paginator.ziqro-paginator a.ziqro-page-btn:hover,
html.ziqro-light-mode .e-paginator a:hover,
body.ziqro-light-mode .e-paginator.ziqro-paginator a.ziqro-page-btn:hover,
body.ziqro-light-mode .e-paginator a:hover {
  background: rgba(2, 132, 199, 0.1) !important;
  color: #0284c7 !important;
  border-color: rgba(2, 132, 199, 0.3) !important;
}

html.ziqro-light-mode .e-paginator.ziqro-paginator a.ziqro-page-btn.current,
html.ziqro-light-mode .e-paginator a.current,
body.ziqro-light-mode .e-paginator.ziqro-paginator a.ziqro-page-btn.current,
body.ziqro-light-mode .e-paginator a.current {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
}

html.ziqro-light-mode .ziqro-page-ellipsis,
body.ziqro-light-mode .ziqro-page-ellipsis {
  color: #94a3b8 !important;
}

.ziqro-folder-toolbar {
  padding: 14px 14px 16px !important;
  display: flex !important;
  align-items: center !important;
}
.b-folders .b-content {
  padding-top: 4px !important;
}

/* --- 8. Modern Contacts Modal UI --- */
#V-PopupsContacts:not([open]) {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#V-PopupsContacts[open] {
  width: 920px !important;
  max-width: 95vw !important;
  height: 620px !important;
  max-height: calc(100vh - 60px) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.6) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  display: flex !important;
  flex-direction: column !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

#V-PopupsContacts .b-header-toolbar {
  background: rgba(20, 23, 30, 0.98) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 10px 16px !important;
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
}

#V-PopupsContacts .b-header-toolbar .close {
  margin-left: auto !important;
  color: #94a3b8 !important;
  font-size: 22px !important;
  text-decoration: none !important;
  opacity: 0.8 !important;
  cursor: pointer !important;
  padding: 0 4px !important;
  line-height: 1 !important;
  transition: all 0.15s ease !important;
}

#V-PopupsContacts .b-header-toolbar .close:hover {
  color: #ffffff !important;
  opacity: 1 !important;
}

#V-PopupsContacts .b-header-toolbar .ziqro-btn-primary {
  background: linear-gradient(135deg, #00d4ff, #0070f3) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  padding: 6px 16px !important;
  box-shadow: 0 3px 12px rgba(0, 212, 255, 0.35) !important;
}

#V-PopupsContacts .b-header-toolbar .btn:not(.ziqro-btn-primary) {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
  transition: all 0.15s ease !important;
}

#V-PopupsContacts .b-header-toolbar .btn:not(.ziqro-btn-primary):hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

#V-PopupsContacts [style*="display: none"],
#V-PopupsContacts [style*="display:none"],
#V-PopupsContacts [style*="display: none;"],
#V-PopupsContacts [style*="display:none;"] {
  display: none !important;
}

.ziqro-contacts-modal-body {
  background: rgba(15, 17, 23, 0.98) !important;
  display: flex !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  height: auto !important;
  overflow: hidden !important;
  padding: 0 !important;
}

#V-PopupsContacts .left {
  width: 320px !important;
  min-width: 300px !important;
  max-width: 350px !important;
  flex: 0 0 320px !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
  background: rgba(18, 20, 28, 0.6) !important;
}

#V-PopupsContacts .b-list-toolbar {
  padding: 14px 14px 10px 14px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  flex-shrink: 0 !important;
}

#V-PopupsContacts .b-list-toolbar input.e-search {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 7px 12px !important;
  font-size: 13px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

#V-PopupsContacts .b-list-toolbar input.e-search:focus {
  border-color: #00d4ff !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15) !important;
}

#V-PopupsContacts .b-list-content {
  flex: 1 1 auto !important;
  height: auto !important;
  overflow-y: auto !important;
  padding-top: 10px !important;
}

#V-PopupsContacts .b-list-footer-toolbar {
  flex-shrink: 0 !important;
}

#V-PopupsContacts .e-contact-item {
  display: flex !important;
  align-items: center !important;
  height: auto !important;
  min-height: 38px !important;
  max-height: none !important;
  line-height: normal !important;
  border-radius: 8px !important;
  margin: 3px 8px !important;
  border: none !important;
  border-left: none !important;
  border-bottom: none !important;
  padding: 7px 10px !important;
  background: transparent !important;
  transition: all 0.15s ease !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  gap: 8px !important;
  box-sizing: border-box !important;
}

#V-PopupsContacts .e-contact-item .checkboxItem {
  line-height: 1 !important;
  padding: 0 !important;
  font-size: 13px !important;
  flex-shrink: 0 !important;
}

#V-PopupsContacts .e-contact-item .nameParent {
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
}

#V-PopupsContacts .e-contact-item:hover {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
}

#V-PopupsContacts .e-contact-item.selected {
  background: rgba(0, 212, 255, 0.15) !important;
  color: #00d4ff !important;
  font-weight: 600 !important;
  border-left: 3px solid #00d4ff !important;
}

#V-PopupsContacts .right {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  overflow: hidden !important;
  background: rgba(15, 17, 23, 0.98) !important;
}

#V-PopupsContacts .b-view-content {
  flex: 1 1 auto !important;
  height: auto !important;
  overflow-y: auto !important;
  margin: 0 !important;
}

.ziqro-contact-tabs {
  padding: 16px 24px 20px !important;
}

#V-PopupsContacts .tabs > label {
  border-radius: 8px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(255, 255, 255, 0.04) !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  padding: 7px 18px !important;
  margin-right: 8px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

#V-PopupsContacts .tabs > input[type="radio"]:checked + label {
  background: rgba(0, 212, 255, 0.15) !important;
  border-color: rgba(0, 212, 255, 0.45) !important;
  color: #00d4ff !important;
}

.ziqro-contact-tab-content {
  padding-top: 18px !important;
}

#V-PopupsContacts .ziqro-form-group {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  margin-bottom: 16px !important;
}

#V-PopupsContacts .ziqro-icon-label {
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 212, 255, 0.08) !important;
  border: 1px solid rgba(0, 212, 255, 0.25) !important;
  border-radius: 10px !important;
  font-size: 16px !important;
  color: #00d4ff !important;
  flex-shrink: 0 !important;
  margin-top: 2px !important;
}

#V-PopupsContacts .ziqro-field-container {
  flex-grow: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

#V-PopupsContacts .ziqro-two-col-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

#V-PopupsContacts .ziqro-field-input-box,
#V-PopupsContacts .ziqro-input-wrap,
#V-PopupsContacts .property-line {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  width: 100% !important;
  display: block !important;
}

#V-PopupsContacts .ziqro-field-input-box input,
#V-PopupsContacts .ziqro-input-wrap input,
#V-PopupsContacts .ziqro-input-with-action input {
  background: rgba(25, 29, 40, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-radius: 9px !important;
  color: #ffffff !important;
  padding: 9px 14px !important;
  font-size: 13.5px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.25) !important;
}

#V-PopupsContacts .ziqro-field-input-box input::placeholder,
#V-PopupsContacts .ziqro-input-wrap input::placeholder,
#V-PopupsContacts .ziqro-input-with-action input::placeholder {
  color: #64748b !important;
  opacity: 1 !important;
}

#V-PopupsContacts .ziqro-field-input-box input:focus,
#V-PopupsContacts .ziqro-input-wrap input:focus,
#V-PopupsContacts .ziqro-input-with-action input:focus {
  background: rgba(30, 36, 50, 0.95) !important;
  border-color: #00d4ff !important;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2), inset 0 1px 3px rgba(0, 0, 0, 0.2) !important;
  outline: none !important;
}

.ziqro-input-with-action {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  position: relative !important;
}

.ziqro-prop-remove-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 26px !important;
  height: 26px !important;
  border-radius: 50% !important;
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  color: #f87171 !important;
  font-size: 11px !important;
  text-decoration: none !important;
  transition: all 0.15s ease !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
}

.ziqro-prop-remove-btn:hover {
  background: #ef4444 !important;
  border-color: #ef4444 !important;
  color: #ffffff !important;
  transform: scale(1.08);
}

.ziqro-action-subrow {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  margin-top: 4px !important;
}

.ziqro-add-subitem-btn {
  color: #00d4ff !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  padding: 4px 8px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.ziqro-add-subitem-btn:hover {
  background: rgba(0, 212, 255, 0.12) !important;
  color: #38bdf8 !important;
}

.ziqro-sendall-check {
  font-size: 12px !important;
  color: #94a3b8 !important;
}

.ziqro-contact-footer-toolbar {
  padding: 12px 24px !important;
  background: rgba(18, 20, 28, 0.98) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.ziqro-header-toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  margin-left: auto;
  margin-right: 14px;
  animation: ziqroToastFadeIn 0.25s ease-out;
}

.ziqro-toast-container {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.ziqro-contact-toast {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  animation: ziqroToastFadeIn 0.3s ease-out;
}

.ziqro-header-toast.toast-success,
.ziqro-contact-toast.toast-success,
.ziqro-contact-toast:not(.toast-delete) {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  color: #34d399 !important;
}

.ziqro-header-toast.toast-delete,
.ziqro-contact-toast.toast-delete {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.4) !important;
  color: #f87171 !important;
}

.ziqro-toast-icon {
  font-weight: 800;
  font-size: 13px;
}

.toast-success .ziqro-toast-icon {
  color: #10b981;
}

.toast-delete .ziqro-toast-icon {
  color: #ef4444;
}

@keyframes ziqroToastFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ziqro-save-contact-btn {
  background: linear-gradient(135deg, #00d4ff, #0070f3) !important;
  border: none !important;
  border-radius: 9px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13.5px !important;
  padding: 9px 24px !important;
  box-shadow: 0 4px 16px rgba(0, 212, 255, 0.4) !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
}

.ziqro-save-contact-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5) !important;
  color: #ffffff !important;
}

#button-add-prop-dropdown-id {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #94a3b8 !important;
  font-size: 13px !important;
  padding: 8px 14px !important;
  font-weight: 600 !important;
  transition: all 0.15s ease !important;
}

#button-add-prop-dropdown-id:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Light mode support */
html.ziqro-light-mode #V-PopupsContacts,
body.ziqro-light-mode #V-PopupsContacts {
  border-color: #e2e8f0 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12) !important;
}

html.ziqro-light-mode #V-PopupsContacts .b-header-toolbar,
body.ziqro-light-mode #V-PopupsContacts .b-header-toolbar {
  background: #f8fafc !important;
  border-bottom-color: #e2e8f0 !important;
}

html.ziqro-light-mode #V-PopupsContacts .b-header-toolbar .btn:not(.ziqro-btn-primary),
body.ziqro-light-mode #V-PopupsContacts .b-header-toolbar .btn:not(.ziqro-btn-primary) {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

html.ziqro-light-mode #V-PopupsContacts .ziqro-contacts-modal-body,
body.ziqro-light-mode #V-PopupsContacts .ziqro-contacts-modal-body,
html.ziqro-light-mode #V-PopupsContacts .right,
body.ziqro-light-mode #V-PopupsContacts .right {
  background: #ffffff !important;
}

html.ziqro-light-mode #V-PopupsContacts .left,
body.ziqro-light-mode #V-PopupsContacts .left {
  background: #f8fafc !important;
  border-right-color: #e2e8f0 !important;
}

html.ziqro-light-mode #V-PopupsContacts .b-list-toolbar,
body.ziqro-light-mode #V-PopupsContacts .b-list-toolbar {
  border-bottom-color: #e2e8f0 !important;
}

html.ziqro-light-mode #V-PopupsContacts .b-list-toolbar input.e-search,
body.ziqro-light-mode #V-PopupsContacts .b-list-toolbar input.e-search {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.ziqro-light-mode #V-PopupsContacts .e-contact-item,
body.ziqro-light-mode #V-PopupsContacts .e-contact-item {
  color: #475569 !important;
}

html.ziqro-light-mode #V-PopupsContacts .e-contact-item:hover,
body.ziqro-light-mode #V-PopupsContacts .e-contact-item:hover {
  background: rgba(2, 132, 199, 0.08) !important;
  color: #0284c7 !important;
}

html.ziqro-light-mode #V-PopupsContacts .e-contact-item.selected,
body.ziqro-light-mode #V-PopupsContacts .e-contact-item.selected {
  background: rgba(2, 132, 199, 0.12) !important;
  color: #0284c7 !important;
  border-left-color: #0284c7 !important;
}

html.ziqro-light-mode #V-PopupsContacts .tabs > label,
body.ziqro-light-mode #V-PopupsContacts .tabs > label {
  background: #f1f5f9 !important;
  border-color: #cbd5e1 !important;
  color: #64748b !important;
}

html.ziqro-light-mode #V-PopupsContacts .tabs > input[type="radio"]:checked + label,
body.ziqro-light-mode #V-PopupsContacts .tabs > input[type="radio"]:checked + label {
  background: rgba(2, 132, 199, 0.12) !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.ziqro-light-mode .ziqro-icon-label,
body.ziqro-light-mode .ziqro-icon-label {
  background: rgba(2, 132, 199, 0.08) !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
  color: #0284c7 !important;
}

html.ziqro-light-mode .ziqro-field-input-box input,
body.ziqro-light-mode .ziqro-field-input-box input,
html.ziqro-light-mode .ziqro-input-wrap input,
body.ziqro-light-mode .ziqro-input-wrap input,
html.ziqro-light-mode .ziqro-input-with-action input,
body.ziqro-light-mode .ziqro-input-with-action input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

html.ziqro-light-mode .ziqro-field-input-box input::placeholder,
body.ziqro-light-mode .ziqro-field-input-box input::placeholder,
html.ziqro-light-mode .ziqro-input-wrap input::placeholder,
body.ziqro-light-mode .ziqro-input-wrap input::placeholder,
html.ziqro-light-mode .ziqro-input-with-action input::placeholder,
body.ziqro-light-mode .ziqro-input-with-action input::placeholder {
  color: #94a3b8 !important;
}

html.ziqro-light-mode .ziqro-field-input-box input:focus,
body.ziqro-light-mode .ziqro-field-input-box input:focus,
html.ziqro-light-mode .ziqro-input-wrap input:focus,
body.ziqro-light-mode .ziqro-input-wrap input:focus,
html.ziqro-light-mode .ziqro-input-with-action input:focus,
body.ziqro-light-mode .ziqro-input-with-action input:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

html.ziqro-light-mode .ziqro-contact-footer-toolbar,
body.ziqro-light-mode .ziqro-contact-footer-toolbar {
  background: #f8fafc !important;
  border-top-color: #e2e8f0 !important;
}

html.ziqro-light-mode #button-add-prop-dropdown-id,
body.ziqro-light-mode #button-add-prop-dropdown-id {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #475569 !important;
}

html.ziqro-light-mode .ziqro-contact-toast,
body.ziqro-light-mode .ziqro-contact-toast {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #059669 !important;
}

.ziqro-reload-btn.is-loading .ziqro-reload-icon,
.ziqro-reload-btn:active .ziqro-reload-icon {
  animation: ziqroSpin 0.75s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
}

@keyframes ziqroSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   Global Floating Toast Alert
   ========================================================================== */
.ziqro-global-toast {
  position: fixed !important;
  top: 24px !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(-24px) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: 999999 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-family: inherit !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ziqro-global-toast.ziqro-toast-show {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
}

.ziqro-global-toast.ziqro-toast-hide {
  opacity: 0 !important;
  transform: translateX(-50%) translateY(-16px) !important;
  pointer-events: none !important;
}

.ziqro-global-toast .ziqro-toast-icon {
  font-size: 15px !important;
  line-height: 1 !important;
}

.ziqro-global-toast .ziqro-toast-text {
  line-height: 1.3 !important;
}

/* Dark mode toast colors */
.ziqro-global-toast.ziqro-toast-trash,
.ziqro-global-toast.ziqro-toast-delete {
  background: rgba(28, 20, 24, 0.95) !important;
  border: 1px solid rgba(239, 68, 68, 0.45) !important;
  color: #fca5a5 !important;
}

.ziqro-global-toast.ziqro-toast-trash .ziqro-toast-icon,
.ziqro-global-toast.ziqro-toast-delete .ziqro-toast-icon {
  color: #f87171 !important;
}

.ziqro-global-toast.ziqro-toast-success {
  background: rgba(16, 28, 24, 0.95) !important;
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  color: #6ee7b7 !important;
}

.ziqro-global-toast.ziqro-toast-success .ziqro-toast-icon {
  color: #34d399 !important;
}

.ziqro-global-toast.ziqro-toast-info {
  background: rgba(16, 24, 38, 0.95) !important;
  border: 1px solid rgba(56, 189, 248, 0.45) !important;
  color: #7dd3fc !important;
}

.ziqro-global-toast.ziqro-toast-info .ziqro-toast-icon {
  color: #38bdf8 !important;
}

/* Light mode toast colors */
html.ziqro-light-mode .ziqro-global-toast.ziqro-toast-trash,
body.ziqro-light-mode .ziqro-global-toast.ziqro-toast-trash,
html.ziqro-light-mode .ziqro-global-toast.ziqro-toast-delete,
body.ziqro-light-mode .ziqro-global-toast.ziqro-toast-delete {
  background: rgba(254, 242, 242, 0.98) !important;
  border-color: rgba(239, 68, 68, 0.35) !important;
  color: #b91c1c !important;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.15), 0 0 0 1px rgba(239, 68, 68, 0.1) !important;
}

html.ziqro-light-mode .ziqro-global-toast.ziqro-toast-trash .ziqro-toast-icon,
body.ziqro-light-mode .ziqro-global-toast.ziqro-toast-trash .ziqro-toast-icon,
html.ziqro-light-mode .ziqro-global-toast.ziqro-toast-delete .ziqro-toast-icon,
body.ziqro-light-mode .ziqro-global-toast.ziqro-toast-delete .ziqro-toast-icon {
  color: #dc2626 !important;
}

html.ziqro-light-mode .ziqro-global-toast.ziqro-toast-success,
body.ziqro-light-mode .ziqro-global-toast.ziqro-toast-success {
  background: rgba(240, 253, 244, 0.98) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #047857 !important;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15), 0 0 0 1px rgba(16, 185, 129, 0.1) !important;
}

html.ziqro-light-mode .ziqro-global-toast.ziqro-toast-success .ziqro-toast-icon,
body.ziqro-light-mode .ziqro-global-toast.ziqro-toast-success .ziqro-toast-icon {
  color: #059669 !important;
}

/* ==========================================================================
   Search Input Pill Styling
   ========================================================================== */
.messageList .ziqro-search-pill {
  display: flex !important;
  align-items: center !important;
  flex: 0 1 300px !important;
  max-width: 300px !important;
  width: 100% !important;
  min-width: 0 !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  padding: 0 10px !important;
  margin: 0 8px !important;
  height: 32px !important;
  position: relative !important;
  transition: all 0.2s ease !important;
}

.messageList .ziqro-search-pill:focus-within {
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: #00d4ff !important;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2) !important;
}

.messageList .ziqro-search-icon-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 4px 0 0 !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  color: #94a3b8 !important;
  flex-shrink: 0 !important;
}

.messageList .ziqro-search-pill .inputSearch {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: #ffffff !important;
  font-size: 13px !important;
  padding: 0 6px !important;
  height: 100% !important;
  flex: 1 1 auto !important;
  min-width: 0 !important;
  width: 100% !important;
}

.messageList .ziqro-search-pill .inputSearch::placeholder {
  color: #64748b !important;
}

.messageList .ziqro-search-pill .closeSearch {
  color: #94a3b8 !important;
  font-size: 16px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  padding: 0 4px !important;
  flex-shrink: 0 !important;
  line-height: 1 !important;
}

.messageList .ziqro-search-pill .closeSearch:hover {
  color: #ffffff !important;
}

/* Light mode */
html.ziqro-light-mode .messageList .ziqro-search-pill,
body.ziqro-light-mode .messageList .ziqro-search-pill {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05) !important;
}

html.ziqro-light-mode .messageList .ziqro-search-pill:focus-within,
body.ziqro-light-mode .messageList .ziqro-search-pill:focus-within {
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2) !important;
}

html.ziqro-light-mode .messageList .ziqro-search-pill .inputSearch,
body.ziqro-light-mode .messageList .ziqro-search-pill .inputSearch {
  color: #0f172a !important;
}

html.ziqro-light-mode .messageList .ziqro-search-pill .inputSearch::placeholder,
body.ziqro-light-mode .messageList .ziqro-search-pill .inputSearch::placeholder {
  color: #94a3b8 !important;
}

/* ==========================================================================
   Folder Title Bar (under Search Box)
   ========================================================================== */
.ziqro-folder-title-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 13px 18px 11px 18px !important;
  margin: 0 !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  flex-shrink: 0 !important;
}

.ziqro-folder-title-wrap {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 0 !important;
}

.ziqro-folder-headline {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 17.5px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  color: #f8fafc !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.ziqro-folder-unread-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(0, 212, 255, 0.12) !important;
  color: #00d4ff !important;
  border: 1px solid rgba(0, 212, 255, 0.28) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  line-height: 1 !important;
  letter-spacing: 0.02em !important;
}

/* Light mode */
html.ziqro-light-mode .ziqro-folder-title-bar,
body.ziqro-light-mode .ziqro-folder-title-bar {
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
  background: transparent !important;
}

html.ziqro-light-mode .ziqro-folder-headline,
body.ziqro-light-mode .ziqro-folder-headline {
  color: #0f172a !important;
}

html.ziqro-light-mode .ziqro-folder-unread-badge,
body.ziqro-light-mode .ziqro-folder-unread-badge {
  background: rgba(2, 132, 199, 0.1) !important;
  color: #0284c7 !important;
  border-color: rgba(2, 132, 199, 0.25) !important;
}

/* ==========================================================================
   Inbox Folder Reload Button (Sidebar Edge)
   ========================================================================== */
.b-folders .ziqro-inbox-reload-btn {
  position: absolute !important;
  right: 12px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  padding: 3px 5px !important;
  margin: 0 !important;
  border-radius: 6px !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  z-index: 5 !important;
  opacity: 0.65 !important;
  line-height: 1 !important;
}

.b-folders li a[data-unread] .ziqro-inbox-reload-btn {
  right: 36px !important;
}

.b-folders .ziqro-inbox-reload-btn:hover {
  color: #00d4ff !important;
  background: rgba(0, 212, 255, 0.12) !important;
  opacity: 1 !important;
}

.b-folders .ziqro-inbox-reload-btn.is-loading .ziqro-reload-icon {
  animation: ziqroSpin 0.75s cubic-bezier(0.4, 0, 0.2, 1) infinite !important;
  color: #00d4ff !important;
}

/* Light mode */
html.ziqro-light-mode .b-folders .ziqro-inbox-reload-btn,
body.ziqro-light-mode .b-folders .ziqro-inbox-reload-btn {
  color: #64748b !important;
}

html.ziqro-light-mode .b-folders .ziqro-inbox-reload-btn:hover,
body.ziqro-light-mode .b-folders .ziqro-inbox-reload-btn:hover {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.1) !important;
}

html.ziqro-light-mode .b-folders .ziqro-inbox-reload-btn.is-loading .ziqro-reload-icon,
body.ziqro-light-mode .b-folders .ziqro-inbox-reload-btn.is-loading .ziqro-reload-icon {
  color: #0284c7 !important;
}

/* ==========================================================================
   Unified Top Toolbar & Selection Actions
   ========================================================================== */
#V-MailMessageList .messageList {
  height: 100% !important;
  border-top: none !important;
}

.messageList .second-toolbar {
  display: flex !important;
  align-items: center !important;
  padding: 8px 14px !important;
  min-height: 48px !important;
  box-sizing: border-box !important;
  background: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.second-toolbar .checkboxCheckAll {
  margin: 0 10px 0 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  cursor: pointer !important;
}

.second-toolbar .ziqro-selection-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  margin-right: 8px !important;
  flex-shrink: 0 !important;
}

/* ==========================================================================
   Top Right System Controls Island
   ========================================================================== */
#V-SystemDropDown {
  position: absolute !important;
  top: 8px !important;
  right: 14px !important;
  padding: 0 !important;
  z-index: 103 !important;
}

.ziqro-top-system-toolbar {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ziqro-layout-toggle-btn,
.ziqro-theme-toggle-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  min-height: 32px !important;
  max-width: 32px !important;
  max-height: 32px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
  padding: 0 !important;
  margin: 0 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.ziqro-layout-toggle-btn:hover,
.ziqro-theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #00d4ff !important;
  color: #00d4ff !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.25) !important;
}

.ziqro-account-pill {
  height: 32px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 20px !important;
  padding: 0 12px 0 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.ziqro-account-pill:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: #00d4ff !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.25) !important;
}

/* Light mode */
html.ziqro-light-mode .messageList .second-toolbar,
body.ziqro-light-mode .messageList .second-toolbar {
  border-bottom-color: rgba(0, 0, 0, 0.06) !important;
}

html.ziqro-light-mode .ziqro-layout-toggle-btn,
body.ziqro-light-mode .ziqro-layout-toggle-btn,
html.ziqro-light-mode .ziqro-theme-toggle-btn,
body.ziqro-light-mode .ziqro-theme-toggle-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #64748b !important;
}

html.ziqro-light-mode .ziqro-layout-toggle-btn:hover,
body.ziqro-light-mode .ziqro-layout-toggle-btn:hover,
html.ziqro-light-mode .ziqro-theme-toggle-btn:hover,
body.ziqro-light-mode .ziqro-theme-toggle-btn:hover {
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.2) !important;
}

html.ziqro-light-mode .ziqro-account-pill,
body.ziqro-light-mode .ziqro-account-pill {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
}

html.ziqro-light-mode .ziqro-account-pill:hover,
body.ziqro-light-mode .ziqro-account-pill:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.2) !important;
}

/* --- Left Folder Sidebar & Brand Header --- */
.ziqro-sidebar-brand-header {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  padding: 16px 16px 10px 16px !important;
  min-height: 52px !important;
  height: auto !important;
  box-sizing: border-box !important;
  user-select: none !important;
}

.ziqro-brand-badge {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  border-radius: 8px !important;
  background: linear-gradient(135deg, #00d4ff, #0070f3) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.35) !important;
  flex-shrink: 0 !important;
}

.ziqro-brand-title {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1 !important;
}

.ziqro-sidebar-brand-header .ziqro-brand-name {
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: 0.9px !important;
  color: #ffffff !important;
  text-transform: uppercase !important;
}

.ziqro-brand-divider {
  font-size: 13.5px !important;
  font-weight: 300 !important;
  color: rgba(255, 255, 255, 0.35) !important;
  margin: 0 1px !important;
}

.ziqro-brand-tag {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #cbd5e1 !important;
  letter-spacing: 0.3px !important;
}

html.rl-left-panel-disabled .ziqro-sidebar-brand-header {
  justify-content: center !important;
  padding: 14px 4px 10px 4px !important;
}

html.rl-left-panel-disabled .ziqro-brand-title {
  display: none !important;
}

.ziqro-folder-toolbar {
  padding: 10px 14px 14px 14px !important;
  display: flex !important;
  align-items: center !important;
}

html.ziqro-light-mode .ziqro-sidebar-brand-header .ziqro-brand-badge,
body.ziqro-light-mode .ziqro-sidebar-brand-header .ziqro-brand-badge {
  background: linear-gradient(135deg, #0284c7, #2563eb) !important;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3) !important;
}

html.ziqro-light-mode .ziqro-sidebar-brand-header .ziqro-brand-name,
body.ziqro-light-mode .ziqro-sidebar-brand-header .ziqro-brand-name {
  color: #0f172a !important;
}

html.ziqro-light-mode .ziqro-sidebar-brand-header .ziqro-brand-divider,
body.ziqro-light-mode .ziqro-sidebar-brand-header .ziqro-brand-divider {
  color: #cbd5e1 !important;
}

html.ziqro-light-mode .ziqro-sidebar-brand-header .ziqro-brand-tag,
body.ziqro-light-mode .ziqro-sidebar-brand-header .ziqro-brand-tag {
  color: #475569 !important;
}

/* Modernized Compose Popup Box */
#V-PopupsCompose:not([open]) {
  display: none !important;
  pointer-events: none !important;
}

#V-PopupsCompose[open] {
  width: 820px !important;
  max-width: 95vw !important;
  height: 85vh !important;
  max-height: 850px !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  background: #0f1117 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 35px rgba(0, 212, 255, 0.12) !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  pointer-events: auto !important;
}

#V-PopupsCompose .ziqro-compose-header {
  background: rgba(18, 20, 29, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 10px 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 52px !important;
  box-sizing: border-box !important;
}

.ziqro-compose-header-left {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.ziqro-compose-send-btn {
  background: linear-gradient(135deg, #00d4ff, #0070f3) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 6px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  box-shadow: 0 2px 10px rgba(0, 212, 255, 0.4) !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.ziqro-compose-send-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 14px rgba(0, 212, 255, 0.55) !important;
  color: #ffffff !important;
}

.ziqro-compose-save-btn {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 8px !important;
  color: #cbd5e1 !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  padding: 6px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
}

.ziqro-compose-save-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(0, 212, 255, 0.4) !important;
  color: #00d4ff !important;
}

.ziqro-compose-delete-btn {
  background: rgba(239, 68, 68, 0.12) !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
  border-radius: 8px !important;
  color: #f87171 !important;
  padding: 6px 9px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.2s ease !important;
}

.ziqro-compose-delete-btn:hover {
  background: rgba(239, 68, 68, 0.25) !important;
  border-color: rgba(239, 68, 68, 0.6) !important;
  color: #ffffff !important;
}

.ziqro-compose-saved-badge {
  font-size: 11.5px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  padding: 2px 8px !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.ziqro-compose-header-right {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.ziqro-tag-btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  color: #94a3b8 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  transition: all 0.15s ease !important;
}

.ziqro-tag-btn:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  color: #00d4ff !important;
  border-color: rgba(0, 212, 255, 0.3) !important;
}

.ziqro-window-btn {
  width: 28px !important;
  height: 28px !important;
  border-radius: 6px !important;
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #94a3b8 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
  margin-left: 2px !important;
  line-height: 1 !important;
}

.ziqro-window-btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.ziqro-close-btn:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  border-color: rgba(239, 68, 68, 0.5) !important;
  color: #f87171 !important;
}

#V-PopupsCompose .ziqro-compose-fields {
  padding: 10px 18px 8px 18px !important;
  background: rgba(14, 16, 24, 0.7) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

#V-PopupsCompose .ziqro-compose-fields table {
  width: 100% !important;
  border-collapse: separate !important;
  border-spacing: 0 4px !important;
}

#V-PopupsCompose .ziqro-field-label {
  width: 65px !important;
  font-size: 12.5px !important;
  font-weight: 600 !important;
  color: #64748b !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  vertical-align: middle !important;
}

.ziqro-sender-badge {
  display: inline-flex !important;
  align-items: center !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.08) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
  padding: 3px 10px !important;
  border-radius: 6px !important;
}

.ziqro-compose-input {
  width: 100% !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  color: #f1f5f9 !important;
  font-size: 13.5px !important;
  padding: 6px 12px !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.ziqro-compose-input:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(0, 212, 255, 0.5) !important;
  box-shadow: 0 0 10px rgba(0, 212, 255, 0.2) !important;
  outline: none !important;
}

.ziqro-subject-input {
  font-weight: 600 !important;
  color: #ffffff !important;
}

#V-PopupsCompose .tag {
  background: rgba(0, 212, 255, 0.12) !important;
  border: 1px solid rgba(0, 212, 255, 0.3) !important;
  border-radius: 6px !important;
  color: #e0f2fe !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  padding: 2px 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  margin: 2px 4px 2px 0 !important;
}

/* Editor & Tabs Grid */
#V-PopupsCompose .ziqro-compose-body,
#V-PopupsCompose .modal-body {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
  height: 100% !important;
}

#V-PopupsCompose .ziqro-compose-fields {
  flex-shrink: 0 !important;
}

#V-PopupsCompose .tabs {
  display: grid !important;
  grid-template-columns: repeat(3, max-content) 1fr !important;
  grid-template-rows: min-content minmax(0, 1fr) !important;
  height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  overflow: hidden !important;
  border: none !important;
  background: transparent !important;
}

#V-PopupsCompose .tabs > input[type="radio"] {
  position: absolute !important;
  top: 0 !important;
  left: -9999px !important;
  display: none !important;
}

#V-PopupsCompose .tabs > label {
  grid-row-start: 1 !important;
  padding: 8px 18px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #94a3b8 !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  background: rgba(255, 255, 255, 0.02) !important;
  cursor: pointer !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.15s ease !important;
  opacity: 0.7 !important;
  flex-shrink: 0 !important;
}

#V-PopupsCompose .tabs > label:hover {
  color: #f1f5f9 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  opacity: 0.9 !important;
}

#V-PopupsCompose .tabs > [id^="tab"]:checked + label {
  color: #00d4ff !important;
  font-weight: 600 !important;
  background: rgba(0, 212, 255, 0.08) !important;
  border-bottom: 2px solid #00d4ff !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

#V-PopupsCompose .tabs .tab-content {
  grid-column: 1 / -1 !important;
  grid-row-start: 2 !important;
  visibility: hidden !important;
  height: 100% !important;
  min-height: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

#V-PopupsCompose .tabs > [id^="tab"]:checked + label + .tab-content {
  visibility: visible !important;
}

#V-PopupsCompose .textAreaParent {
  height: 100% !important;
  min-height: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  background: transparent !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

#V-PopupsCompose .squire-toolbar,
#V-PopupsCompose .editor-toolbar,
#V-PopupsCompose .toolbar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 4px 6px !important;
  padding: 6px 12px !important;
  background: rgba(14, 16, 24, 0.7) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  height: auto !important;
  min-height: 38px !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important;
}

/* Hide rogue unstyled color inputs in toolbar */
#V-PopupsCompose .squire-toolbar input[type="color"] {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#V-PopupsCompose .squire-toolbar .btn-group {
  display: inline-flex !important;
  align-items: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  flex-shrink: 0 !important;
}

#V-PopupsCompose .squire-toolbar button.btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  color: #cbd5e1 !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  line-height: 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}

#V-PopupsCompose .squire-toolbar button.btn:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(0, 212, 255, 0.4) !important;
  color: #00d4ff !important;
}

#V-PopupsCompose .squire-toolbar button.btn.active {
  background: rgba(0, 212, 255, 0.15) !important;
  border-color: #00d4ff !important;
  color: #00d4ff !important;
}

#V-PopupsCompose .squire-toolbar select.btn {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 6px !important;
  color: #cbd5e1 !important;
  font-size: 11.5px !important;
  padding: 0 6px !important;
  height: 26px !important;
  outline: none !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

#V-PopupsCompose .squire-toolbar select.btn:hover {
  border-color: rgba(0, 212, 255, 0.4) !important;
  color: #00d4ff !important;
}

#V-PopupsCompose .squire-toolbar select.btn option,
#V-PopupsCompose .squire-toolbar select.btn optgroup {
  background: #1e2029 !important;
  color: #f1f5f9 !important;
}

/* Editor Body (Dark Mode) */
#V-PopupsCompose .squire-wysiwyg,
#V-PopupsCompose .squire-plain,
#V-PopupsCompose .textAreaParent iframe,
#V-PopupsCompose .textAreaParent textarea,
#V-PopupsCompose .textAreaParent [contenteditable="true"] {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 16px 18px !important;
  box-sizing: border-box !important;
  color: #f1f5f9 !important;
  font-size: 14.5px !important;
  line-height: 1.6 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  overflow-y: auto !important;
}

#V-PopupsCompose .squire-wysiwyg * {
  color: inherit;
}

#V-PopupsCompose .attachmentAreaParent {
  height: 100% !important;
  min-height: 200px !important;
  padding: 16px !important;
  overflow-y: auto !important;
  box-sizing: border-box !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Attachments */
.ziqro-attachment-chip {
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 6px 12px !important;
  transition: all 0.2s ease !important;
}

.ziqro-attachment-chip:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(0, 212, 255, 0.3) !important;
}

.ziqro-drop-place {
  border: 2px dashed rgba(0, 212, 255, 0.4) !important;
  border-radius: 12px !important;
  background: rgba(0, 212, 255, 0.04) !important;
  color: #38bdf8 !important;
  font-weight: 600 !important;
}

/* Light Mode Tabs */
html.ziqro-light-mode #V-PopupsCompose .tabs > label,
body.ziqro-light-mode #V-PopupsCompose .tabs > label {
  color: #64748b !important;
  background: rgba(0, 0, 0, 0.02) !important;
}

html.ziqro-light-mode #V-PopupsCompose .tabs > label:hover,
body.ziqro-light-mode #V-PopupsCompose .tabs > label:hover {
  color: #0f172a !important;
  background: rgba(0, 0, 0, 0.04) !important;
}

html.ziqro-light-mode #V-PopupsCompose .tabs > [id^="tab"]:checked + label,
body.ziqro-light-mode #V-PopupsCompose .tabs > [id^="tab"]:checked + label {
  color: #0284c7 !important;
  background: rgba(2, 132, 199, 0.06) !important;
  border-bottom: 2px solid #0284c7 !important;
}

html.ziqro-light-mode #V-PopupsCompose .attachmentAreaParent,
body.ziqro-light-mode #V-PopupsCompose .attachmentAreaParent {
  border-top: 1px solid #e2e8f0 !important;
}

/* Light Mode Modal & Toolbar */
html.ziqro-light-mode #V-PopupsCompose,
body.ziqro-light-mode #V-PopupsCompose {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 0 25px rgba(2, 132, 199, 0.1) !important;
}

html.ziqro-light-mode #V-PopupsCompose .ziqro-compose-header,
body.ziqro-light-mode #V-PopupsCompose .ziqro-compose-header {
  background: #f8fafc !important;
  border-bottom-color: #e2e8f0 !important;
}

html.ziqro-light-mode .ziqro-compose-save-btn,
body.ziqro-light-mode .ziqro-compose-save-btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html.ziqro-light-mode .ziqro-compose-save-btn:hover,
body.ziqro-light-mode .ziqro-compose-save-btn:hover {
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.ziqro-light-mode #V-PopupsCompose .ziqro-compose-fields,
body.ziqro-light-mode #V-PopupsCompose .ziqro-compose-fields {
  background: #f8fafc !important;
  border-bottom-color: #e2e8f0 !important;
}

html.ziqro-light-mode .ziqro-compose-input,
body.ziqro-light-mode .ziqro-compose-input {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #0f172a !important;
}

html.ziqro-light-mode .ziqro-compose-input:focus,
body.ziqro-light-mode .ziqro-compose-input:focus {
  border-color: #0284c7 !important;
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.2) !important;
}

/* Light Mode Squire Toolbar & Editor */
html.ziqro-light-mode #V-PopupsCompose .squire-toolbar,
html.ziqro-light-mode #V-PopupsCompose .editor-toolbar,
html.ziqro-light-mode #V-PopupsCompose .toolbar,
body.ziqro-light-mode #V-PopupsCompose .squire-toolbar,
body.ziqro-light-mode #V-PopupsCompose .editor-toolbar,
body.ziqro-light-mode #V-PopupsCompose .toolbar {
  background: #f8fafc !important;
  border-bottom-color: #e2e8f0 !important;
}

html.ziqro-light-mode #V-PopupsCompose .squire-toolbar button.btn,
body.ziqro-light-mode #V-PopupsCompose .squire-toolbar button.btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html.ziqro-light-mode #V-PopupsCompose .squire-toolbar button.btn:hover,
body.ziqro-light-mode #V-PopupsCompose .squire-toolbar button.btn:hover {
  background: #f1f5f9 !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.ziqro-light-mode #V-PopupsCompose .squire-toolbar button.btn.active,
body.ziqro-light-mode #V-PopupsCompose .squire-toolbar button.btn.active {
  background: rgba(2, 132, 199, 0.1) !important;
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.ziqro-light-mode #V-PopupsCompose .squire-toolbar select.btn,
body.ziqro-light-mode #V-PopupsCompose .squire-toolbar select.btn {
  background: #ffffff !important;
  border-color: #cbd5e1 !important;
  color: #334155 !important;
}

html.ziqro-light-mode #V-PopupsCompose .squire-toolbar select.btn:hover,
body.ziqro-light-mode #V-PopupsCompose .squire-toolbar select.btn:hover {
  border-color: #0284c7 !important;
  color: #0284c7 !important;
}

html.ziqro-light-mode #V-PopupsCompose .squire-toolbar select.btn option,
html.ziqro-light-mode #V-PopupsCompose .squire-toolbar select.btn optgroup,
body.ziqro-light-mode #V-PopupsCompose .squire-toolbar select.btn option,
body.ziqro-light-mode #V-PopupsCompose .squire-toolbar select.btn optgroup {
  background: #ffffff !important;
  color: #0f172a !important;
}

html.ziqro-light-mode #V-PopupsCompose .squire-wysiwyg,
html.ziqro-light-mode #V-PopupsCompose .squire-plain,
html.ziqro-light-mode #V-PopupsCompose .textAreaParent iframe,
html.ziqro-light-mode #V-PopupsCompose .textAreaParent textarea,
html.ziqro-light-mode #V-PopupsCompose .textAreaParent [contenteditable="true"],
body.ziqro-light-mode #V-PopupsCompose .squire-wysiwyg,
body.ziqro-light-mode #V-PopupsCompose .squire-plain,
body.ziqro-light-mode #V-PopupsCompose .textAreaParent iframe,
body.ziqro-light-mode #V-PopupsCompose .textAreaParent textarea,
body.ziqro-light-mode #V-PopupsCompose .textAreaParent [contenteditable="true"] {
  color: #0f172a !important;
  background: #ffffff !important;
}

html.ziqro-light-mode #V-PopupsCompose .squire-wysiwyg *,
body.ziqro-light-mode #V-PopupsCompose .squire-wysiwyg * {
  color: #0f172a !important;
}

/* ==========================================================================
   Mobile-Responsive Rules for Inbox Toolbar, Menu Button & Mobile FAB
   ========================================================================== */
.ziqro-mobile-menu-btn,
.ziqro-mobile-fab-compose {
  display: none !important;
}

@media screen and (max-width: 799px) {
  /* 1. Mobile Menu Toggle Button (☰) */
  .ziqro-mobile-menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
    cursor: pointer !important;
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
  }

  .ziqro-mobile-menu-btn:hover,
  .ziqro-mobile-menu-btn:active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #00d4ff !important;
    border-color: rgba(0, 212, 255, 0.35) !important;
  }

  html.ziqro-light-mode .ziqro-mobile-menu-btn,
  body.ziqro-light-mode .ziqro-mobile-menu-btn {
    background: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
  }

  html.ziqro-light-mode .ziqro-mobile-menu-btn:hover,
  html.ziqro-light-mode .ziqro-mobile-menu-btn:active,
  body.ziqro-light-mode .ziqro-mobile-menu-btn:hover,
  body.ziqro-light-mode .ziqro-mobile-menu-btn:active {
    border-color: #0284c7 !important;
    color: #0284c7 !important;
  }

  /* 2. Mobile Floating Action Button (FAB) */
  .ziqro-mobile-fab-compose {
    display: inline-flex !important;
    position: fixed !important;
    bottom: 22px !important;
    right: 20px !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, #00d4ff, #0070f3) !important;
    box-shadow: 0 6px 20px rgba(0, 212, 255, 0.45) !important;
    color: #ffffff !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 95 !important;
    border: none !important;
    cursor: pointer !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
  }

  .ziqro-mobile-fab-compose:active {
    transform: scale(0.92) !important;
  }

  html.ziqro-light-mode .ziqro-mobile-fab-compose,
  body.ziqro-light-mode .ziqro-mobile-fab-compose {
    background: linear-gradient(135deg, #0284c7, #2563eb) !important;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4) !important;
  }

  /* 3. Top-Right System Controls & Toolbar Spacing on Mobile */
  #V-SystemDropDown {
    top: 8px !important;
    right: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
    z-index: 103 !important;
  }

  #V-MailMessageList .second-toolbar {
    padding: 8px 8px !important;
    padding-right: 148px !important;
  }

  #V-MailMessageList .second-toolbar .checkboxCheckAll {
    margin: 0 6px 0 0 !important;
  }

  #V-MailMessageList .second-toolbar .ziqro-search-pill {
    min-width: 0 !important;
    height: 32px !important;
    padding: 0 8px 0 26px !important;
  }

  #V-MailMessageList .second-toolbar .ziqro-search-pill .ziqro-search-icon-btn {
    left: 6px !important;
    width: 13px !important;
    height: 13px !important;
  }

  #V-MailMessageList .second-toolbar .ziqro-search-pill input.inputSearch {
    font-size: 12px !important;
    padding: 0 !important;
  }

  #V-MailMessageList .second-toolbar .buttonMoreSearch {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    padding: 0 !important;
    margin-left: 4px !important;
  }

  /* Hide System Controls ONLY during email selection OR while reading an email */
  .has-checked-items #V-SystemDropDown,
  .messageList.has-checked-items ~ #V-SystemDropDown,
  :is(#ziqro-content, #rl-content):has(.has-checked-items) #V-SystemDropDown,
  :is(#ziqro-app, #rl-app):has(.has-checked-items) #V-SystemDropDown,
  body.has-checked-items #V-SystemDropDown,
  body:has(.has-checked-items) #V-SystemDropDown,
  .message-selected #V-SystemDropDown,
  html.message-selected #V-SystemDropDown,
  body.message-selected #V-SystemDropDown {
    display: none !important;
  }

  .messageList.has-checked-items .second-toolbar {
    padding-right: 12px !important;
  }

  .messageList.has-checked-items .second-toolbar .ziqro-selection-actions {
    flex: 1 1 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin-right: 0 !important;
  }

  .message-selected .top-toolbar {
    padding-right: 12px !important;
  }

  /* 4. Left Sidebar Drawer Polish on Mobile */
  :is(#ziqro-left, #rl-left) {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 275px !important;
    max-width: 82vw !important;
    background: #0f1117 !important;
    border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.75) !important;
    z-index: 150 !important;
  }

  html.ziqro-light-mode :is(#ziqro-left, #rl-left),
  body.ziqro-light-mode :is(#ziqro-left, #rl-left) {
    background: #ffffff !important;
    border-right-color: #cbd5e1 !important;
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.15) !important;
  }

  html.rl-left-panel-disabled :is(#ziqro-left, #rl-left) {
    display: none !important;
  }

  /* Drawer backdrop overlay */
  html:not(.rl-left-panel-disabled) body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 140;
    pointer-events: none;
  }

  /* 5. Mobile Compose Modal */
  #V-PopupsCompose[open] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    z-index: 1050 !important;
  }

  /* Hide FAB while compose or contacts is open */
  :is(#ziqro-app, #rl-app):has(#V-PopupsCompose[open]) .ziqro-mobile-fab-compose,
  :is(#ziqro-app, #rl-app):has(#V-PopupsContacts[open]) .ziqro-mobile-fab-compose,
  body:has(#V-PopupsCompose[open]) .ziqro-mobile-fab-compose,
  body:has(#V-PopupsContacts[open]) .ziqro-mobile-fab-compose {
    display: none !important;
  }

  #V-PopupsCompose .ziqro-compose-header {
    padding: 8px 10px !important;
    min-height: 48px !important;
  }

  #V-PopupsCompose .ziqro-compose-header .hide-mobile {
    display: none !important;
  }

  #V-PopupsCompose .ziqro-compose-header-left {
    gap: 6px !important;
  }

  #V-PopupsCompose .ziqro-compose-header-right {
    gap: 4px !important;
  }

  #V-PopupsCompose .ziqro-compose-send-btn {
    padding: 6px 12px !important;
    font-size: 12.5px !important;
  }

  #V-PopupsCompose .ziqro-compose-fields {
    padding: 8px 10px 4px 10px !important;
  }

  #V-PopupsCompose .ziqro-compose-fields table {
    width: 100% !important;
  }

  #V-PopupsCompose .ziqro-compose-fields td.ziqro-field-label,
  #V-PopupsCompose .ziqro-compose-fields label.ziqro-field-label {
    font-size: 11px !important;
    padding-right: 6px !important;
    min-width: 50px !important;
  }

  #V-PopupsCompose .ziqro-compose-input {
    font-size: 13px !important;
    padding: 6px 10px !important;
  }

  /* 6. Mobile Contacts Modal */
  #V-PopupsContacts[open] {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100vh !important;
    max-height: 100dvh !important;
    border-radius: 0 !important;
    border: none !important;
    margin: 0 !important;
    z-index: 1050 !important;
  }

  #V-PopupsContacts .b-header-toolbar {
    padding: 8px 10px !important;
    min-height: 48px !important;
    height: 48px !important;
    box-sizing: border-box !important;
  }

  #V-PopupsContacts .b-header-toolbar .btn-toolbar {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
  }

  #V-PopupsContacts .b-header-toolbar .ziqro-btn-primary {
    padding: 0 10px !important;
    height: 32px !important;
    font-size: 12.5px !important;
  }

  #V-PopupsContacts .b-header-toolbar .btn:not(.ziqro-btn-primary):not([style*="none"]) {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #V-PopupsContacts .b-header-toolbar .close {
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 20px !important;
  }

  #V-PopupsContacts .modal-body.ziqro-contacts-modal-body {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    width: 100% !important;
    height: calc(100% - 48px) !important;
    overflow: hidden !important;
  }

  #V-PopupsContacts .left {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    border-right: none !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
  }

  #V-PopupsContacts .right {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 15 !important;
    background: #0f1117 !important;
    display: none !important;
    flex-direction: column !important;
    overflow-y: auto !important;
  }

  /* Show right pane when a contact is selected / editing */
  #V-PopupsContacts .right:has(.tabs:not([style*="none"])) {
    display: flex !important;
  }

  .ziqro-contact-mobile-nav {
    display: block !important;
    padding: 10px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    background: rgba(255, 255, 255, 0.02) !important;
  }

  .ziqro-contact-back-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #00d4ff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    cursor: pointer !important;
  }

  html.ziqro-light-mode #V-PopupsContacts .right,
  body.ziqro-light-mode #V-PopupsContacts .right {
    background: #ffffff !important;
  }

  html.ziqro-light-mode .ziqro-contact-mobile-nav,
  body.ziqro-light-mode .ziqro-contact-mobile-nav {
    border-bottom-color: #e2e8f0 !important;
    background: #f8fafc !important;
  }

  html.ziqro-light-mode .ziqro-contact-back-btn,
  body.ziqro-light-mode .ziqro-contact-back-btn {
    color: #0284c7 !important;
  }

  #V-PopupsContacts .ziqro-two-col-row {
    flex-direction: column !important;
    gap: 8px !important;
  }
}

/* Login Portal Background Protection */
.LoginView {
  opacity: 1 !important;
}
body:has(#V-Login:not([hidden])),
html:has(#V-Login:not([hidden])),
body.ziqro-theme-split_glass,
html.ziqro-theme-split_glass {
  background-color: #090d16 !important;
}
