@font-face {
    font-family: 'robotoblack_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-blackitalic-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-blackitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotobold';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-bold-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotobold_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-bolditalic-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-bolditalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoitalic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-italic-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-italic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoblack';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-black-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-black-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotolight';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-light-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotolight_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-lightitalic-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-lightitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotomedium';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-medium-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-medium-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotomedium_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-mediumitalic-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-mediumitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotoregular';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-regular-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotothin';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-thin-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-thin-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'robotothin_italic';
    src: url('/templates/lagom2/assets/fonts/roboto/roboto-thinitalic-webfont.woff2') format('woff2'),
        url('/templates/lagom2/assets/fonts/roboto/roboto-thinitalic-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* Table/action overrides to ensure consistent look across pages */
.table.table-bordered th,
.table.table-bordered td,
.table.dataTable thead th,
.table.dataTable tbody td {
    border-left: 0 !important;
    border-right: 0 !important;
}

.table-actions-group .btn:first-child,
.table-actions-group .btn:first-child:disabled,
.table-actions-group .btn:first-child.disabled {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

.table-actions-group .btn:last-child,
.table-actions-group .btn:last-child:disabled,
.table-actions-group .btn:last-child.disabled {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.table-actions-group .btn:not(:first-child),
.table-actions-group .btn-group>.btn,
.table-actions-group .btn-group>.btn.dropdown-toggle {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

/* Moved from vars/custom.css (tables/panels/datatable styling) */
.panel-heading {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-heading h2,
.panel-heading h3,
.panel-heading h4 {
    margin: 0;
    color: #eef4fb;
}

.panel-body {
    padding: 16px 20px 20px;
}

.panel-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-footer .panel-left {
    margin-left: -20px;
}

.table {
    width: 100%;
    color: #dbe4f0;
    background: transparent;
    border-collapse: separate;
    border-spacing: 0;
}

.table thead th {
    font-weight: 600;
    color: #b8c2d3;
    background: rgba(255, 255, 255, 0.04);
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table tbody td {
    padding: 12px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: #eef4fb;
}

.table-bordered {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
}

.table-bordered th,
.table-bordered td {
    border-right: 0;
}

.table-bordered th,
.table-bordered td,
.table>thead>tr>th,
.table>tbody>tr>td {
    border-left: 0 !important;
}

.table-bordered th,
.table-bordered td,
.table.dataTable thead th,
.table.dataTable tbody td {
    border-right: 0 !important;
    border-left: 0 !important;
}

.table-bordered th:last-child,
.table-bordered td:last-child {
    border-right: 0;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: transparent;
}

/* Unified table + toolbar styling */
.status-grid {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    margin-left: 0;
    margin-right: 0;
}

.status-grid .info-tile {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 12px 24px rgba(12, 18, 28, 0.2);
}

.status-grid .status-tile-col {
    flex: 1 1 calc((100% - 64px) / 5);
    max-width: calc((100% - 64px) / 5);
    padding: 0;
}

.status-grid--four .status-tile-col {
    flex: 1 1 calc((100% - 48px) / 4);
    max-width: calc((100% - 48px) / 4);
}

.status-grid--six .status-tile-col {
    flex: 1 1 calc((100% - 80px) / 6);
    max-width: calc((100% - 80px) / 6);
}

@media (max-width: 1199px) {
    .status-grid .status-tile-col {
        flex-basis: calc((100% - 32px) / 3);
        max-width: calc((100% - 32px) / 3);
    }
}

@media (max-width: 991px) {
    .status-grid .status-tile-col {
        flex-basis: calc((100% - 16px) / 2);
        max-width: calc((100% - 16px) / 2);
    }
}

@media (max-width: 575px) {
    .status-grid .status-tile-col {
        flex-basis: 100%;
        max-width: 100%;
    }
}

#table-filters {
    display: inline-block;
}

.has-error .domain.help-block {
    color: #819ba8 !important;
}

.table-toolbar-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
}

.table-toolbar__search,
.table-toolbar__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.table-toolbar__actions {
    margin-left: auto;
    justify-content: flex-end;
    flex: 0 0 auto;
}

.table-toolbar__search {
    flex: 1 1 auto;
    min-width: 0;
}

.table-toolbar .dataTables_filter,
.table-toolbar .dataTables_length {
    margin: 0;
}

.table-toolbar .dataTables_filter label,
.table-toolbar .dataTables_length label {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(238, 244, 251, 0.75);
    font-weight: 500;
}

.table-toolbar .dataTables_filter label {
    position: relative;
}

.table-toolbar .dataTables_filter label:before {
    content: "";
    width: 14px;
    height: 14px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(238, 244, 251, 0.6);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(238%2C244%2C251)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    opacity: 0.7;
    pointer-events: none;
}

.container-fluid {
    padding-left: 0px;
    padding-right: 0px;
}

.table-toolbar .dataTables_filter input,
.table-toolbar .dataTables_length select {
    height: 38px;
    border-radius: 6px;
}

.table-toolbar .dataTables_filter input {
    padding-left: 34px;
    min-width: 200px;
    background-repeat: no-repeat;
    background-position: 12px 50%;
    background-size: 14px 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(238%2C244%2C251)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
}

.table-toolbar .btn {
    border-radius: 6px;
}

.stats-legend-table {
    font-size: 12px;
}

.stats-legend-table td {
    padding: 6px 8px;
}

.handles-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.handles-row>[class*="col-"] {
    display: flex;
}

.handles-row .panel {
    width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
}

.details-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.details-row>[class*="col-"] {
    display: flex;
}

.details-row .panel {
    width: 100%;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.02);
}

.handles-row .panel .panel-heading,
.handles-row .panel .panel-body,
.details-row .panel .panel-heading,
.details-row .panel .panel-body {
    border-radius: 0;
}

.handle-summary-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

.handle-summary-row>[class*="col-"] {
    display: flex;
}

.handle-summary-row .panel {
    width: 100%;
}

.modal-flat-table {
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

.modal-flat-table.table {
    border-radius: 0 !important;
}

.handle-contact i {
    display: inline-block;
    width: 16px;
    margin-right: 6px;
    text-align: center;
}

.panel-titel {
    margin: 0;
    color: var(--panel-title-color);
    font-size: 14px;
    font-weight: var(--panel-title-font-weight);
    line-height: var(--panel-title-line-height);
}

.table-panel.panel {
    border-radius: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: visible;
}

.table-panel .panel-heading {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table-panel .panel-heading h2 {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
    order: 1;
}

.table-panel .panel-ctrls {
    display: flex;
    justify-content: flex-end;
    order: 3;
    justify-self: end;
    width: auto;
}

.table-panel .panel-ctrls:empty {
    display: none;
}

.table-panel .panel-heading #table-filters {
    flex: 1 1 auto;
    min-width: 0;
    order: 2;
    justify-self: start;
}

.table-panel .panel-heading .panel-ctrls .dt-buttons {
    margin-left: auto;
    justify-content: flex-end;
}

.table-panel .panel-heading .panel-ctrls .btn-group {
    margin-left: auto;
}

.table-panel .panel-body.panel-no-padding {
    padding: 0;
    overflow-x: auto;
}

.table-panel .dataTables_wrapper {
    padding: 0;
}

.table-panel .dataTables_wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.table-panel .dataTables_wrapper .row>[class*="col-"] {
    padding-left: 0;
    padding-right: 0;
}

.table-panel .table {
    margin-bottom: 0;
    width: 100%;
    border-left: 0;
    border-right: 0;
    table-layout: auto;
    border-radius: 0;
}

.table-panel .table-bordered {
    border-radius: 0;
}

.table-panel .table thead tr {
    background: rgba(255, 255, 255, 0.02);
}

.table-panel .table thead th {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(238, 244, 251, 0.85);
}

.table-panel .table thead,
.table-panel .table thead tr,
.table-panel .table thead th {
    border-top: 0 !important;
}

.table-panel .table>thead>tr>th,
.table-panel .table>tbody>tr>td {
    border-color: rgba(255, 255, 255, 0.06);
}

.table-panel .table tbody tr {
    background: rgba(255, 255, 255, 0.02);
}

.table-panel .table tbody tr:hover {
    background: rgba(255, 255, 255, 0.06);
}

.table-panel .table tbody tr.domain-detail-row,
.table.dataTable tbody tr.domain-detail-row {
    background: transparent !important;
}

.status-success {
    background-color: rgba(145, 199, 150, 0.85);
}

.status-default {
    background-color: rgba(144, 164, 174, 0.85);
}

.status-warning {
    background-color: rgba(227, 193, 142, 0.85);
}

.status-primary {
    background-color: rgba(131, 174, 211, 0.85);
}

.status-danger {
    background-color: rgba(214, 143, 143, 0.85);
}

.status-dark {
    background-color: rgba(90, 90, 90, 0.9);
}

.status-grace {
    background-color: rgba(90, 90, 90, 0.45);
}

.status-failed {
    background-color: rgba(196, 20, 17, 0.9);
}

.status-light {
    background-color: rgba(248, 249, 250, 0.9);
    color: #343a40;
}

.status-light-purple {
    background-color: rgba(204, 204, 255, 0.9);
}

.table-panel .dataTables_paginate {
    padding: 8px 0 0;
}

.table-panel .dataTables_paginate .pagination {
    background: transparent;
    border: none;
    padding: 6px;
}

.table-panel .dataTables_paginate .pagination>li>a,
.table-panel .dataTables_paginate .pagination>li>span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(238, 244, 251, 0.85);
}

.table-panel .dataTables_paginate .pagination>.active>a,
.table-panel .dataTables_paginate .pagination>.active>span {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.table-panel .dataTables_paginate .pagination>li>a:hover,
.table-panel .dataTables_paginate .pagination>li>span:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.news-pagination {
    padding: 8px 0 0;
}

.news-pagination .pagination {
    background: transparent;
    border: none;
    padding: 6px;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    box-shadow: none;
    margin: 0;
}

.news-pagination .pagination>li>a,
.news-pagination .pagination>li>span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(238, 244, 251, 0.85);
    border-radius: 4px;
    padding: 4px 10px;
    margin-left: 4px;
    display: inline-block;
}

.news-pagination .pagination>li {
    display: inline-block;
}

.news-pagination .pagination>.active>a,
.news-pagination .pagination>.active>span {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.news-pagination .pagination>li>a:hover,
.news-pagination .pagination>li>span:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.18);
}

.news-pagination .pagination>li:first-child>a,
.news-pagination .pagination>li:first-child>span {
    margin-left: 0;
}

.table-actions-group {
    margin: 0;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.table-actions-group .btn,
.table-actions-group .btn-group {
    margin: 0;
}

.table-actions-group .btn,
.table-actions-group .btn-group .btn {
    border-radius: 0;
}

.table-actions-group .btn-group>.btn {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.table-actions-group .btn+.btn,
.table-actions-group .btn+.btn-group,
.table-actions-group .btn-group+.btn,
.table-actions-group .btn-group+.btn-group {
    margin-left: -1px;
}

.table-actions-group>.btn:first-child,
.table-actions-group>.btn-group:first-child>.btn:first-child {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.table-actions-group>.btn:last-child,
.table-actions-group>.btn-group:last-child>.btn:last-child,
.table-actions-group>.btn-group:last-child>.btn:first-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.table-actions-group .btn-group>.btn:last-child {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.table-actions-group .btn:first-child,
.table-actions-group .btn:first-child:disabled,
.table-actions-group .btn:first-child.disabled {
    border-top-left-radius: 6px !important;
    border-bottom-left-radius: 6px !important;
}

.table-actions-group .btn:last-child,
.table-actions-group .btn:last-child:disabled,
.table-actions-group .btn:last-child.disabled {
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.table-actions-group--accent .btn,
.table-actions-group--accent .btn-group .btn,
.table-actions-group--accent .btn.btn-default,
.table-actions-group--accent .btn.btn-default-alt {
    background: #d54a4a;
    border-color: #c94545;
    color: #fff;
}

.table-actions-group--accent .btn:hover,
.table-actions-group--accent .btn:focus,
.table-actions-group--accent .btn-group .btn:hover,
.table-actions-group--accent .btn-group .btn:focus,
.table-actions-group--accent .btn.btn-default:hover,
.table-actions-group--accent .btn.btn-default:focus,
.table-actions-group--accent .btn.btn-default-alt:hover,
.table-actions-group--accent .btn.btn-default-alt:focus {
    background: #c54343;
    border-color: #b13d3d;
    color: #fff;
}

.table-actions-group .dropdown-menu {
    margin-top: 6px;
}

.table-status-cell {
    padding: 0 !important;
    width: 14px;
    min-width: 14px;
    position: relative;
    overflow: hidden;
}

.table-status-cell .status-success,
.table-status-cell .status-default,
.table-status-cell .status-warning,
.table-status-cell .status-primary,
.table-status-cell .status-danger,
.table-status-cell .status-dark,
.table-status-cell .status-grace,
.table-status-cell .status-failed,
.table-status-cell .status-light,
.table-status-cell .status-light-purple {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    margin: 0;
}

.table-status-cell.status-success {
    background-color: rgba(145, 199, 150, 0.85) !important;
}

.table-status-cell.status-default {
    background-color: rgba(144, 164, 174, 0.85) !important;
}

.table-status-cell.status-warning {
    background-color: rgba(227, 193, 142, 0.85) !important;
}

.table-status-cell.status-primary {
    background-color: rgba(131, 174, 211, 0.85) !important;
}

.table-status-cell.status-danger {
    background-color: rgba(214, 143, 143, 0.85) !important;
}

.table-status-cell.status-dark {
    background-color: rgba(90, 90, 90, 0.85) !important;
}

.table-status-cell.status-grace {
    background-color: rgba(90, 90, 90, 0.55) !important;
}

.table-status-cell.status-failed {
    background-color: rgba(196, 20, 17, 0.85) !important;
}

.table-status-cell.status-light {
    background-color: rgba(248, 249, 250, 0.85) !important;
}

.table-status-cell.status-light-purple {
    background-color: rgba(204, 204, 255, 0.85) !important;
}

.table-panel .badge.status-success,
.table-panel .badge.status-default,
.table-panel .badge.status-warning,
.table-panel .badge.status-primary,
.table-panel .badge.status-danger,
.table-panel .badge.status-dark,
.table-panel .badge.status-grace,
.table-panel .badge.status-failed,
.table-panel .badge.status-light,
.table-panel .badge.status-light-purple {
    display: inline-flex;
    align-items: center;
    height: auto;
    min-height: 0;
    width: auto;
    padding: 2px 8px;
    border-radius: 999px;
}

.table-panel .badge.status-success {
    background-color: rgba(145, 199, 150, 0.9);
    color: #fff;
}

.table-panel .badge.status-default {
    background-color: rgba(144, 164, 174, 0.9);
    color: #fff;
}

.table-panel .badge.status-warning {
    background-color: rgba(227, 193, 142, 0.9);
    color: #3a2c14;
}

.table-panel .badge.status-primary {
    background-color: rgba(131, 174, 211, 0.9);
    color: #fff;
}

.table-panel .badge.status-danger {
    background-color: rgba(214, 143, 143, 0.9);
    color: #fff;
}

.table-panel .badge.status-dark {
    background-color: rgba(90, 90, 90, 0.9);
    color: #fff;
}

.table-panel .badge.status-grace {
    background-color: rgba(90, 90, 90, 0.55);
    color: #fff;
}

.table-panel .badge.status-failed {
    background-color: rgba(196, 20, 17, 0.9);
    color: #fff;
}

.table-panel .badge.status-light {
    background-color: rgba(248, 249, 250, 0.9);
    color: #343a40;
}

.table-panel .badge.status-light-purple {
    background-color: rgba(204, 204, 255, 0.9);
    color: #2a2f5a;
}

/* Authinfo spoiler (Domain show) */
.tg-spoiler {
    position: relative;
    display: inline-block;
    border-radius: 3px;
    overflow: hidden;
    vertical-align: baseline;
    margin-top: 3px;
}

.tg-spoiler__toggle {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    margin: 0;
}

.tg-spoiler__text {
    display: inline-block;
    padding: 0.35em 0.8em;
    border-radius: 3px;
    font-family: "SFMono-Regular", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.tg-spoiler__toggle:not(:checked) ~ .tg-spoiler__text {
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.12);
}

.tg-spoiler__mask {
    position: absolute;
    inset: 0;
    background: rgba(160, 160, 160, 0.18);
    z-index: 2;
}

.tg-spoiler__mask::before {
    content: "";
    position: absolute;
    inset: -20%;
    opacity: 0.85;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.35) 0 2px, transparent 3px) 0 0/26px 22px,
        radial-gradient(circle, rgba(255, 255, 255, 0.22) 0 2px, transparent 3px) 8px 10px/30px 26px,
        radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 2px, transparent 3px) 16px 4px/34px 28px;
    filter: blur(1.2px);
    animation: tgDrift 1.2s ease-in-out infinite alternate;
    transform: translate3d(0, 0, 0);
}

@keyframes tgDrift {
    from { transform: translate3d(-10px, 0, 0); }
    to { transform: translate3d(10px, 0, 0); }
}

.tg-spoiler__mask::after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.tg-spoiler__toggle:checked ~ .tg-spoiler__mask {
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms linear;
}

.tg-spoiler__toggle:checked ~ .tg-spoiler__text {
    color: inherit;
    text-shadow: none;
}

/* SSL show page refinements */
.ssl-show .ssl-card {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 12px 24px rgba(12, 18, 28, 0.2);
}

.ssl-show .panel-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ssl-show .panel-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    width: 100%;
}

.ssl-show .panel-body {
    padding: 16px 18px;
}

.ssl-show .ssl-summary-table {
    font-size: 13px;
}

.ssl-show .ssl-summary-table thead th {
    font-size: 12px;
    font-weight: 600;
    color: rgba(238, 244, 251, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.ssl-show .ssl-summary-table td {
    vertical-align: middle;
}

.ssl-show .ssl-summary-table td p {
    margin: 0;
}

.ssl-show .ssl-meta {
    margin: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    column-gap: 12px;
    row-gap: 10px;
}

.ssl-show .ssl-meta dt {
    margin: 0;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: rgba(238, 244, 251, 0.6);
}

.ssl-show .ssl-meta dd {
    margin: 0;
    color: rgba(238, 244, 251, 0.92);
    line-height: 1.5;
}

.ssl-show .ssl-handle {
    margin-top: 0;
    font-size: 16px;
    font-weight: 600;
}

.ssl-show .ssl-owner-contact {
    font-family: inherit;
    font-style: normal;
    font-size: 12px;
    line-height: 1.6;
}

.ssl-show .ssl-owner-contact i {
    width: 16px;
    margin-right: 6px;
    opacity: 0.75;
}

.ssl-show .ssl-summary-row {
    display: flex;
    flex-wrap: wrap;
}

.ssl-show .ssl-summary-row>[class*="col-"] {
    display: flex;
}

.ssl-show .ssl-summary-row .ssl-card {
    width: 100%;
}

.ssl-show .panel-ctrls .btn {
    font-size: 12px;
    padding: 4px 8px;
}

.ssl-show .panel-ctrls {
    margin-top: 2px;
    flex: 0 0 auto;
}

.ssl-show .ssl-secret {
    font-family: "Courier New", Courier, monospace;
    font-size: 12px;
    line-height: 1.5;
}

.ssl-show .tab-pane.active .ssl-secret {
    display: block !important;
}

.ssl-show .ssl-tabs-heading {
    align-items: center;
}

.ssl-show .ssl-tabs-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.mass-domains-tabs .mass-tabs-heading {
    align-items: center;
}

.mass-domains-tabs .mass-tabs-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.mass-domains-tabs .mass-tabs {
    margin-bottom: 0;
}

.ssl-show .ssl-tab-section {
    padding: 12px 8px 6px;
}

.ssl-show .ssl-tab-title {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
}

.ssl-show .ssl-tab-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.ssl-show .ssl-secret-actions {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.clipboard-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: rgba(24, 32, 45, 0.92);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 9999;
}

.clipboard-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.modal-narrow#administration-modal .modal-body {
    padding: 0;
    overflow-y: none;
}
.modal-narrow#administration-modal .admin-modal-alert {
    margin: 0;
}
.modal-narrow#administration-modal .admin-modal-panel {
    margin: 0;
    border-radius: 0;
}

.modal-narrow#administration-modal .row {
    margin-right: 0;
    margin-left: 0;
}

.modal-narrow#administration-modal .col-sm-12 {
    padding-right: 0;
    padding-left: 0;
}

.ssl-show .ssl-tab-actions .btn {
    padding: 6px 10px;
}

/* Expanded row details */
.domain-detail-row td {
    vertical-align: top;
    padding: 16px 14px;
    border-top-color: rgba(255, 255, 255, 0.06);
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 0;
}

.table.dataTable tbody tr.child td,
.table.dataTable tbody tr.child th,
.table.dataTable tbody tr.child>td,
.table.dataTable tbody tr.child>th,
.domain-detail-row td,
.detail-table td {
    vertical-align: top !important;
}

.table.dataTable tbody tr.child>td {
    padding: 12px 16px;
    border: 0;
}

.domain-detail-row>td {
    padding: 0 !important;
}

.handle-detail-row>td {
    padding: 0 !important;
}

.table.dataTable tbody tr.child,
.table.dataTable tbody tr.child>td {
    background: transparent;
    box-shadow: none;
    outline: 0;
}

.table.dataTable tbody tr.child>td,
.table.dataTable tbody tr.child>th {
    border-top: none !important;
    border-bottom: none !important;
}

.table.dataTable tbody tr.child td {
    border: none !important;
}

.domain-detail-row .detail-status-cell {
    padding: 0 !important;
    width: 14px;
}

.domain-detail-row .detail-meta {
    color: rgba(223, 233, 245, 0.9);
    font-size: 13px;
    line-height: 1.5;
}

.domain-detail-row .detail-meta p {
    margin: 0 0 8px;
}

.domain-detail-row .detail-meta--right {
    font-size: 12px;
    color: rgba(210, 222, 236, 0.75);
}

.domain-detail-row .detail-meta--wide {
    min-width: 260px;
    max-width: 320px;
}

.domain-detail-row .detail-actions {
    display: inline-flex;
    gap: 6px;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.domain-detail-row .detail-actions .btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    line-height: 32px;
    float: none !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(238, 244, 251, 0.85);
}

/* Ensure handle editor modal sits above overlays */
.modal,
.modal-dialog,
.modal-content,
.DTE,
.DTE_Body,
.DTE_Header,
.DTE_Footer,
.DTE_Body_Content,
.DTE .DTE_Body,
.DTE .DTE_Header,
.DTE .DTE_Footer,
.DTE .DTE_Body_Content {
    z-index: 2000;
}

.modal-backdrop,
.DTE_Backdrop {
    z-index: 1990;
}

/* DataTables Editor color theme */
.DTE .modal-content,
.DTE,
.DTE_Body,
.DTE_Body_Content {
    background: rgba(59, 69, 88, 0.98);
    color: rgba(238, 244, 251, 0.92);
}

.DTE .DTE_Header,
.DTE_Header {
    background: rgba(54, 63, 82, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(238, 244, 251, 0.95);
}

.DTE .DTE_Footer,
.DTE_Footer {
    background: rgba(54, 63, 82, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.DTE .DTE_Form_Content label,
.DTE .DTE_Field label {
    color: rgba(220, 230, 240, 0.9);
    font-weight: 600;
}

.DTE .DTE_Form_Content input[type="text"],
.DTE .DTE_Form_Content input[type="search"],
.DTE .DTE_Form_Content input[type="email"],
.DTE .DTE_Form_Content input[type="password"],
.DTE .DTE_Form_Content input[type="datetime"],
.DTE .DTE_Form_Content input[type="datetime-local"],
.DTE .DTE_Form_Content input[type="date"],
.DTE .DTE_Form_Content input[type="time"],
.DTE .DTE_Form_Content input[type="number"],
.DTE .DTE_Form_Content select,
.DTE .DTE_Form_Content textarea {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(238, 244, 251, 0.95);
}

.DTE .DTE_Form_Content input:focus,
.DTE .DTE_Form_Content select:focus,
.DTE .DTE_Form_Content textarea:focus {
    border-color: rgba(209, 76, 76, 0.7);
    box-shadow: 0 0 0 2px rgba(209, 76, 76, 0.2);
    outline: none;
}

.DTE .DTE_Form_Content .help-block,
.DTE .DTE_Form_Content .DTE_Form_Error {
    color: rgba(255, 205, 205, 0.95);
}

/* CKEditor (within DataTables Editor) */
.DTE .cke_chrome {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.DTE .cke_top,
.DTE .cke_bottom {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.DTE .cke_toolgroup {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.DTE .cke_combo_button,
.DTE .cke_button {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.16);
}

.DTE .cke_combo_button:hover,
.DTE .cke_button:hover {
    background: rgba(255, 255, 255, 0.18);
}


.domain-detail-row .detail-actions .btn i {
    display: inline-block;
    line-height: 1;
    font-size: 14px;
    margin: 0;
    vertical-align: middle;
}

.domain-detail-row .detail-actions .btn:hover,
.domain-detail-row .detail-actions .btn:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.domain-detail-row .detail-address {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(214, 226, 239, 0.9);
    max-width: 240px;
}

.domain-detail-row .detail-type {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(168, 182, 200, 0.8);
    margin-bottom: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.domain-detail-row .detail-title {
    font-weight: 600;
    color: #eef4fb;
    margin-bottom: 2px;
}

.domain-detail-row .detail-sub {
    color: rgba(200, 214, 231, 0.85);
    margin-bottom: 8px;
}

.domain-detail-row .detail-line {
    margin-bottom: 4px;
}

.domain-detail-row .detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(172, 188, 208, 0.8);
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 16px;
}

.domain-detail-row .detail-label i,
.domain-detail-row .detail-type i {
    font-size: 12px;
    opacity: 0.85;
}

.detail-line .detail-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(172, 188, 208, 0.8);
    margin-right: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 16px;
}

.detail-line .detail-label i {
    font-size: 12px;
    opacity: 0.85;
}

.domain-detail-row .detail-handle {
    min-width: 220px;
}

.domain-detail-row .detail-spacer {
    padding: 0;
}

.handle-detail-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(168, 182, 200, 0.8);
    margin-bottom: 6px;
}

.handle-detail-content {
    font-size: 12px;
    line-height: 1.45;
    color: rgba(214, 226, 239, 0.9);
}

.handle-detail-table {
    width: 100%;
    table-layout: auto;
    border: 0;
    outline: 0;
    margin-bottom: 0 !important;
}

.handle-detail-table td {
    vertical-align: top;
    padding: 8px 12px 8px 0;
    border: 0;
}

.handle-detail-cell {
    min-width: 0;
}

.handle-detail-table .detail-line {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.handle-detail-line .handle-detail-title {
    min-width: 82px;
    display: inline-block;
}

@media (max-width: 991px) {

    .handle-detail-table,
    .handle-detail-table tbody,
    .handle-detail-table tr,
    .handle-detail-table td {
        display: block;
        width: 100%;
    }

    .handle-detail-table td {
        padding: 0 0 12px 0;
    }
}

.detail-table {
    width: 100%;
    table-layout: auto;
    border: 0;
    outline: 0;
    border-collapse: collapse;
    margin: 0;
}

.detail-table td {
    padding: 8px 12px 8px 0;
}

.domain-detail-row {
    background: transparent !important;
}

.table-striped>tbody>tr {
    background-color: transparent !important;
}

.table-striped>tbody>tr:hover {
    background-color: rgba(255, 255, 255, 0.06) !important;
}

@media (max-width: 767px) {
    .table-toolbar-card {
        padding: 12px 16px;
    }

    .table-toolbar .dataTables_filter input {
        min-width: 160px;
        width: 100%;
    }
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    background: rgba(255, 255, 255, 0.08);
    color: #eef4fb;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 6px 10px;
}

.dataTables_wrapper .dataTables_filter input {
    background-repeat: no-repeat;
    background-position: 12px 50%;
    background-size: 14px 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgb(238%2C244%2C251)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    padding-left: 34px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    color: #dbe4f0 !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 4px 10px;
    margin: 0 2px;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.dataTables_wrapper .dataTables_info {
    color: #c7d1e0;
}

/* Moved from vars/custom.css (full file) */
body {
    animation: fadein 1.5s;
}

@keyframes fadein {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.highcharts-root {
    border-radius: 6px !important;
}

video {
    z-index: 99999;
    position: relative;
    margin-top: 40px;
    margin-bottom: 40px;
}

#stats h4 {
    font-size: 1.2em;
    margin-top: 20px;
}

#stats.highcharts-container {
    margin-bottom: 40px !important;
}

.site .domain-tlds .domain-tld {
    font-size: 16px !important;
}

.site .site-section .section-title {
    text-transform: none !important;
}

.article-content img {
    border-radius: 3px;
}

.invoice-title .label {
    margin-left: 0 !important;
}

.modal-content {
    background: #3a4558 !important;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
}

.modal-header.modal-primary {
    background: rgba(255, 255, 255, 0.05);
}

.modal-header .modal-title,
.modal-header h1,
.modal-header h2,
.modal-header h3,
.modal-header h4,
.modal-header h5,
.modal-header h6,
.modal-header h7 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #eef4fb;
    order: 1;
}

.modal-header .close {
    color: #eef4fb;
    opacity: 0.6;
    text-shadow: none;
    order: 2;
    margin-left: auto;
}

.modal-header .close:hover,
.modal-header .close:focus {
    opacity: 1;
}

.modal-header .modal-buttons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    order: 2;
}

.modal-header .modal-buttons .btn {
    border-radius: 6px;
}

.modal-footer {
    padding: 12px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}



/* Bootstrap 3 modals use `.in` instead of `.show` */
.modal.in {
    opacity: 1;
    visibility: visible;
}

.modal.in .modal-dialog {
    transform: var(--modal-show-transform, scale(1));
    margin: 0 auto;
    pointer-events: auto;
}

.modal.in {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.modal.in .modal-content {
    margin: 0 auto;
}



/* Select2 v3 dropdown appended to body (not inside modal) */
.modal-open .select2-drop,
.modal-open .select2-drop-active,
.modal-open .select2-drop-above {
    background: #3a4659;
    color: #eef4fb;
    border-color: rgba(255, 255, 255, 0.15);
}

.modal-open .select2-results,
.modal-open .select2-search input {
    background: #3a4659;
    color: #eef4fb;
}

.modal-open .select2-results .select2-highlighted,
.modal-open .select2-results li.select2-result-selectable:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.modal-open .select2-choice {
    background: rgba(70, 82, 104, 0.95);
    color: #eef4fb;
    border-color: rgba(255, 255, 255, 0.18);
    height: 44px;
    line-height: 44px;
}

.modal-open .select2-choice .select2-arrow {
    background: rgba(70, 82, 104, 0.95);
    border-left: 1px solid rgba(255, 255, 255, 0.18);
    width: 44px;
    height: 44px;
}

.modal-open .select2-choice .select2-arrow b {
    border-top-color: #cfd9e6;
    margin-top: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Force Select2 v3 arrow + height overrides */
.modal-open .select2-container .select2-choice {
    background-color: rgba(70, 82, 104, 0.95) !important;
    background-image: none !important;
    color: #eef4fb !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    height: 44px !important;
    line-height: 44px !important;
    padding-right: 52px !important;
    box-sizing: border-box;
}

.modal-open .select2-container .select2-choice>.select2-chosen {
    line-height: 44px !important;
    margin-right: 44px !important;
}

.modal-open .select2-container .select2-choice .select2-arrow {
    background-color: rgba(70, 82, 104, 0.95) !important;
    background-image: none !important;
    border-left: 1px solid rgba(255, 255, 255, 0.18) !important;
    width: 44px !important;
    height: 44px !important;
    position: relative !important;
}

.modal-open .select2-container .select2-choice .select2-arrow b {
    background: none !important;
    border: 0 !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 6px solid #cfd9e6 !important;
}

.modal-open .select2-container .select2-choice .select2-arrow::after {
    content: "";
    display: none;
}

/* Order modal: force Select2 to fill the row and hide original select if CSS missing */
#order-modal .select2-container {
    width: 100% !important;
    box-sizing: border-box;
}

#order-modal select.select2-offscreen,
#order-modal select.select2-hidden-accessible {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    border: 0 !important;
    overflow: hidden !important;
}

/* Ensure datetimepicker overlays modal content */
.bootstrap-datetimepicker-widget,
.datetimepicker {
    z-index: 2100 !important;
}

/* Datetimepicker: improve visibility of "today" and selection */
.bootstrap-datetimepicker-widget table td.today,
.bootstrap-datetimepicker-widget table td.today:hover {
    background: rgba(79, 110, 161, 0.25);
    color: #e9f1ff;
    border: 1px solid rgba(122, 162, 214, 0.7);
    border-radius: 50%;
}

.bootstrap-datetimepicker-widget table td.today:before {
    border-bottom-color: #7aa2d6;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background-color: #4f6ea1;
    color: #fff;
    border-radius: 50%;
}

/* SSL export modal: align dual listboxes + buttons on one row */
#export-modal .export-columns-row {
    display: grid;
    grid-template-columns: 160px minmax(280px, 1fr) 64px minmax(280px, 1fr) 64px;
    column-gap: 12px;
    row-gap: 10px;
    align-items: start;
}

#export-modal .export-columns-row > [class*="col-"] {
    float: none;
    padding-left: 0;
    padding-right: 0;
    width: auto;
    max-width: none;
}

#export-modal .export-columns-row > label.col-sm-2.control-label {
    grid-column: 1 / -1;
    width: 100%;
    text-align: left;
    margin-bottom: 2px;
}

#export-modal .export-columns-row .export-columns-transfer,
#export-modal .export-columns-row .export-columns-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

#export-modal .export-columns-row .btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#export-modal .export-columns-row .btn-group-vertical .btn,
#export-modal .export-columns-row .export-columns-transfer .btn {
    width: 42px;
    height: 38px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#export-modal select.form-control {
    background-color: transparent;
    color: #eef4fb;
}

#export-modal select.form-control option {
    background-color: transparent;
    color: #eef4fb;
}

#export-modal .form-group {
    margin-left: 0;
    margin-right: 0;
}

#export-modal .form-group [class*="col-"] {
    padding-left: 0;
}

#export-modal .form-group label.control-label {
    padding-left: 0;
    text-align: left;
}

#export-modal.modal-wide .modal-dialog {
    width: 92vw !important;
    max-width: 1100px !important;
    min-width: 900px !important;
}

#export-modal.modal-wide.modal.in .modal-dialog,
#export-modal.modal-wide.modal.show .modal-dialog {
    width: 92vw !important;
    max-width: 1100px !important;
    min-width: 900px !important;
}

@media (max-width: 991px) {
    #export-modal.modal-wide .modal-dialog,
    #export-modal.modal-wide.modal.in .modal-dialog,
    #export-modal.modal-wide.modal.show .modal-dialog {
        width: calc(100% - 30px) !important;
        max-width: none !important;
        min-width: 0 !important;
    }
}

@media (max-width: 991px) {
    #export-modal .export-columns-row {
        grid-template-columns: 1fr;
    }

    #export-modal .export-columns-row .export-columns-transfer,
    #export-modal .export-columns-row .export-columns-actions {
        min-height: 0;
        justify-content: flex-start;
    }
}

.container-fluid {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

input.invalid {
    border: 1px solid #d14c4b !important;
}

.container-all {
    width: fit-content;
    margin: 20px auto;
    height: auto;
}

.site-section .green {
    color: #37c055;
}

#progressbar {
    background-color: #d14c4c;
    border-radius: 3px;
    padding: 3px;
    text-align: center;
    position: relative;
}

#progressbar>div {
    background-color: #fff;
    width: 100%;
    height: 20px;
    border-radius: 3px;
}

#hosttest {
    opacity: 0.66;
    border-radius: 6px;
    transition: 0.3s;
}

#hosttest:hover {
    opacity: 1;
}

@media only screen and (max-width: 900px) {
    .gallery-container {
        width: calc(50% - 6px);
    }
}

@media only screen and (max-width: 400px) {
    .gallery-container {
        width: 100%;
    }
}

.ticket-reply-message {
    line-break: auto !important;
    text-justify: auto;
    text-align: justify;
    margin-right: 20px;
}

.container-inner {
    border-radius: 6px;
}

.carousel-item>.title {
    padding: 5px;
    position: absolute;
    top: 10%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 1.4em;
    color: #fff;
    background-color: #d14c4c;
}

.carousel-item>.text {
    padding: 5px;
    position: absolute;
    display: block;
    top: 14%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    font-weight: regular;
    font-size: 1.0em;
    color: #fff;
    background-color: #d14c4c;
}

.carousel-item>img {
    width: 100%;
}

.carousel-inner .carousel-item {
    transition: -webkit-transform 4s ease;
    transition: transform 4s ease;
    transition: transform 4s ease, -webkit-transform 4s ease;
}

@media only screen and (max-width: 900px) {
    .gallery-container {
        width: calc(50% - 6px);
    }
}

@media only screen and (max-width: 400px) {
    .carousel-item>.title {
        position: absolute;
        display: none;
        top: 10%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-right: -50%;
        font-weight: bold;
        font-size: 0.5em;
        color: #fff;
        background-color: #d14c4c;
        z-index: 999999999;
    }

    .carousel-item>.text {
        position: absolute;
        top: 15%;
        left: 50%;
        transform: translate(-50%, -50%);
        margin-right: -50%;
        font-weight: regular;
        font-size: 0.4em;
        color: #fff;
        background-color: #d14c4c;
    }
}

/* Legacy admin styles bridge for tables/panels */
.panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 22, 35, 0.2);
    color: #e6eef7;
}

/* Legacy info tiles */
.info-tile {
    display: block;
    padding: 16px 16px 12px;
    margin-bottom: 16px;
    border-radius: 12px;
    text-decoration: none;
    color: #eef4fb;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 112px;
}

.info-tile .tile-heading {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-tile .tile-body {
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    line-height: 1.2;
}

.info-tile .tile-heading i {
    font-size: 1.4rem;
    opacity: 0.85;
}

.info-tile .tile-footer {
    margin-top: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

.info-tile .pull-left,
.info-tile .pull-right {
    float: none !important;
}

.info-tile .tile-heading .pull-left {
    display: block;
}

.info-tile .tile-body .pull-left {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.info-tile .tile-body .pull-right {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.5rem;
    font-weight: 700;
}

.info-tile .tile-footer .pull-right {
    display: block;
}

.tile-active {
    background: rgba(88, 98, 173, 0.35);
}

.tile-warning-primary {
    background: rgba(233, 192, 118, 0.35);
}

.tile-primary {
    background: rgba(140, 186, 228, 0.45);
}

.tile-success {
    background: rgba(118, 190, 138, 0.35);
}

.tile-danger {
    background: rgba(221, 132, 132, 0.35);
}

.tile-failed {
    background: rgba(197, 70, 70, 0.45);
}

.tile-light {
    background: rgba(255, 255, 255, 0.08);
    color: #eef4fb;
}

/* DataTables layout polish */
.dataTables_wrapper {
    color: #dbe4f0;
}

.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter,
.dataTables_wrapper .dataTables_info,
.dataTables_wrapper .dataTables_paginate {
    padding: 12px 0;
}

.dataTables_wrapper .dataTables_filter {
    text-align: right;
}

.dataTables_wrapper .dataTables_length select,
.dataTables_wrapper .dataTables_filter input {
    height: 36px;
    min-width: 120px;
}

.dataTables_wrapper .dataTables_paginate {
    text-align: right;
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: transparent !important;
}

.table.dataTable.no-footer {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.table.dataTable tbody tr {
    background: rgba(255, 255, 255, 0.02);
}

.table.dataTable tbody tr.selected {
    background: rgba(18, 140, 230, 0.55) !important;
}

.table.dataTable tbody tr.child td {
    background: rgba(0, 0, 0, 0.18);
    color: #e6eef7;
    padding: 14px 16px;
}

.table.dataTable tbody tr.child .table {
    background: transparent;
}

.table.dataTable tbody tr.child .table td,
.table.dataTable tbody tr.child .table th {
    padding: 6px 8px;
    border-color: rgba(255, 255, 255, 0.08);
}

.page-actions {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
    width: 100%;
}

.page-actions .btn-toolbar {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 10px auto;
    width: auto;
    justify-content: flex-end;
}

.page-actions .btn-toolbar .btn,
.page-actions .btn-toolbar .btn-group {
    margin: 0 !important;
}

.page-actions .btn-toolbar {
    float: right;
}

.page-actions .page-actions-group {
    display: inline-flex;
    align-items: center;
}

.page-actions .page-actions-group>.btn,
.page-actions .page-actions-group>.btn-group>.btn {
    margin: 0 !important;
    border-radius: 0 !important;
}

.page-actions .page-actions-group>.btn+.btn,
.page-actions .page-actions-group>.btn+.btn-group,
.page-actions .page-actions-group>.btn-group+.btn,
.page-actions .page-actions-group>.btn-group+.btn-group {
    margin-left: -1px !important;
    border-left-width: 0;
}

.page-actions .page-actions-group>.btn:first-child,
.page-actions .page-actions-group>.btn-group:first-child .btn:first-child {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.page-actions .page-actions-group>.btn:last-child,
.page-actions .page-actions-group>.btn-group:last-child .btn:last-child {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.page-actions .page-actions-group>.btn-group:last-child .btn.dropdown-toggle {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.page-actions .btn-toolbar>.btn,
.page-actions .btn-toolbar>.btn-group>.btn {
    margin-left: 0 !important;
    border-radius: 0 !important;
}

.page-actions .btn-toolbar>.btn+.btn,
.page-actions .btn-toolbar>.btn+.btn-group,
.page-actions .btn-toolbar>.btn-group+.btn,
.page-actions .btn-toolbar>.btn-group+.btn-group {
    margin-left: 0 !important;
    border-left-width: 0;
}

.page-actions .btn-toolbar>.btn:not(:last-child),
.page-actions .btn-toolbar>.btn-group:not(:last-child)>.btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.page-actions .btn-toolbar>.btn:not(:first-child),
.page-actions .btn-toolbar>.btn-group:not(:first-child)>.btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.page-actions .btn-toolbar>.btn+.btn,
.page-actions .btn-toolbar>.btn+.btn-group,
.page-actions .btn-toolbar>.btn-group+.btn,
.page-actions .btn-toolbar>.btn-group+.btn-group {
    margin-left: -1px !important;
}

.page-actions .btn-toolbar>.btn,
.page-actions .btn-toolbar>.btn-group>.btn {
    border-radius: 0;
}

.page-actions .btn-toolbar>.btn:first-child,
.page-actions .btn-toolbar>.btn-group:first-child .btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.page-actions .btn-toolbar>.btn:last-child,
.page-actions .btn-toolbar>.btn-group:last-child .btn:last-child {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.page-actions .btn-toolbar>.btn-group:last-child .btn.dropdown-toggle {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.page-actions .btn-toolbar>.btn-group:last-child>.btn {
    border-top-right-radius: 4px !important;
    border-bottom-right-radius: 4px !important;
}

.page-actions .btn-toolbar>.btn:first-child,
.page-actions .btn-toolbar>.btn-group:first-child .btn:first-child {
    border-top-left-radius: 4px !important;
    border-bottom-left-radius: 4px !important;
}

.page-actions .btn-toolbar>.btn-group {
    display: inline-flex;
}

.dataTables_wrapper table.dataTable thead th,
.dataTables_wrapper table.dataTable thead td {
    position: static !important;
    top: auto !important;
}

.dataTables_wrapper .dataTables_scrollHead,
.dataTables_wrapper .dataTables_scrollHeadInner {
    position: static !important;
    top: auto !important;
    z-index: auto !important;
}

.panel-heading {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    position: static;
}

.panel-heading h2,
.panel-heading h3,
.panel-heading h4 {
    margin: 0;
}

.panel-heading .panel-ctrls {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: flex-end;
    gap: 0;
    position: static;
    float: none;
}

.panel-heading .panel-ctrls .dataTables_filter {
    order: 1;
    margin-right: auto;
}

.panel-heading .panel-ctrls .dt-buttons {
    order: 2;
    margin-left: auto;
    justify-content: flex-end;
}

.panel-heading .panel-ctrls .dt-controls-left,
.panel-heading .panel-ctrls .dt-controls-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.panel-heading .panel-ctrls .dt-controls-left {
    margin-right: auto;
}

/* Admin modals: wider layout and full-width datatables */
.modal.modal-wide .modal-dialog {
    width: 90vw !important;
    max-width: 1400px !important;
}

#export-modal.modal-wide .modal-dialog {
    width: 90vw !important;
    max-width: 1400px !important;
}

@media (max-width:991.98px) {
    .modal.modal-wide .modal-dialog {
        width: calc(100% - 30px) !important;
        max-width: none !important;
    }
}

/* Slightly narrower admin modal */
.modal.modal-narrow .modal-dialog {
    width: 75vw !important;
    max-width: 1100px !important;
}

@media (max-width:991.98px) {
    .modal.modal-narrow .modal-dialog {
        width: calc(100% - 30px) !important;
        max-width: none !important;
    }
}

/* Even narrower admin modal (slightly smaller than modal-narrow) */
.modal.modal-narrower .modal-dialog {
    width: 70vw !important;
    max-width: 1025px !important;
}

/* Orders table: prevent "Weitere" column from blowing up layout */
#order-table {
    width: 100%;
    table-layout: fixed;
}

#order-table th:nth-child(4),
#order-table td:nth-child(4) {
    /* width: 45%; */
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#order-table th,
#order-table td,
#order-table tbody tr > td {
    vertical-align: top;
}

.order-log-row td,
.order-log-row th {
    vertical-align: top;
}

#order-table .order-values {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

#order-table .order-values__row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: start;
}

@media (max-width: 1199.98px) {
    #order-table .order-values__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

#order-table .order-values__label {
    width: 100%;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

#order-table .order-values__value {
    display: block;
    width: 100%;
    min-width: 0;
    color: rgba(255, 255, 255, 0.85);
}

#order-table .order-values__json {
    margin: 0;
    padding: 8px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.2);
    color: inherit;
    white-space: pre-wrap;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

#order-table .order-values__empty {
    opacity: 0.7;
}

.order-log-row td {
    padding: 16px 20px;
}

.order-log-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 24px;
    margin-bottom: 12px;
}

.order-log-meta__label {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2px;
}

.order-log-meta__value {
    color: rgba(255, 255, 255, 0.85);
}

.order-log-meta__item {
    min-width: 0;
}

.order-log-row dl {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.order-log-row dt {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.order-log-row dd {
    margin: 0;
    color: rgba(255, 255, 255, 0.85);
}

.order-log-row p {
    margin: 6px 0 0;
}

.order-log-action {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

/* Inline style extractions: admin/partner/reseller views */
#table-filters {
    display: inline-block;
}

.tokenfield .token .token-label {
    display: inline;
}

.dl-horizontal dt {
    width: 25%;
    text-align: left;
}

.dl-horizontal dd {
    margin-left: 15%;
}

dd {
    word-wrap: break-word;
}

::placeholder {
    font-style: italic;
}

.popover {
    max-width: 50%;
}

.form-group {
    margin-bottom: 5px;
}

div.DTE div.DTE_Form_Error {
    white-space: nowrap;
    max-width: 100%;
    width: 100%;
    text-align: left;
    padding-bottom: 15px;
}

#tld-rules-contextual a {
    white-space: normal !important;
    height: auto;
    padding-right: 2px;
}

.list-group.nav-tabs .list-group-item.active {
    border-bottom-color: transparent;
}

.news-months .list-group-item {
    position: relative;
}

.news-months .list-group-item.active::after {
    content: "";
    position: absolute;
    left: 22px;
    width: 80%;
    right: auto;
    bottom: 0;
    height: 2px;
    background: #d14c4c;
    border-radius: 2px;
}

.news-months .list-group-item.active {
    border-color: transparent;
}

.news-months .badge {
    background: #ffffff;
    color: #3b4457;
    border: 1px solid rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.news-months .list-group-item.active .badge {
    background: #ffffff !important;
    color: #3b4457 !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
}

.panels-faq .panel-heading h2 {
    font-size: 20px;
    line-height: 1.3;
}

@media (max-width: 767px) {
    .panels-faq .panel-heading h2 {
        font-size: 18px;
    }
}

div.modal-dialog {
    max-width: 100%;
    width: 40%;
}

div.modal-dialog .col-lg-4.control-label {
    width: 20%;
}

div.modal-dialog .col-lg-4.col-form-label {
    flex: 0 0 15%;
    max-width: 15%;
    text-align: right;
}

div.modal-dialog .col-lg-8 {
    flex: 0 0 85%;
    max-width: 85%;
}

.apexcharts-text,
.apexcharts-legend-text {
    fill: #e6e9f1 !important;
    color: #e6e9f1 !important;
}

.apexcharts-gridline {
    stroke: rgba(255, 255, 255, 0.08) !important;
}

.apexcharts-tooltip {
    color: #1f2635;
}

@media (max-width: 1199.98px) {
    .order-log-meta {
        grid-template-columns: 1fr;
    }
}

@media (max-width:991.98px) {
.modal.modal-narrower .modal-dialog {
    width: calc(100% - 30px) !important;
    max-width: none !important;
}
}

/* SSL order: add spacing between radio and label text */
.ssl-csr-radio {
    padding-left: 6px;
}

.ssl-csr-radio input[type="radio"] {
    margin-right: 6px;
}

.modal-datatable .modal-body {
    padding: 0;
}

.modal-datatable .modal-body.modal-body-padded {
    padding: 15px;
}

.modal-third .modal-dialog {
    width: 33.333vw;
    max-width: 560px;
}

@media (max-width:991.98px) {
    .modal-third .modal-dialog {
        width: calc(100% - 30px);
        max-width: none;
    }
}

#user-permissions-modal #user-permissions-table {
    border-collapse: collapse;
    width: 100%;
}

#user-permissions-modal #user-permissions-table thead th {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: middle;
}

#user-permissions-modal #user-permissions-table thead tr:first-child th {
    border-bottom: 0;
}

#user-permissions-modal #user-permissions-table thead tr:last-child th {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 8px;
    padding-bottom: 8px;
}

#user-permissions-modal #user-permissions-table tbody tr {
    background: transparent;
}

#user-permissions-modal #user-permissions-table tbody td {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
}

#user-permissions-modal #user-permissions-table tbody tr:last-child td {
    border-bottom: 0;
}

#permissions-modal #permissions-table {
    border-collapse: collapse;
    width: 100%;
}

#permissions-modal #permissions-table thead th {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    vertical-align: middle;
}

#permissions-modal #permissions-table thead tr:first-child th {
    border-bottom: 0;
}

#permissions-modal #permissions-table thead tr:last-child th {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 8px;
    padding-bottom: 8px;
}

#permissions-modal #permissions-table tbody tr {
    background: transparent;
}

#permissions-modal #permissions-table tbody td {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: middle;
}

#permissions-modal #permissions-table tbody tr:last-child td {
    border-bottom: 0;
}

/* DataTables Editor modal (Bootstrap) full-width fields */
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field,
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field,
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field {
    width: 100% !important;
}

.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field>label,
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field>label,
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field>label {
    display: block !important;
    width: 100% !important;
    float: none !important;
}

.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field>div,
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field>div,
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field>div {
    float: none !important;
    width: 100% !important;
}

.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="color"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="date"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="datetime"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="datetime-local"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="email"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="month"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="number"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="password"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="search"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="tel"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="text"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="time"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="url"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field input[type="week"],
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field select,
.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field textarea,
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="color"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="date"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="datetime"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="datetime-local"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="email"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="month"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="number"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="password"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="search"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="tel"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="text"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="time"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="url"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field input[type="week"],
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field select,
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field textarea,
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="color"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="date"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="datetime"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="datetime-local"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="email"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="month"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="number"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="password"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="search"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="tel"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="text"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="time"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="url"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field input[type="week"],
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field select,
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field textarea {
    width: 100% !important;
    box-sizing: border-box !important;
}

.DTE.DTE_Action_Edit .DTE_Form_Content .DTE_Field .select2-container,
.DTE.DTE_Action_Create .DTE_Form_Content .DTE_Field .select2-container,
.DTE.DTE_Action_Remove .DTE_Form_Content .DTE_Field .select2-container {
    width: 100% !important;
    box-sizing: border-box;
}

.DTE .DTE_Form_Buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.DTE .DTE_Form_Buttons .btn,
.DTE .DTE_Form_Buttons .DTE_Form_Button {
    margin: 0;
    white-space: nowrap;
}

.DTE_Footer.modal-footer {
    padding-top: 16px;
    padding-bottom: 18px;
}

/* Tokenfield pills */
.tokenfield .token {
    background-color: #d14c4c !important;
    border: 1px solid #d14c4c !important;
    color: rgba(238, 244, 251, 0.95) !important;
    border-radius: 6px !important;
    margin: 2px 6px 2px 0 !important;
    height: auto !important;
    line-height: 1.4 !important;
    padding: 4px 10px !important;
}

.tokenfield .token .token-label {
    color: inherit !important;
}

.tokenfield .token .close {
    color: rgba(238, 244, 251, 0.75) !important;
    opacity: 1 !important;
    text-shadow: none !important;
}

.tokenfield .token .close:hover {
    color: rgba(238, 244, 251, 0.95) !important;
}

/* SSL show summary cards */
.ssl-show .ssl-summary-row .ssl-card {
    background: var(--ui-block-bg);
    border: var(--ui-block-border);
    box-shadow: var(--ui-block-shadow);
    border-radius: var(--ui-block-border-radius);
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.ssl-show .ssl-summary-row .ssl-card .panel-heading {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ssl-show .ssl-summary-row .ssl-card .panel-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ssl-show .ssl-summary-row .ssl-card .panel-body {
    padding: 18px 20px 20px;
}

.ssl-show .ssl-summary-row .ssl-meta {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    row-gap: 10px;
    column-gap: 16px;
}

.ssl-show .ssl-summary-row .ssl-meta dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(168, 182, 200, 0.8);
    margin: 0;
    font-weight: 600;
}

.ssl-show .ssl-summary-row .ssl-meta dd {
    margin: 0;
    color: rgba(238, 244, 251, 0.95);
}

/* Editor Bootstrap grid: force full-width label + input */
.DTE .DTE_Form_Content .col-lg-4,
.DTE .DTE_Form_Content .col-lg-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

/* Alert heading color + auto dismiss */
.alert-message.alert-success h3,
.alert-message.alert-success strong {
    color: var(--brand-success-darker) !important;
}

.alert-message.alert-danger h3,
.alert-message.alert-danger strong {
    color: var(--brand-danger-darker) !important;
}

.alert-message.alert-warning h3,
.alert-message.alert-warning strong {
    color: var(--brand-warning-darker) !important;
}

.alert-message.alert-info h3,
.alert-message.alert-info strong {
    color: var(--brand-info-darker) !important;
}

/* SOA export modal: keep dual selects + buttons in one row */
#export-modal .export-columns-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
}

#export-modal .export-columns-row>[class*="col-sm-"] {
    float: none !important;
}

#export-modal .export-columns-row>.col-sm-4 {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
}

#export-modal .export-columns-row>.col-sm-1 {
    flex: 0 0 8.3333%;
    max-width: 8.3333%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#export-modal .export-columns-row>.col-sm-2 {
    flex: 0 0 16.6667%;
    max-width: 16.6667%;
}

#export-modal .export-columns-row .btn-group-vertical,
#export-modal .export-columns-row .pull-left {
    float: none !important;
}

/* SOA actions dropdown in panel controls */
.soa-actions-dropdown .dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.soa-actions-dropdown .dropdown-item:hover,
.soa-actions-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
}

.soa-actions-dropdown .dropdown-item>i {
    flex: 0 0 16px;
    width: 16px;
    text-align: center;
    margin: 0 8px 0 0;
}

.soa-actions-dropdown .dropdown-toggle {
    height: var(--ui-height-sm);
    line-height: calc(var(--ui-height-sm) - 2px);
    padding-top: 0;
    padding-bottom: 0;
}

.panel-ctrls .dt-buttons .btn,
.panel-ctrls .dt-buttons .dt-button,
.panel-ctrls .dt-buttons .btn-group>.btn,
.panel-ctrls .dt-buttons .btn-group>.btn.dropdown-toggle {
    height: var(--ui-height-sm) !important;
    min-height: var(--ui-height-sm) !important;
    line-height: calc(var(--ui-height-sm) - 2px) !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.panel-ctrls .btn,
.panel-ctrls .btn-group>.btn,
.panel-ctrls .btn-group .btn {
    height: var(--ui-height-sm) !important;
    min-height: var(--ui-height-sm) !important;
    line-height: calc(var(--ui-height-sm) - 2px) !important;
    align-items: center !important;
    justify-content: center !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.soa-actions-dropdown .dropdown-item.disabled,
.soa-actions-dropdown .dropdown-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.panel-ctrls .soa-actions-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

.handle-actions-dropdown .dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.handle-actions-dropdown .dropdown-menu {
    padding: 0;
}

.handle-actions-dropdown .dropdown-item:hover,
.handle-actions-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
}

.handle-actions-dropdown .dropdown-item>i {
    flex: 0 0 16px;
    width: 16px;
    text-align: center;
    margin: 0 8px 0 0;
}

.handle-actions-dropdown .dropdown-toggle {
    height: var(--ui-height-sm);
    line-height: calc(var(--ui-height-sm) - 2px);
    padding-top: 0;
    padding-bottom: 0;
}

.handle-actions-dropdown .dropdown-item.disabled,
.handle-actions-dropdown .dropdown-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Order modal (domain order wizard) */
#order-modal .stepy-header {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    list-style: none;
    margin: 0 0 20px;
    padding: 0 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

#order-modal .stepy-header li {
    flex: 1 1 140px;
    min-width: 140px;
    padding: 12px 16px 14px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#order-modal .stepy-header li div {
    font-size: 16px;
    font-weight: 600;
    color: #cfd6e3;
}

#order-modal .stepy-header li span {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #97a0af;
}

#order-modal .stepy-header li.stepy-active {
    background: rgba(77, 163, 255, 0.12);
    border-color: rgba(77, 163, 255, 0.4);
    box-shadow: inset 0 -2px 0 rgba(77, 163, 255, 0.9);
}

#order-modal .stepy-header li.stepy-active div {
    color: #e6f0ff;
}

#order-modal .stepy-header li.stepy-active span {
    color: #b8d6ff;
}

.handle-dropdown {
    text-align: left;
    right: auto;
    left: 0;
}

.handle-dropdown,
.handle-dropdown * {
    text-align: left !important;
    direction: ltr;
}

.handle-dropdown li > a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}

.handle-dropdown li > a p {
    margin: 0 0 6px;
    width: 100%;
}

.handle-dropdown li > a p:last-child {
    margin-bottom: 0;
}

#order-modal .info-panels-row {
    display: flex;
    flex-wrap: wrap;
}

#order-modal .info-panels-row > [class*="col-"] {
    display: flex;
}

#order-modal .info-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#order-modal .order-confirmation-alert a {
    color: #2c6bff;
    text-decoration: underline;
}

#order-modal .order-confirmation-alert a:hover,
#order-modal .order-confirmation-alert a:focus {
    color: #1a54d6;
}

#order-modal .panel-footer .btn-group {
    display: flex;
    gap: 0;
}

#order-modal .panel-footer .btn-group > .btn {
    margin: 0;
    border-radius: 0;
}

#order-modal .panel-footer .btn-group > .btn:first-child {
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

#order-modal .panel-footer .btn-group > .btn:last-child {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

#order-modal .handle-dropdown li.disabled > a,
#order-modal .handle-dropdown a.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 991px) {
    #order-modal .stepy-header {
        gap: 8px;
    }

    #order-modal .stepy-header li {
        flex: 1 1 45%;
    }
}

@media (max-width: 575px) {
    #order-modal .stepy-header li {
        flex: 1 1 100%;
    }
}

.partner-actions-dropdown .dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.partner-actions-dropdown .dropdown-menu {
    padding: 0;
}

.partner-actions-dropdown .dropdown-item:hover,
.partner-actions-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
}

.partner-actions-dropdown .dropdown-item>i {
    flex: 0 0 16px;
    width: 16px;
    text-align: center;
    margin: 0 8px 0 0;
}

.partner-actions-dropdown .dropdown-toggle {
    height: var(--ui-height-sm);
    line-height: calc(var(--ui-height-sm) - 2px);
    padding-top: 0;
    padding-bottom: 0;
}

.partner-actions-dropdown .dropdown-item.disabled,
.partner-actions-dropdown .dropdown-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.ssl-products-actions-dropdown .dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.ssl-products-actions-dropdown .dropdown-item:hover,
.ssl-products-actions-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
}

.ssl-products-actions-dropdown .dropdown-item>i {
    flex: 0 0 16px;
    width: 16px;
    text-align: center;
    margin: 0 8px 0 0;
}

.ssl-products-actions-dropdown .dropdown-toggle {
    height: var(--ui-height-sm);
    line-height: calc(var(--ui-height-sm) - 2px);
    padding-top: 0;
    padding-bottom: 0;
}

.ssl-products-actions-dropdown .dropdown-item.disabled,
.ssl-products-actions-dropdown .dropdown-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.presoa-actions-dropdown .dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.presoa-actions-dropdown .dropdown-item:hover,
.presoa-actions-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
}

.presoa-actions-dropdown .dropdown-item>i {
    flex: 0 0 16px;
    width: 16px;
    text-align: center;
    margin: 0 8px 0 0;
}

.presoa-actions-dropdown .dropdown-toggle {
    height: var(--ui-height-sm);
    line-height: calc(var(--ui-height-sm) - 2px);
    padding-top: 0;
    padding-bottom: 0;
}

.presoa-actions-dropdown .dropdown-item.disabled,
.presoa-actions-dropdown .dropdown-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.panel-ctrls .presoa-actions-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

.panel-ctrls .ssl-products-actions-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

.soa-actions-dropdown .dropdown-menu,
.modal-actions-dropdown .dropdown-menu {
    padding: 0;
}

.handle-actions-dropdown .dropdown-item:hover,
.handle-actions-dropdown .dropdown-item:focus,
.partner-actions-dropdown .dropdown-item:hover,
.partner-actions-dropdown .dropdown-item:focus,
.ssl-products-actions-dropdown .dropdown-item:hover,
.ssl-products-actions-dropdown .dropdown-item:focus,
.presoa-actions-dropdown .dropdown-item:hover,
.presoa-actions-dropdown .dropdown-item:focus,
.soa-actions-dropdown .dropdown-item:hover,
.soa-actions-dropdown .dropdown-item:focus,
.modal-actions-dropdown .dropdown-item:hover,
.modal-actions-dropdown .dropdown-item:focus,
.reseller-actions-dropdown .dropdown-item:hover,
.reseller-actions-dropdown .dropdown-item:focus {
    transform: translateX(0) !important;
}

.panel-ctrls .handle-actions-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

.panel-ctrls .partner-actions-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

.panel-ctrls .reseller-actions-separator {
    display: inline-block;
    width: 1px;
    height: 24px;
    margin: 0 8px;
    background: rgba(255, 255, 255, 0.2);
    vertical-align: middle;
}

/* Normalize action dropdown items in table panel controls (full-width highlight) */
.panel-ctrls .dropdown-menu {
    padding: 0;
}

.panel-ctrls .dropdown-menu .dropdown-item {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-sizing: border-box;
}

.panel-ctrls .dropdown-menu .dropdown-item:hover,
.panel-ctrls .dropdown-menu .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
}

.reseller-actions-dropdown .dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.reseller-actions-dropdown .dropdown-menu {
    padding: 0;
}

.reseller-actions-dropdown .dropdown-item:hover,
.reseller-actions-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
}

.reseller-actions-dropdown .dropdown-item>i {
    flex: 0 0 16px;
    width: 16px;
    text-align: center;
    margin: 0 8px 0 0;
}

.reseller-actions-dropdown .dropdown-toggle {
    height: var(--ui-height-sm);
    line-height: calc(var(--ui-height-sm) - 2px);
    padding-top: 0;
    padding-bottom: 0;
}

.reseller-actions-dropdown .dropdown-item.disabled,
.reseller-actions-dropdown .dropdown-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.modal-datatable .dataTables_wrapper {
    width: 100%;
    padding: 0;
}

.modal-datatable .dataTables_wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.modal-datatable .dataTables_wrapper [class^="col-"],
.modal-datatable .dataTables_wrapper [class*=" col-"] {
    padding-left: 0;
    padding-right: 0;
}

.modal-datatable table.dataTable,
.modal-datatable .table {
    border: 0;
    border-radius: 0;
}

.modal-datatable .modal-footer .dataTables_paginate .pagination {
    border: 0;
    box-shadow: none;
}

.modal-datatable .modal-footer .dataTables_info,
.modal-datatable .modal-footer .dataTables_paginate {
    margin-top: 5px;
}

.modal-datatable .modal-buttons .btn[data-dismiss="modal"] {
    border: 0;
    background: transparent;
    box-shadow: none;
}

.modal-datatable .modal-actions-dropdown {
    margin-right: 8px;
}

.modal-datatable .modal-actions-dropdown .dropdown-item {
    width: 100%;
    text-align: left;
    background: transparent;
    border: 0;
    padding: 6px 12px;
    display: flex;
    align-items: center;
}

.modal-datatable .modal-actions-dropdown .dropdown-item:hover,
.modal-datatable .modal-actions-dropdown .dropdown-item:focus {
    background: rgba(255, 255, 255, 0.06);
}

.modal-datatable .modal-actions-dropdown .dropdown-item.disabled,
.modal-datatable .modal-actions-dropdown .dropdown-item:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

.modal-datatable .modal-actions-dropdown .dropdown-item>i {
    flex: 0 0 16px;
    width: 16px;
    text-align: center;
    margin: 0 8px 0 0;
}

.modal-datatable .modal-actions-dropdown .dropdown-item .dropdown-label {
    flex: 1 1 auto;
}

.modal-datatable .modal-buttons .dataTables_filter {
    margin: 0 8px;
}

.panel-body-pl-2 {
    padding-left: 2rem !important
}

.no-padding {
    padding: 0 !important;
}

.no-left-padding {
    padding-left: 0 !important;
}

/* Flatpickr - dark theme alignment for admin UI */
.flatpickr-calendar {
    background: #2f394a;
    border: 1px solid #465066;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    color: #e7ecf5;
}

.flatpickr-calendar.arrowTop::before,
.flatpickr-calendar.arrowTop::after {
    border-bottom-color: #2f394a;
}

.flatpickr-calendar.arrowBottom::before,
.flatpickr-calendar.arrowBottom::after {
    border-top-color: #2f394a;
}

.flatpickr-months .flatpickr-month {
    color: #e7ecf5;
}

.flatpickr-months .flatpickr-prev-month,
.flatpickr-months .flatpickr-next-month {
    color: #c9d4e5;
}

.flatpickr-months .flatpickr-prev-month:hover,
.flatpickr-months .flatpickr-next-month:hover {
    color: #ffffff;
}

.flatpickr-weekdays {
    background: #2b3443;
    border-bottom: 1px solid #3e485c;
}

span.flatpickr-weekday {
    color: #c1cbe0;
}

.flatpickr-day {
    color: #e7ecf5;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    background: #3c475b;
    border-color: #3c475b;
    color: #ffffff;
}

.flatpickr-day.today {
    background: rgba(79, 110, 161, 0.25);
    border-color: #7aa2d6;
    color: #e9f1ff;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange,
.flatpickr-day.selected.inRange,
.flatpickr-day.startRange.inRange,
.flatpickr-day.endRange.inRange,
.flatpickr-day.selected:focus,
.flatpickr-day.startRange:focus,
.flatpickr-day.endRange:focus,
.flatpickr-day.selected:hover,
.flatpickr-day.startRange:hover,
.flatpickr-day.endRange:hover {
    background: #4f6ea1;
    border-color: #4f6ea1;
    color: #ffffff;
}

.flatpickr-day.inRange {
    background: #3b4962;
    border-color: #3b4962;
    color: #e7ecf5;
}

.flatpickr-day.disabled,
.flatpickr-day.prevMonthDay,
.flatpickr-day.nextMonthDay {
    color: rgba(231, 236, 245, 0.35);
}

.flatpickr-time {
    border-top: 1px solid #3e485c;
    background: #2f394a;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-time-separator {
    color: #e7ecf5;
}

.flatpickr-time input:hover,
.flatpickr-time input:focus {
    background: #3c475b;
}

.flatpickr-time .numInputWrapper span.arrowUp:after {
    border-bottom-color: #c9d4e5;
}

.flatpickr-time .numInputWrapper span.arrowDown:after {
    border-top-color: #c9d4e5;
}

/* Numeric inputs: keep spinners but make them subtle */
input[type="number"] {
    -moz-appearance: auto;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    opacity: 0.7;
    width: 18px;
    height: auto;
    margin: 0;
}

/* Native checkbox/radio styling for BS4 (iCheck replacement) */
.icheck input[type="checkbox"],
.icheck input[type="radio"],
.icheck-control,
.icheck-native {
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    clip: auto !important;
    clip-path: none !important;
    overflow: visible !important;
    width: auto;
    height: auto;
    appearance: auto;
    -webkit-appearance: auto;
    accent-color: #4f6ea1;
}

.icheck input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
}

label.icheck,
label.checkbox-inline.icheck,
label.radio-inline.icheck,
label.radio-block.icheck,
label.checkbox.icheck {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

label.checkbox-inline.icheck,
label.radio-inline.icheck {
    padding-left: 0;
    margin-left: 0;
}

label.checkbox input[type="checkbox"] {
    display: inline-block !important;
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    clip: auto !important;
    clip-path: none !important;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    appearance: auto;
    -webkit-appearance: auto;
    accent-color: #4f6ea1;
}

label.icheck input[type="checkbox"],
label.icheck input[type="radio"] {
    margin: 0 6px 0 0;
}

.radio-inline input[type="radio"] {
    margin-right: 6px;
}

/* Handle select width alignment */
.handle-select-group .select2-container {
    min-width: 360px;
    width: 100% !important;
}

.handle-select-group .select2-container .select2-selection,
.handle-select-group .select2-container .select2-selection--single,
.handle-select-group .select2-container--default .select2-selection--single,
.handle-select-group .select2-container .select2-choice {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.handle-select-group .input-group-btn .btn:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.nameserver-select-group .select2-container {
    min-width: 360px;
    width: 100% !important;
    display: table-cell !important;
    float: none !important;
}

.nameserver-select-group .select2-container .select2-selection,
.nameserver-select-group .select2-container .select2-selection--single,
.nameserver-select-group .select2-container--default .select2-selection--single,
.nameserver-select-group .select2-container .select2-choice {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-right: 0 !important;
}

.nameserver-select-group .input-group-btn .btn:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0 !important;
}

.nameserver-select-group .select2-choice {
    width: 100% !important;
}

.nameserver-select-group .input-group-btn {
    display: table-cell;
    width: 1%;
    white-space: nowrap;
    padding-left: 0 !important;
}

.nameserver-select-group {
    display: table;
    width: 100%;
    table-layout: fixed;
    border-collapse: separate;
}

.nameserver-select-group > .select2-container {
    display: table-cell !important;
    width: 100% !important;
}

.nameserver-select-group > .input-group-btn {
    display: table-cell;
    width: 1%;
    padding-left: 0 !important;
}

.nameserver-select-group > .select2-container + .input-group-btn {
    margin-left: 0 !important;
}

label.checkbox-inline.icheck input[type="checkbox"],
label.checkbox-inline.icheck input[type="radio"],
label.radio-inline.icheck input[type="checkbox"],
label.radio-inline.icheck input[type="radio"] {
    position: static;
}

.inputs-form .form-group > label.control-label {
    width: 100%;
    text-align: left;
    padding-left: 0;
}

.inputs-form .form-group > .col-sm-8 {
    width: 100%;
    padding-left: 0;
}

/* Handle additional fields modal: full-width fields */
#handle-additional-fields-modal .form-group > [class*="col-"] {
    float: none;
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

#handle-additional-fields-modal .form-group > label.control-label {
    text-align: left;
}

#handle-additional-fields-modal .col-sm-push-3 {
    left: 0;
    position: static;
}


label.icheck .help-block {
    margin: 6px 0 0 22px;
    color: rgba(231, 236, 245, 0.7);
}
.app-nav-header .logo-text,
.app-nav-menu .logo-text {
    display: inline-block;
    font-size: var(--main-header-title-font-size);
    font-weight: var(--main-header-title-font-weight);
    line-height: var(--main-header-title-line-height);
    color: var(--main-header-title-color);
    letter-spacing: 0;
}

.app-nav-menu .dropdown-menu > li > a {
    display: flex;
    align-items: center;
}

.app-nav-menu .dropdown-menu > li > a > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.6em;
    width: 1.6em;
    text-align: center;
    margin-right: 12px;
}

.login-title {
    font-size: var(--font-size-h4);
    line-height: var(--line-height-h4);
}

@media (max-width: 767px) {
    .app-nav-header .logo-text,
    .app-nav-menu .logo-text {
        font-size: var(--font-size-h4);
        line-height: var(--line-height-h4);
    }
}
/* Jasny fileinput helper styles for partner design logo upload */
.btn-file {
    overflow: hidden;
    position: relative;
    vertical-align: middle;
}

.btn-file > input[type="file"] {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    transform: translate(-300px, 0) scale(4);
}

.fileinput {
    display: inline-block;
    margin-bottom: 9px;
}

.fileinput .thumbnail {
    display: inline-block;
    margin-bottom: 5px;
    overflow: hidden;
    text-align: center;
    vertical-align: middle;
}

.fileinput .thumbnail > img {
    max-height: 100%;
}

.fileinput-exists .fileinput-new,
.fileinput-new .fileinput-exists {
    display: none;
}

.partner-logo-hidden {
    display: none;
}

.partner-logo-preview.thumbnail,
.partner-logo-input .thumbnail {
    background: transparent;
    padding: 20px;
    height: 100px;
    width: 100%;
    text-align: left;
}

.partner-logo-preview.thumbnail > img,
.partner-logo-input .thumbnail > img {
    max-height: 60px;
    max-width: 100%;
    height: auto;
    width: auto;
    display: block;
}

.main-header .breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: var(--main-header-breadcrumb-font-size, 12px);
}

.main-header .breadcrumb > li {
    display: inline-flex;
    align-items: center;
}

.main-header .breadcrumb > li + li:before {
    content: "/";
    color: rgba(255, 255, 255, 0.5);
    padding: 0 6px 0 2px;
}

.main-header .breadcrumb a {
    color: var(--main-header-breadcrumb-color, rgba(255, 255, 255, 0.72));
    text-decoration: none;
}

.main-header .breadcrumb a:hover,
.main-header .breadcrumb a:focus {
    color: #ffffff;
    text-decoration: none;
}

.main-header .breadcrumb > li.active {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 700;
}
.passkey-input-group .form-control {
    border-right: 0;
}

.passkey-input-group .input-group-btn .btn {
    border-left: 0;
}

.passkey-input-group .btn {
    white-space: nowrap;
}

.passkey-login-actions {
    display: flex;
    gap: 12px;
}

.passkey-login-actions .passkey-login-primary {
    flex: 4 1 0;
    margin: 0;
}

.passkey-login-actions .passkey-login-icon {
    flex: 1 1 0;
    margin: 0;
    font-size: 18px;
    min-width: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 14px;
    padding-right: 0;
}

@media (max-width: 640px) {
    .passkey-login-actions {
        flex-direction: column;
    }
}
