* {
    box-sizing: border-box;
}

:root {
    --blue: #005baa;
    --blue-dark: #123a7a;
    --teal: #0089b7;
    --red: #e31e24;
    --orange: #f58220;
    --bg: #f3f8fd;
    --panel: #ffffff;
    --line: #d5e3ef;
    --text: #1f2f46;
    --muted: #53657a;
    --danger-bg: #ffe8e8;
    --danger: #a30000;
    --success-bg: #e8fff2;
    --success: #096b35;
    --sidebar-width: 270px;
    --font-main: Arial, Helvetica, sans-serif;
}

body {
    margin: 0;
    font-family: var(--font-main);
    font-optical-sizing: auto;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
}

.auth-page {
    overflow: hidden;
}

.auth-shell {
    height: 100vh;
    height: 100dvh;
    min-height: 0;
    display: grid;
    place-items: center;
    overflow: hidden;
    padding: 1rem;
    background:
        radial-gradient(circle at 16% 20%, rgba(245, 130, 32, 0.22), transparent 24rem),
        radial-gradient(circle at 84% 76%, rgba(0, 137, 183, 0.22), transparent 28rem),
        linear-gradient(135deg, #fff8d8 0%, #eef7ff 42%, #f3f8fd 100%);
}

.auth-scene {
    position: relative;
    isolation: isolate;
    width: min(100%, 920px);
    height: min(560px, calc(100vh - 2rem));
    height: min(560px, calc(100dvh - 2rem));
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(213, 227, 239, 0.85);
    border-radius: 8px;
    background:
        linear-gradient(115deg, rgba(18, 58, 122, 0.96) 0 48%, transparent 48.2%),
        linear-gradient(115deg, transparent 0 47.8%, rgba(227, 30, 36, 0.9) 48% 100%),
        #121a22;
    box-shadow: 0 24px 70px rgba(0, 35, 84, 0.2);
}

.auth-scene::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(115deg, transparent 47%, rgba(245, 130, 32, 0.85) 47.4%, rgba(245, 130, 32, 0.18) 49%, transparent 49.4%),
        radial-gradient(circle at 18% 78%, rgba(255, 214, 0, 0.16), transparent 14rem),
        radial-gradient(circle at 82% 20%, rgba(255, 255, 255, 0.1), transparent 15rem);
}

.auth-scene::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 8px;
    z-index: -1;
    background: linear-gradient(90deg, var(--blue), var(--red), var(--orange));
}

.auth-scene-login {
    background:
        linear-gradient(115deg, rgba(18, 26, 34, 0.98) 0 48%, transparent 48.2%),
        linear-gradient(115deg, transparent 0 47.8%, rgba(173, 52, 35, 0.94) 48% 100%),
        #121a22;
}

.auth-scene-register {
    background:
        linear-gradient(115deg, rgba(173, 52, 35, 0.94) 0 48%, transparent 48.2%),
        linear-gradient(115deg, transparent 0 47.8%, rgba(18, 26, 34, 0.98) 48% 100%),
        #121a22;
}

.auth-brand-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 4;
    display: flex;
    justify-content: center;
    padding: 0.42rem 1.5rem;
    background: linear-gradient(90deg, #fff38b, #ffd21c 52%, #f6b318);
    border-bottom: 1px solid rgba(18, 58, 122, 0.18);
}

.auth-brand-strip a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 360px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.auth-brand-strip img {
    display: block;
    width: min(360px, 70vw);
    height: 62px;
    object-fit: contain;
}

.auth-card {
    position: relative;
    z-index: 2;
    width: min(100%, 390px);
    align-self: center;
    justify-self: center;
    margin-top: 62px;
    padding: 1rem 2rem 1rem;
    color: #ffffff;
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    backdrop-filter: blur(1px);
}

.auth-scene-register .auth-card {
    background: transparent;
}

.auth-scene-login .auth-card {
    background: transparent;
}

.auth-scene-login .auth-card {
    grid-column: 1;
}

.auth-scene-register .auth-card {
    grid-column: 2;
}

.auth-welcome {
    position: relative;
    z-index: 1;
    align-self: center;
    justify-self: center;
    width: min(100%, 360px);
    margin-top: 62px;
    padding: 2rem;
    color: #ffffff;
    text-align: center;
}

.auth-scene-register .auth-welcome {
    grid-column: 1;
    text-align: left;
}

.auth-scene-login .auth-welcome {
    grid-column: 2;
}

.auth-welcome h2 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: 2.5rem;
    line-height: 1.15;
    font-weight: 900;
}

.auth-welcome p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.55;
}

.auth-card h1,
.dashboard-top h1 {
    color: var(--blue);
    margin: 0;
}

.auth-card h1 {
    margin-bottom: 0.8rem;
    color: #ffffff;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 900;
}

label {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid #cfd9e3;
    border-radius: 6px;
    padding: 0.8rem;
    font: inherit;
    background: #ffffff;
}

.auth-card label {
    color: rgba(255, 255, 255, 0.86);
    font-weight: 800;
    gap: 0.05rem;
}

.auth-card input {
    min-height: 38px;
    color: #ffffff;
    border: 0;
    border-bottom: 2px solid rgba(255, 255, 255, 0.62);
    border-radius: 0;
    padding: 0.25rem 0.1rem;
    background: transparent;
    outline: 0;
}

.auth-input-wrap {
    position: relative;
    display: block;
}

.auth-input-icon,
.auth-password-toggle {
    position: absolute;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.72);
    transform: translateY(-50%);
}

.auth-input-icon {
    left: 0;
    width: 1.35rem;
    height: 1.35rem;
    pointer-events: none;
}

.auth-input-icon svg,
.auth-password-toggle svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.auth-card .auth-input-wrap input {
    padding-left: 1.8rem;
}

.auth-card .auth-input-wrap:has(.auth-password-toggle) input {
    padding-right: 2rem;
}

.auth-password-toggle {
    right: 0;
    width: 1.5rem;
    min-height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus-visible {
    color: #ffd21c;
    filter: none;
    outline: 0;
}

.auth-password-toggle .eye-closed {
    display: none;
}

.auth-password-toggle[aria-pressed="true"] .eye-open {
    display: none;
}

.auth-password-toggle[aria-pressed="true"] .eye-closed {
    display: block;
}

.auth-card input:focus {
    border-color: #ffd21c;
    box-shadow: 0 8px 0 -6px rgba(245, 130, 32, 0.7);
}

.auth-card input:-webkit-autofill {
    -webkit-text-fill-color: #ffffff;
    transition: background-color 9999s ease-out;
}

.edit-fields-grid input:not([type="file"]):not([type="checkbox"]),
.edit-fields-grid select {
    padding: 0.55rem 0.7rem;
}

button,
.button-link {
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 0;
    border-radius: 6px;
    background: var(--blue);
    color: #ffffff;
    padding: 0.7rem 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.auth-card button {
    width: 100%;
    min-height: 42px;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: linear-gradient(180deg, #f58220 0%, #e31e24 65%, #8b251d 100%);
    box-shadow: none;
}

.auth-card button:hover,
.auth-card button:focus-visible {
    filter: brightness(1.07);
}

.auth-card .auth-password-toggle {
    right: 0;
    width: 1.5rem;
    min-height: 1.5rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
}

.auth-card .auth-password-toggle:hover,
.auth-card .auth-password-toggle:focus-visible {
    color: #ffd21c;
    filter: none;
    outline: 0;
}

.auth-card p {
    margin: 0.58rem 0 0;
    color: rgba(255, 255, 255, 0.82);
    text-align: center;
    font-weight: 700;
}

.auth-card a {
    color: #ffd21c;
    font-weight: 900;
    text-decoration: none;
}

.auth-card a:hover,
.auth-card a:focus-visible {
    text-decoration: underline;
}

.danger-button {
    background: var(--red);
}

.alert {
    border-radius: 6px;
    padding: 0.42rem 0.65rem;
    margin: 0 0 0.38rem;
    font-size: 0.86rem;
    line-height: 1.25;
    font-weight: 800;
}

.auth-scene-register .auth-card {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

.auth-scene-register .auth-card h1 {
    margin-bottom: 0.25rem;
    font-size: 1.48rem;
}

.auth-scene-register .auth-card label {
    gap: 0.03rem;
    margin-bottom: 0.24rem;
    font-size: 0.82rem;
}

.auth-scene-register .auth-card input {
    min-height: 24px;
    padding: 0.12rem 0.1rem;
}

.auth-scene-register .auth-card .auth-input-wrap input {
    padding-left: 1.65rem;
}

.auth-scene-register .auth-card .auth-input-wrap:has(.auth-password-toggle) input {
    padding-right: 1.85rem;
}

.auth-scene-register .auth-card button {
    min-height: 34px;
}

.auth-scene-register .auth-card p {
    margin-top: 0.26rem;
    font-size: 0.86rem;
}

.auth-scene-register .auth-card .alert {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 18px;
    padding: 0.12rem 0.45rem;
    margin: 0 0 0.16rem;
    font-size: 0.74rem;
    line-height: 1.1;
    white-space: nowrap;
}

.auth-card .alert {
    color: inherit;
    text-align: center;
}

.auth-card .alert.error {
    color: var(--danger);
}

.auth-card .alert.success {
    color: var(--success);
}

.error {
    background: var(--danger-bg);
    color: var(--danger);
}

.success {
    background: var(--success-bg);
    color: var(--success);
}

.admin-layout {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    display: grid;
    grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
    overflow: hidden;
}

.admin-menu-toggle,
.admin-sidebar-backdrop {
    display: none;
}

.admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue) 58%, var(--red) 100%);
    color: #ffffff;
    padding: 0.45rem 1.2rem 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    overflow: hidden;
}

.admin-brand {
    flex: 0 0 auto;
    display: block;
    color: #ffffff;
    text-decoration: none;
}

.admin-brand-logo {
    display: block;
    width: 100%;
    height: 72px;
    object-fit: contain;
    object-position: left center;
}

.admin-menu {
    display: grid;
    gap: 0.4rem;
}

.sidebar-menu-form {
    margin: 0;
}

.admin-menu button,
.admin-submenu a,
.admin-submenu-parent {
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    border-radius: 7px;
    padding: 0.8rem 0.9rem;
    font-weight: 800;
    text-align: left;
}

.admin-menu button {
    justify-content: flex-start;
    min-height: auto;
    border: 0;
    background: transparent;
    font: inherit;
}

.admin-menu button:hover,
.admin-menu button.active,
.admin-submenu a:hover,
.admin-submenu a.active,
.admin-submenu-parent.active {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.sidebar-scroll {
    min-height: 0;
    flex: 1 1 auto;
    display: grid;
    align-content: start;
    gap: 1.25rem;
    overflow-y: auto;
    padding-right: 0.2rem;
}

.sidebar-section-title {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0.2rem 0 -0.65rem;
}

.admin-submenu {
    display: grid;
    gap: 0.2rem;
    padding-left: 0.35rem;
}

.admin-submenu a {
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 750;
}

.admin-submenu-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 850;
    min-height: auto;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
}

.admin-submenu-parent::after {
    content: "▾";
    font-size: 0.72rem;
    transition: transform 0.18s ease;
}

.admin-submenu-parent[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

.admin-submenu-children {
    display: none;
    gap: 0.12rem;
    margin: -0.1rem 0 0.25rem;
    padding-left: 0.8rem;
}

.admin-submenu-children.is-open {
    display: grid;
}

.admin-submenu-children a {
    padding: 0.42rem 0.65rem;
    font-size: 0.82rem;
    font-weight: 700;
}

.component-empty-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 72px;
    height: 46px;
    border: 1px dashed #b7cbe0;
    border-radius: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    background: #f7fbff;
}

.admin-submenu-label {
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    margin: 0.7rem 0 0.15rem;
    padding: 0 0.55rem;
    text-transform: uppercase;
}

.admin-submenu-label:first-child {
    margin-top: 0;
}

.dashboard-shell {
    grid-column: 2;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    padding: 0 2rem 2rem;
    min-width: 0;
}

.dashboard-top {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 -2rem 1.5rem;
    padding: 0 2rem 1rem;
    background: var(--bg);
}

.dashboard-top p {
    margin: 0.45rem 0 0;
    color: var(--muted);
}

.dashboard-actions {
    display: flex;
    gap: 0.7rem;
    flex-wrap: wrap;
}

.dashboard-top-actions {
    display: grid;
    justify-items: end;
    gap: 0.65rem;
    margin-left: auto;
}

.add-new-button {
    width: 100%;
}

.modal-panel {
    width: 720px;
    max-width: calc(100vw - 2rem);
    max-height: calc(100dvh - 2rem);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0.72rem 0.9rem;
    background: var(--bg);
    box-shadow: 0 24px 70px rgba(0, 28, 84, 0.28);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.modal-panel,
.modal-panel form,
.modal-panel .edit-fields-grid,
.modal-panel .view-fields-grid,
.modal-panel label,
.modal-panel .image-input-combo {
    min-width: 0;
    max-width: 100%;
}

.modal-panel input:not([type="checkbox"]):not([type="radio"]),
.modal-panel select,
.modal-panel textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
}

.modal-panel textarea {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

.modal-panel .image-input-combo {
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100%;
}

.modal-panel .file-pill {
    min-width: 108px;
    max-width: 150px;
}

.modal-panel::backdrop {
    background: rgba(10, 25, 48, 0.42);
}

.modal-head {
    padding: 0 2.4rem 0.45rem 0;
}

.modal-head h2 {
    margin: 0;
    color: var(--blue);
}

.modal-close-form {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    margin: 0;
}

.modal-close {
    width: 36px;
    min-height: 36px;
    border-radius: 50%;
    padding: 0;
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--line);
    font-size: 1.4rem;
    line-height: 1;
}

.admin-profile-tools {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex: 0 0 auto;
}

.theme-dot-group {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.38rem;
    border: 1px solid #dfeae5;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(34, 71, 58, 0.08);
}

.theme-dot {
    width: 24px;
    min-height: 24px;
    height: 24px;
    border: 2px solid transparent;
    border-radius: 50%;
    padding: 0;
    box-shadow: none;
}

.theme-dot-light {
    background: #f7faf8;
}

.theme-dot-dark {
    background: #101820;
}

.theme-dot-emerald {
    background: #0a7f63;
}

.theme-dot.is-active {
    border-color: #f58220;
}

.profile-menu {
    position: relative;
}

.profile-menu summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 48px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    padding: 0.45rem 0.65rem;
    box-shadow: 0 8px 24px rgba(0, 51, 153, 0.08);
    cursor: pointer;
}

.profile-menu summary::-webkit-details-marker {
    display: none;
}

.profile-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    color: #ffffff;
    font-weight: 900;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-avatar.has-profile-image,
.profile-hero-avatar.has-profile-image {
    color: transparent;
}

.profile-summary {
    display: grid;
    gap: 0.1rem;
    min-width: 118px;
    text-align: left;
}

.profile-summary strong {
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.1;
}

.profile-summary span,
.profile-dropdown span {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: capitalize;
}

.profile-dropdown {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    z-index: 20;
    width: 230px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    box-shadow: 0 18px 44px rgba(0, 51, 153, 0.16);
    overflow: hidden;
}

.profile-dropdown-head {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem;
    border-bottom: 1px solid var(--line);
}

.profile-dropdown-head strong {
    color: var(--text);
}

.profile-dropdown a {
    display: block;
    color: var(--danger);
    font-weight: 900;
    padding: 0.85rem 0.9rem;
    text-decoration: none;
}

.profile-dropdown a:hover {
    background: var(--danger-bg);
}

.profile-dropdown .profile-dropdown-link {
    color: #0a7f63;
    border-bottom: 1px solid #dfeae5;
}

.profile-dropdown .profile-dropdown-link:hover {
    background: #eef8f4;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.metric-card {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1rem;
}

.metric-card strong {
    display: block;
    color: var(--blue);
    font-size: 1.65rem;
    line-height: 1.1;
}

.metric-card span {
    color: var(--muted);
    font-weight: 700;
}

.metric-card-with-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.download-enquiries-btn {
    width: auto;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border: 0;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.download-enquiries-btn:hover {
    background: #004987;
}

.table-wrap,
.cms-editor {
    overflow-x: auto;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.cms-editor {
    padding: 1rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    border-bottom: 1px solid #e8eef5;
    padding: 0.85rem;
    vertical-align: top;
}

th {
    color: var(--blue);
    background: #f0f7ff;
}

th:first-child,
td:first-child {
    width: 44px;
    text-align: center;
}

tr:last-child td {
    border-bottom: 0;
}

.admin-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 1rem;
}

.admin-pagination a,
.admin-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: var(--panel);
    color: var(--blue);
    text-decoration: none;
    font-weight: 800;
}

.admin-pagination .active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
}

.admin-pagination .disabled {
    background: #eef3f8;
    color: var(--muted);
    cursor: not-allowed;
}

.admin-setting-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 0 0 1rem;
}

.admin-setting-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: .55rem 1rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--panel);
    color: var(--text);
    font-weight: 800;
    text-decoration: none;
}

.admin-setting-tabs a.active {
    border-color: var(--blue);
    background: var(--blue);
    color: #fff;
    box-shadow: 0 10px 26px rgba(67, 84, 232, .2);
}

.custom-alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.48);
}

.custom-alert-overlay[hidden] {
    display: none;
}

.custom-alert-box {
    width: min(420px, 100%);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    padding: 1.35rem;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
}

.custom-alert-box h2 {
    margin-bottom: 0.55rem;
    color: var(--blue);
    font-size: 1.25rem;
}

.custom-alert-box p {
    color: var(--text);
    font-weight: 700;
    line-height: 1.5;
}

.custom-alert-box button {
    width: auto;
    min-width: 90px;
    min-height: 40px;
    margin-top: 1.1rem;
    padding: 0.55rem 1.1rem;
    border: 0;
    border-radius: 6px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

/* Admin visual refresh */
.admin-layout {
    background: #f7faf8;
}

.admin-sidebar {
    width: var(--sidebar-width);
    background: linear-gradient(180deg, #f7faf8 0%, #eef7f2 100%);
    color: #40524a;
    border-right: 1px solid #e4ede8;
    box-shadow: 12px 0 30px rgba(39, 68, 58, 0.06);
    padding: 1rem 1.1rem;
}

.admin-brand {
    display: flex;
    align-items: center;
    min-height: 70px;
    padding: 0 0.25rem;
}

.admin-brand-logo {
    height: 54px;
    object-position: left center;
}

.sidebar-scroll {
    gap: 1.05rem;
    padding-right: 0.35rem;
}

.sidebar-scroll::-webkit-scrollbar,
.dashboard-shell::-webkit-scrollbar {
    width: 8px;
}

.sidebar-scroll::-webkit-scrollbar-thumb,
.dashboard-shell::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #cbdad2;
}

.admin-menu,
.admin-submenu {
    gap: 0.18rem;
    padding-left: 0;
}

.admin-menu button,
.admin-submenu a,
.admin-submenu-parent {
    position: relative;
    min-height: 38px;
    border-radius: 4px;
    padding: 0.58rem 0.72rem 0.58rem 2rem;
    color: #51645d;
    background: transparent;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0;
}

.admin-menu button::before,
.admin-submenu a::before,
.admin-submenu-parent::before {
    content: "";
    position: absolute;
    left: 0.75rem;
    top: 50%;
    width: 9px;
    height: 9px;
    border-radius: 2px;
    background: #8fa39a;
    transform: translateY(-50%);
}

.admin-menu button:hover,
.admin-menu button.active,
.admin-submenu a:hover,
.admin-submenu a.active,
.admin-submenu-parent:hover,
.admin-submenu-parent.active {
    background: #dff3ec;
    color: #075f47;
}

.admin-menu button:hover::before,
.admin-menu button.active::before,
.admin-submenu a:hover::before,
.admin-submenu a.active::before,
.admin-submenu-parent:hover::before,
.admin-submenu-parent.active::before {
    background: #11a37f;
}

.admin-submenu-label {
    margin: 1rem 0 0.28rem;
    padding: 0 0.72rem;
    color: #9aa9a2;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.admin-submenu-parent::after {
    right: 0.7rem;
    color: #8fa39a;
}

.admin-submenu-children {
    margin: 0.08rem 0 0.28rem;
    padding-left: 0.55rem;
    border-left: 1px solid #e1ece6;
}

.admin-submenu-children a {
    min-height: 32px;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    font-size: 0.79rem;
}

.dashboard-shell {
    background: #f7faf8;
    padding: 0 1.35rem 2rem;
}

.dashboard-top {
    position: sticky;
    top: 0;
    margin: 0 -1.35rem 1.25rem;
    padding: 0 1.35rem 0.85rem;
    background: rgba(247, 250, 248, 0.92);
    border-bottom: 1px solid #e7efea;
    backdrop-filter: blur(12px);
}

.dashboard-top h1 {
    color: #08231b;
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    font-weight: 900;
}

.dashboard-top p {
    color: #6a7b74;
    font-size: 0.9rem;
}

.profile-menu summary {
    min-height: 50px;
    border-color: #dfeae5;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(34, 71, 58, 0.08);
}

.profile-avatar {
    background: #0a7f63;
}

.profile-summary strong {
    color: #17251f;
}

.profile-summary span,
.profile-dropdown span {
    color: #70817a;
}

.profile-dropdown {
    border-color: #dfeae5;
    border-radius: 6px;
    box-shadow: 0 18px 44px rgba(34, 71, 58, 0.14);
}

.metric-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.metric-card,
.table-wrap,
.cms-editor,
.modal-panel,
.view-field {
    border-color: #dfeae5;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(34, 71, 58, 0.05);
}

.metric-card {
    min-height: 86px;
    padding: 1rem 1.05rem;
}

.metric-card strong {
    color: #0b2c22;
    font-size: 1.5rem;
}

.metric-card span {
    color: #71827b;
}

table {
    background: #fff;
}

th,
td {
    border-bottom-color: #e7efea;
    padding: 0.78rem 0.9rem;
}

th {
    color: #51645d;
    background: #f6fbf8;
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

tbody tr:hover td {
    background: #fbfefd;
}

input,
textarea,
select {
    border-color: #d9e5df;
    border-radius: 5px;
    background: #fff;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #11a37f;
    box-shadow: 0 0 0 3px rgba(17, 163, 127, 0.12);
    outline: 0;
}

.add-new-button,
.download-enquiries-btn,
.add-row-actions button,
.custom-alert-box button {
    border-radius: 5px;
    background: #0a7f63;
    box-shadow: none;
}

.add-new-button:hover,
.download-enquiries-btn:hover,
.add-row-actions button:hover,
.custom-alert-box button:hover {
    background: #086b54;
}

.modal-panel {
    background: #f7faf8;
    box-shadow: 0 26px 80px rgba(23, 37, 31, 0.22);
}

.modal-head h2,
.view-field strong {
    color: #0a7f63;
}

.admin-pagination a,
.admin-pagination span {
    border-color: #dfeae5;
    border-radius: 5px;
    color: #0a7f63;
}

.admin-pagination .active {
    border-color: #0a7f63;
    background: #0a7f63;
}

.dashboard-insights-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.7fr) minmax(260px, 0.7fr);
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.profile-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 1rem;
}

.profile-card {
    border: 1px solid #dfeae5;
    border-radius: 6px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(34, 71, 58, 0.05);
}

.profile-card-main {
    grid-row: auto;
}

.profile-hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e7efea;
}

.profile-avatar-edit {
    display: grid;
    justify-items: center;
    gap: 0.55rem;
}

.profile-hero-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    background: #0a7f63;
    color: #fff;
    font-size: 1.45rem;
    font-weight: 900;
    line-height: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.profile-upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    border: 1px solid #d9e5df;
    border-radius: 5px;
    padding: 0.35rem 0.65rem;
    background: #fff;
    color: #0a7f63;
    font-size: 0.78rem;
    font-weight: 900;
    cursor: pointer;
}

.profile-upload-button input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.profile-hero h2,
.profile-card-head h2 {
    margin: 0;
    color: #0b2c22;
    font-size: 1.1rem;
}

.profile-hero-body span,
.profile-card-head span {
    display: block;
    margin-top: 0.22rem;
    color: #71827b;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: capitalize;
}

.profile-card-head {
    margin-bottom: 0.9rem;
}

.profile-detail-list {
    display: grid;
    gap: 0.75rem;
    margin: 1rem 0 0;
}

.profile-detail-list div {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: start;
}

.profile-detail-list dt {
    color: #71827b;
    font-weight: 900;
}

.profile-detail-list dd {
    margin: 0;
    color: #1d2d42;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.profile-detail-list-compact div {
    grid-template-columns: 86px minmax(0, 1fr);
}

.theme-choice-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.theme-choice-group button {
    min-height: 42px;
    border: 1px solid #d9e5df;
    border-radius: 5px;
    background: #fff;
    color: #1d2d42;
    font-weight: 900;
}

.theme-choice-group button.is-active {
    border-color: #0a7f63;
    background: #0a7f63;
    color: #fff;
}

html[data-admin-theme="dark"] {
    --bg: #101820;
    --panel: #18232d;
    --line: #2b3a45;
    --text: #e8f0f4;
    --muted: #a9b8c0;
    --danger-bg: #3a1518;
    --danger: #ff8a8f;
}

html[data-admin-theme="dark"] body,
html[data-admin-theme="dark"] .admin-layout,
html[data-admin-theme="dark"] .dashboard-shell {
    background: #101820;
    color: #e8f0f4;
}

html[data-admin-theme="dark"] .admin-sidebar,
html[data-admin-theme="dark"] .dashboard-top {
    background: #142029;
    border-color: #2b3a45;
}

html[data-admin-theme="dark"] .admin-menu button,
html[data-admin-theme="dark"] .admin-submenu a,
html[data-admin-theme="dark"] .admin-submenu-parent,
html[data-admin-theme="dark"] .dashboard-top p,
html[data-admin-theme="dark"] .metric-card span,
html[data-admin-theme="dark"] .profile-summary span,
html[data-admin-theme="dark"] .profile-dropdown span,
html[data-admin-theme="dark"] .profile-detail-list dt,
html[data-admin-theme="dark"] .profile-hero-body span,
html[data-admin-theme="dark"] .profile-card-head span {
    color: #a9b8c0;
}

html[data-admin-theme="dark"] .dashboard-top h1,
html[data-admin-theme="dark"] .dashboard-section-head h2,
html[data-admin-theme="dark"] .metric-card strong,
html[data-admin-theme="dark"] .profile-summary strong,
html[data-admin-theme="dark"] .profile-dropdown-head strong,
html[data-admin-theme="dark"] .profile-hero h2,
html[data-admin-theme="dark"] .profile-card-head h2,
html[data-admin-theme="dark"] .profile-detail-list dd,
html[data-admin-theme="dark"] td {
    color: #e8f0f4;
}

html[data-admin-theme="dark"] .metric-card,
html[data-admin-theme="dark"] .table-wrap,
html[data-admin-theme="dark"] .theme-dot-group,
html[data-admin-theme="dark"] .profile-menu summary,
html[data-admin-theme="dark"] .profile-dropdown,
html[data-admin-theme="dark"] .profile-card,
html[data-admin-theme="dark"] .cms-editor,
html[data-admin-theme="dark"] .modal-panel,
html[data-admin-theme="dark"] .view-field,
html[data-admin-theme="dark"] input,
html[data-admin-theme="dark"] textarea,
html[data-admin-theme="dark"] select,
html[data-admin-theme="dark"] .theme-choice-group button,
html[data-admin-theme="dark"] .profile-upload-button {
    border-color: #2b3a45;
    background: #18232d;
    color: #e8f0f4;
}

html[data-admin-theme="dark"] th {
    background: #1d2a34;
    color: #c6d2d8;
}

html[data-admin-theme="dark"] td {
    border-bottom-color: #2b3a45;
}

html[data-admin-theme="dark"] tbody tr:hover td,
html[data-admin-theme="dark"] .profile-dropdown .profile-dropdown-link:hover {
    background: #1d2a34;
}

html[data-admin-theme="dark"] .admin-menu button:hover,
html[data-admin-theme="dark"] .admin-menu button.active,
html[data-admin-theme="dark"] .admin-submenu a:hover,
html[data-admin-theme="dark"] .admin-submenu a.active,
html[data-admin-theme="dark"] .admin-submenu-parent:hover,
html[data-admin-theme="dark"] .admin-submenu-parent.active,
html[data-admin-theme="dark"] .theme-choice-group button.is-active {
    background: #0a7f63;
    color: #fff;
}

html[data-admin-theme="dark"] .profile-dropdown .profile-dropdown-link {
    color: #7fe0c5;
    border-bottom-color: #2b3a45;
}

html[data-admin-theme="emerald"] {
    --bg: #eef8f4;
    --panel: #ffffff;
    --line: #cde4da;
    --text: #0d2d24;
    --muted: #5f766d;
}

html[data-admin-theme="emerald"] body,
html[data-admin-theme="emerald"] .admin-layout,
html[data-admin-theme="emerald"] .dashboard-shell,
html[data-admin-theme="emerald"] .dashboard-top {
    background: #eef8f4;
}

html[data-admin-theme="emerald"] .admin-sidebar {
    background: linear-gradient(180deg, #f3fbf7 0%, #dff3ec 100%);
}

html[data-admin-theme="emerald"] .metric-card,
html[data-admin-theme="emerald"] .table-wrap,
html[data-admin-theme="emerald"] .theme-dot-group,
html[data-admin-theme="emerald"] .profile-menu summary,
html[data-admin-theme="emerald"] .profile-dropdown,
html[data-admin-theme="emerald"] .profile-card {
    border-color: #cde4da;
}

.dashboard-panel {
    min-height: 230px;
    border: 1px solid #dfeae5;
    border-radius: 6px;
    background: #fff;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(34, 71, 58, 0.05);
}

.dashboard-panel-wide {
    min-width: 0;
}

.dashboard-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.dashboard-panel-head h2 {
    margin: 0;
    color: #0b2c22;
    font-size: 1.08rem;
}

.dashboard-panel-head span {
    color: #71827b;
    font-size: 0.78rem;
    font-weight: 800;
}

.dashboard-bar-chart {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
    align-items: end;
    gap: 0.55rem;
    min-height: 185px;
    padding-top: 1rem;
    border-top: 1px solid #eef4f0;
    overflow: hidden;
}

.dashboard-bar-item {
    min-width: 0;
    height: 170px;
    display: grid;
    grid-template-rows: 22px 1fr 24px;
    align-items: end;
    justify-items: center;
    gap: 0.35rem;
}

.dashboard-bar-value {
    color: #71827b;
    font-size: 0.7rem;
    font-weight: 800;
}

.dashboard-bar {
    display: block;
    width: 58%;
    min-height: 5px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #15b98f, #0a7f63);
}

.dashboard-bar-label {
    color: #7a8b84;
    font-size: 0.66rem;
    font-weight: 800;
    white-space: nowrap;
}

.dashboard-mini-chart {
    height: 172px;
    display: flex;
    align-items: flex-end;
    gap: 0.32rem;
    padding-top: 1rem;
    border-top: 1px solid #eef4f0;
}

.dashboard-mini-bar {
    flex: 1 1 0;
    min-width: 5px;
    min-height: 5px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(180deg, #f7a94b, #e88325);
}

.top-pages-list {
    display: grid;
    gap: 0.58rem;
    padding-top: 0.2rem;
}

.top-page-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: center;
    padding-bottom: 0.58rem;
    border-bottom: 1px solid #eef4f0;
}

.top-page-row span {
    min-width: 0;
    overflow: hidden;
    color: #40524a;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-page-row strong {
    color: #0a7f63;
}

.dashboard-empty {
    margin: 0;
    color: #71827b;
    line-height: 1.5;
}

.dashboard-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 0 0 0.7rem;
}

.dashboard-section-head h2 {
    margin: 0;
    color: #0b2c22;
    font-size: 1.15rem;
}

.dashboard-section-head span {
    color: #71827b;
    font-size: 0.82rem;
    font-weight: 800;
}

textarea.code {
    min-height: 540px;
    font-family: Consolas, Monaco, monospace;
    white-space: pre;
}

.inline-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.inline-form select {
    min-width: 150px;
}

.component-editor textarea {
    min-width: 220px;
    min-height: 72px;
    resize: vertical;
}

.component-editor table {
    min-width: 900px;
}

.component-editor th,
.component-editor td {
    padding: 0.72rem 0.85rem;
    vertical-align: middle;
}

.component-cell-text {
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.component-editor input[type="url"] {
    min-width: 260px;
}

.component-editor input[type="file"] {
    min-width: 260px;
    margin-top: 0.5rem;
    padding: 0.65rem;
}

.modal-panel.component-table-site_settings {
    width: min(100%, 760px);
    padding: 0;
    overflow: hidden;
    border: 1px solid #d7e4f2;
    border-radius: 10px;
}

.modal-panel.component-table-site_settings .modal-head {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #e6eef8;
    background: #fff;
}

.modal-panel.component-table-site_settings .modal-head h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.2;
}

.modal-panel.component-table-site_settings .edit-row-form,
.modal-panel.component-table-site_settings .add-row-form {
    padding: 1.1rem 1.15rem 1rem;
}

.modal-panel.component-table-site_settings .edit-fields-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: .9rem 1rem;
}

.modal-panel.component-table-site_settings label,
.modal-panel.component-table-site_settings .component-readonly-field {
    display: grid;
    gap: .45rem;
    margin: 0;
    color: #111827;
    font-size: .9rem;
    font-weight: 900;
}

.modal-panel.component-table-site_settings input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-site_settings textarea {
    width: 100%;
    height: 42px;
    min-height: 42px;
    border: 1px solid #cbd8ea;
    border-radius: 7px;
    background: #fff;
    color: #0f172a;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.35;
    padding: .62rem .72rem;
}

.modal-panel.component-table-site_settings textarea {
    min-height: 86px;
    resize: vertical;
}

.modal-panel.component-table-site_settings input[readonly] {
    background: #f4f7fb;
    color: #52657b;
    cursor: not-allowed;
}

.modal-panel.component-table-site_settings .add-row-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    padding: .85rem 0 0;
    border-top: 1px solid #e6eef8;
    background: linear-gradient(90deg, transparent, #f2f7ff);
}

.modal-panel.component-table-site_settings .add-row-actions button {
    min-width: 132px;
    min-height: 44px;
    border-radius: 7px;
}

.table-wrap.component-table-site_settings {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    scrollbar-width: thin;
}

.table-wrap.component-table-site_settings table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-site_settings th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-site_settings th,
.table-wrap.component-table-site_settings td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-site_settings td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-site_settings tbody tr:nth-child(odd) td {
    background: #eee3d8;
}

.table-wrap.component-table-site_settings tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-site_settings tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-site_settings .component-cell-text {
    display: block;
    max-width: none;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-site_settings th:nth-child(1),
.table-wrap.component-table-site_settings td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-site_settings th:nth-child(2),
.table-wrap.component-table-site_settings td:nth-child(2) {
    width: 260px;
}

.table-wrap.component-table-site_settings th:nth-child(3),
.table-wrap.component-table-site_settings td:nth-child(3) {
    width: 420px;
}

.table-wrap.component-table-site_settings th:last-child,
.table-wrap.component-table-site_settings td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-site_settings .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-site_settings .component-actions form {
    margin: 0;
}

.table-wrap.component-table-site_settings .icon-action,
.table-wrap.component-table-site_settings .component-actions button {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-site_settings .icon-action svg {
    width: 12px;
    height: 12px;
}

.required-marker {
    margin-left: .18rem;
    color: #ef1d2a;
    font-weight: 900;
}

.component-label-text {
    display: inline-flex;
    align-items: center;
    gap: .18rem;
    line-height: 1.2;
}

.modal-panel.component-table-header_nav_items {
    width: min(100%, 840px);
    padding: 0;
    overflow: hidden;
    border: 1px solid #d7e4f2;
    border-radius: 10px;
}

.modal-panel.component-table-header_nav_items .modal-head {
    padding: 1rem 1.15rem;
    border-bottom: 1px solid #e6eef8;
    background: #fff;
}

.modal-panel.component-table-header_nav_items .modal-head h2 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.2;
}

.modal-panel.component-table-header_nav_items .edit-row-form,
.modal-panel.component-table-header_nav_items .add-row-form,
.modal-panel.component-table-header_nav_items .view-fields-grid {
    padding: 1.05rem 1.15rem 1rem;
}

.modal-panel.component-table-header_nav_items .edit-fields-grid,
.modal-panel.component-table-header_nav_items .view-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem 1rem;
}

.modal-panel.component-table-header_nav_items label,
.modal-panel.component-table-header_nav_items .view-field {
    display: grid;
    gap: .4rem;
    margin: 0;
    color: #111827;
    font-size: .9rem;
    font-weight: 900;
}

.modal-panel.component-table-header_nav_items input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-header_nav_items select,
.modal-panel.component-table-header_nav_items textarea {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: .6rem .72rem;
    border: 1px solid #cbd8ea;
    border-radius: 7px;
    background: #fff;
    color: #0f172a;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.35;
}

.modal-panel.component-table-header_nav_items input:required,
.modal-panel.component-table-header_nav_items select:required,
.modal-panel.component-table-header_nav_items textarea:required {
    border-left: 3px solid #ef1d2a;
}

.modal-panel.component-table-header_nav_items .toggle-field {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 42px;
    gap: .55rem;
}

.modal-panel.component-table-header_nav_items .add-row-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    padding: .85rem 0 0;
    border-top: 1px solid #e6eef8;
    background: linear-gradient(90deg, transparent, #f2f7ff);
}

.modal-panel.component-table-header_nav_items .add-row-actions button {
    min-width: 132px;
    min-height: 44px;
    border-radius: 7px;
}

.modal-panel.component-table-header_nav_items .view-field {
    padding: .75rem .85rem;
    border: 1px solid #e0e8f2;
    border-radius: 7px;
    background: #f8fbff;
}

.modal-panel.component-table-header_nav_items .view-field strong {
    color: #52657b;
    font-size: .75rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.table-wrap.component-table-header_nav_items {
    border-radius: 8px;
    overflow: auto;
    box-shadow: 0 12px 34px rgba(15, 23, 42, .07);
    scrollbar-width: thin;
}

.table-wrap.component-table-header_nav_items table {
    min-width: 980px;
    border-spacing: 0;
}

.table-wrap.component-table-header_nav_items th {
    background: #323232;
    color: #fff;
    border-bottom: 0;
    font-size: .74rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.table-wrap.component-table-header_nav_items td {
    height: 48px;
    padding: .5rem 1rem;
    border-bottom: 1px solid #edf4eb;
}

.table-wrap.component-table-header_nav_items tbody tr:nth-child(odd) td {
    background: #fff;
}

.table-wrap.component-table-header_nav_items tbody tr:nth-child(even) td {
    background: #eef9ec;
}

.table-wrap.component-table-header_nav_items tbody tr:hover td {
    background: #e2f3df;
}

.table-wrap.component-table-header_nav_items .component-cell-text {
    max-width: 260px;
    font-weight: 650;
    white-space: normal;
    line-height: 1.35;
}

.table-wrap.component-table-header_nav_items .component-actions {
    gap: .45rem;
}

.table-wrap.component-table-header_nav_items .component-actions button {
    width: 34px;
    height: 34px;
    min-height: 34px;
    border-radius: 6px;
}

.image-input-combo {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
}

.image-input-combo input[type="text"] {
    min-width: 0;
    border-radius: 6px 0 0 6px;
}

.file-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    margin: 0;
    padding: 0 0.8rem;
    border: 1px solid #cfd9e3;
    border-left: 0;
    border-radius: 0 6px 6px 0;
    background: linear-gradient(90deg, var(--blue), var(--red));
    color: #ffffff;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.file-pill input[type="file"] {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.file-pill [data-file-label] {
    display: block;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.component-image-preview {
    display: block;
    width: 150px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #cfd9e3;
    border-radius: 6px;
    margin-bottom: 0.5rem;
    background: #f8fbff;
}

.component-image-preview.compact {
    width: 54px;
    height: 36px;
    margin-bottom: 0.35rem;
}

.component-field-help {
    display: block;
    margin-top: .35rem;
    color: #53657a;
    font-size: .82rem;
    line-height: 1.45;
}

.quill-field {
    grid-column: 1 / -1;
    color: #172b4d;
}

.quill-editor {
    height: 130px;
    min-height: 130px;
    max-height: 520px;
    resize: vertical;
    overflow: auto;
    background: #fff;
    font-size: 1rem;
    line-height: 1.65;
}

.quill-field .ql-editor {
    height: 100%;
    min-height: 128px;
    max-height: none;
    overflow-y: auto;
}

.quill-source {
    display: none !important;
}

.edit-fields-grid label:has(.quill-field) {
    grid-column: 1 / -1;
}

.component-form-field-wide {
    grid-column: 1 / -1;
    min-width: 0;
}

.component-form-label {
    display: block;
    margin-bottom: .18rem;
    font-weight: 700;
}

.ql-toolbar.ql-snow,
.ql-container.ql-snow {
    border-color: #cfd9e3;
}

.quill-field .ql-toolbar.ql-snow {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 3px;
    min-height: 42px;
    padding: 5px 7px;
    overflow: visible;
}

.quill-field .ql-toolbar.ql-snow .ql-formats {
    display: inline-flex;
    align-items: center;
    gap: 1px;
    margin: 0 3px 0 0;
}

.quill-field .ql-toolbar.ql-snow button {
    width: 25px;
    height: 25px;
    min-height: 25px;
    padding: 3px;
}

.quill-field .ql-toolbar.ql-snow button svg {
    width: 18px;
    height: 18px;
}

.quill-field .ql-toolbar button.ql-table::after {
    content: 'Tbl';
    color: #444;
    font-size: 10px;
    font-weight: 800;
}

.quill-field .ql-editor table {
    width: 100%;
    border-collapse: collapse;
}

.quill-field .ql-editor td,
.quill-field .ql-editor th {
    min-width: 80px;
    height: auto !important;
    min-height: 0 !important;
    padding: 3px 5px;
    border: 1px solid #aebdca;
    line-height: 1.25;
    vertical-align: top;
}

.quill-field .ql-toolbar .ql-picker {
    height: 27px;
    font-size: 13px;
}

.quill-field .ql-toolbar .ql-picker.ql-header {
    width: 84px;
}

.quill-field .ql-toolbar .ql-picker.ql-font {
    width: 92px;
}

.quill-field .ql-toolbar .ql-picker-label {
    display: flex;
    align-items: center;
    padding: 0 20px 0 6px;
}

.quill-field .ql-toolbar .ql-picker-options {
    z-index: 100;
    background: #fff;
}

.quill-field .ql-toolbar .ql-picker.ql-expanded {
    z-index: 100;
}

.quill-field .ql-toolbar .ql-picker.ql-expanded .ql-picker-options {
    display: block;
    top: calc(100% + 2px);
    max-height: 220px;
    overflow-y: auto;
    pointer-events: auto;
}

.modal-panel.component-table-raw_news {
    max-width: 980px;
}

.modal-panel.component-table-raw_news .edit-fields-grid {
    gap: .9rem 1rem;
}

.modal-panel.component-table-raw_news .component-form-field-wide {
    padding: .85rem;
    border: 1px solid #d4e2ef;
    border-radius: 12px;
    background: #fbfdff;
}

.modal-panel.component-table-raw_news .raw-news-quill-editor {
    min-height: 330px;
    height: 360px;
    max-height: 560px;
}

.modal-panel.component-table-raw_news .quill-field .ql-editor {
    min-height: 328px;
}

.modal-panel.component-table-raw_news .component-field-help {
    margin-top: .55rem;
    font-weight: 700;
}

.component-table-raw_news table {
    min-width: 760px;
}

.component-table-raw_news th,
.component-table-raw_news td {
    vertical-align: middle;
}

.component-table-raw_news td:nth-child(3) {
    max-width: 520px;
    color: #061326;
    font-weight: 700;
}

.modal-panel.component-table-hero_content {
    max-width: 940px;
}

.modal-panel.component-table-hero_content .edit-fields-grid {
    gap: .85rem 1rem;
}

.modal-panel.component-table-hero_content textarea {
    min-height: 92px;
}

.modal-panel.component-table-hero_content select,
.modal-panel.component-table-hero_content input,
.modal-panel.component-table-hero_content textarea {
    background: #fff;
}

.component-table-hero_content table {
    min-width: 980px;
}

.component-table-hero_content td:nth-child(2),
.component-table-hero_content td:nth-child(3) {
    max-width: 360px;
    color: #07182f;
    font-weight: 700;
}

.component-table-hero_content td:nth-child(3) {
    font-weight: 500;
    line-height: 1.45;
}

.modal-panel.component-table-mbbs_abroad_page_sections,
.modal-panel.component-table-mbbs_abroad_page_items,
.modal-panel.component-table-universities {
    max-width: 1040px;
}

.modal-panel.component-table-mbbs_abroad_page_sections .edit-fields-grid,
.modal-panel.component-table-mbbs_abroad_page_items .edit-fields-grid,
.modal-panel.component-table-universities .edit-fields-grid {
    gap: .85rem 1rem;
}

.modal-panel.component-table-mbbs_abroad_page_sections textarea,
.modal-panel.component-table-mbbs_abroad_page_items textarea {
    min-height: 96px;
}

.modal-panel.component-table-universities {
    max-height: min(92vh, 860px);
}

.modal-panel.component-table-universities select,
.modal-panel.component-table-universities input,
.modal-panel.component-table-mbbs_abroad_page_sections select,
.modal-panel.component-table-mbbs_abroad_page_sections input,
.modal-panel.component-table-mbbs_abroad_page_sections textarea,
.modal-panel.component-table-mbbs_abroad_page_items select,
.modal-panel.component-table-mbbs_abroad_page_items input,
.modal-panel.component-table-mbbs_abroad_page_items textarea {
    background: #fff;
}

.component-table-mbbs_abroad_page_sections table,
.component-table-mbbs_abroad_page_items table {
    min-width: 980px;
}

.component-table-universities table {
    min-width: 1280px;
}

.component-table-mbbs_abroad_page_sections td:nth-child(4),
.component-table-mbbs_abroad_page_items td:nth-child(5),
.component-table-universities td:nth-child(3) {
    max-width: 360px;
    color: #061326;
    font-weight: 700;
}

.component-table-mbbs_abroad_page_sections td,
.component-table-mbbs_abroad_page_items td,
.component-table-universities td {
    vertical-align: middle;
}

.modal-panel.component-table-study_abroad_universities {
    max-width: 1060px;
    max-height: min(92vh, 860px);
    border-radius: 8px;
}

.modal-panel.component-table-study_abroad_universities .edit-fields-grid {
    gap: .85rem 1rem;
    align-items: start;
}

.modal-panel.component-table-study_abroad_universities .form-field {
    padding: .78rem .9rem;
    border: 1px solid #d8e3f2;
    border-radius: 8px;
    background: #fbfdff;
}

.modal-panel.component-table-study_abroad_universities input,
.modal-panel.component-table-study_abroad_universities textarea,
.modal-panel.component-table-study_abroad_universities select {
    min-height: 46px;
    background: #fff;
}

.modal-panel.component-table-study_abroad_universities .image-preview {
    width: 220px;
    max-width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d7e2f0;
}

.component-table-study_abroad_universities table {
    min-width: 1160px;
}

.component-table-study_abroad_universities td:nth-child(4) {
    max-width: 320px;
    color: #061326;
    font-weight: 700;
}

.component-table-study_abroad_universities td {
    vertical-align: middle;
}

.modal-panel.component-table-mbbs_india_page_sections {
    max-width: 980px;
    max-height: min(92vh, 820px);
    border-radius: 8px;
}

.modal-panel.component-table-mbbs_india_page_sections .edit-fields-grid {
    gap: .85rem 1rem;
    align-items: start;
}

.modal-panel.component-table-mbbs_india_page_sections .form-field {
    padding: .78rem .9rem;
    border: 1px solid #d8e3f2;
    border-radius: 8px;
    background: #fbfdff;
}

.modal-panel.component-table-mbbs_india_page_sections input,
.modal-panel.component-table-mbbs_india_page_sections textarea,
.modal-panel.component-table-mbbs_india_page_sections select {
    min-height: 46px;
    background: #fff;
}

.modal-panel.component-table-mbbs_india_page_sections textarea {
    min-height: 92px;
}

.modal-panel.component-table-mbbs_india_page_sections .image-preview,
.modal-panel.component-table-mbbs_india_page_sections .component-image-preview {
    width: 220px;
    max-width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d7e2f0;
}

.component-table-mbbs_india_page_sections table {
    min-width: 980px;
}

.component-table-mbbs_india_page_sections td {
    vertical-align: middle;
}

.component-table-mbbs_india_page_sections td:nth-child(4) {
    max-width: 340px;
    color: #061326;
    font-weight: 700;
}

.modal-panel.component-table-mbbs_india_page_items {
    max-width: 980px;
    max-height: min(92vh, 820px);
    border-radius: 8px;
}

.modal-panel.component-table-mbbs_india_page_items .edit-fields-grid {
    gap: .85rem 1rem;
    align-items: start;
}

.modal-panel.component-table-mbbs_india_page_items .form-field {
    padding: .78rem .9rem;
    border: 1px solid #d8e3f2;
    border-radius: 8px;
    background: #fbfdff;
}

.modal-panel.component-table-mbbs_india_page_items input,
.modal-panel.component-table-mbbs_india_page_items textarea,
.modal-panel.component-table-mbbs_india_page_items select {
    min-height: 46px;
    background: #fff;
}

.modal-panel.component-table-mbbs_india_page_items textarea {
    min-height: 92px;
}

.modal-panel.component-table-mbbs_india_page_items .form-field:has(.mbbs-india-item-quill-editor) {
    grid-column: 1 / -1;
}

.modal-panel.component-table-mbbs_india_page_items .mbbs-india-item-quill-editor {
    min-height: 260px;
    max-height: 420px;
    overflow: auto;
    background: #fff;
}

.modal-panel.component-table-mbbs_india_page_items .image-preview,
.modal-panel.component-table-mbbs_india_page_items .component-image-preview {
    width: 220px;
    max-width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d7e2f0;
}

.component-table-mbbs_india_page_items table {
    min-width: 1100px;
}

.component-table-mbbs_india_page_items td {
    vertical-align: middle;
}

.component-table-mbbs_india_page_items td:nth-child(5) {
    max-width: 320px;
    color: #061326;
    font-weight: 700;
}

.modal-panel.component-table-neet_state_counselling_sections {
    max-width: 980px;
    max-height: min(92vh, 820px);
    border-radius: 8px;
}

.modal-panel.component-table-neet_state_counselling_sections .edit-fields-grid {
    gap: .85rem 1rem;
    align-items: start;
}

.modal-panel.component-table-neet_state_counselling_sections .form-field {
    padding: .78rem .9rem;
    border: 1px solid #d8e3f2;
    border-radius: 8px;
    background: #fbfdff;
}

.modal-panel.component-table-neet_state_counselling_sections input,
.modal-panel.component-table-neet_state_counselling_sections textarea,
.modal-panel.component-table-neet_state_counselling_sections select {
    min-height: 46px;
    background: #fff;
}

.modal-panel.component-table-neet_state_counselling_sections textarea {
    min-height: 92px;
}

.modal-panel.component-table-neet_state_counselling_sections .form-field:has(.neet-state-quill-editor),
.modal-panel.component-table-neet_state_counselling_sections .form-field:has(textarea[name="content_json"]) {
    grid-column: 1 / -1;
}

.modal-panel.component-table-neet_state_counselling_sections .neet-state-quill-editor {
    height: 235px;
    min-height: 235px;
    max-height: 420px;
    overflow: auto;
    background: #fff;
}

.modal-panel.component-table-neet_state_counselling_sections .image-preview,
.modal-panel.component-table-neet_state_counselling_sections .component-image-preview {
    width: 220px;
    max-width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d7e2f0;
}

.component-table-neet_state_counselling_sections table {
    min-width: 1180px;
}

.component-table-neet_state_counselling_sections td {
    vertical-align: middle;
}

.component-table-neet_state_counselling_sections td:nth-child(7) {
    max-width: 340px;
    color: #061326;
    font-weight: 700;
}

.modal-panel.component-table-destinations {
    max-width: 820px;
    border-radius: 8px;
}

.modal-panel.component-table-destinations .edit-fields-grid {
    gap: .85rem 1rem;
    align-items: start;
}

.modal-panel.component-table-destinations .form-field,
.modal-panel.component-table-destinations .edit-fields-grid label {
    padding: .78rem .9rem;
    border: 1px solid #d8e3f2;
    border-radius: 8px;
    background: #fbfdff;
}

.modal-panel.component-table-destinations input,
.modal-panel.component-table-destinations select {
    min-height: 46px;
    background: #fff;
}

.modal-panel.component-table-destinations .add-row-actions {
    grid-column: 1 / -1;
}

.table-wrap.component-table-destinations table {
    min-width: 760px;
}

.table-wrap.component-table-destinations th {
    background: #2f2f2d;
    color: #fff;
}

.table-wrap.component-table-destinations td {
    vertical-align: middle;
}

.table-wrap.component-table-destinations tbody tr:nth-child(even) td {
    background: #eef9ec;
}

.table-wrap.component-table-destinations td:nth-child(3) {
    color: #061326;
    font-weight: 700;
}

.modal-panel.component-table-opportunities,
.modal-panel.component-table-services {
    max-width: 860px;
    border-radius: 8px;
}

.modal-panel.component-table-opportunities .edit-fields-grid,
.modal-panel.component-table-services .edit-fields-grid {
    gap: .9rem 1rem;
    align-items: start;
}

.modal-panel.component-table-opportunities .edit-fields-grid label,
.modal-panel.component-table-services .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
}

.modal-panel.component-table-opportunities input,
.modal-panel.component-table-opportunities select,
.modal-panel.component-table-opportunities textarea,
.modal-panel.component-table-services input,
.modal-panel.component-table-services select,
.modal-panel.component-table-services textarea {
    min-height: 46px;
    background: #fff;
    border: 1px solid #d3dfef;
    border-radius: 6px;
}

.modal-panel.component-table-opportunities textarea,
.modal-panel.component-table-services textarea {
    min-height: 96px;
}

.modal-panel.component-table-opportunities .add-row-actions,
.modal-panel.component-table-services .add-row-actions {
    grid-column: 1 / -1;
}

.table-wrap.component-table-opportunities table,
.table-wrap.component-table-services table {
    min-width: 900px;
}

.table-wrap.component-table-opportunities th,
.table-wrap.component-table-services th {
    background: #2f2f2d;
    color: #fff;
}

.table-wrap.component-table-opportunities td,
.table-wrap.component-table-services td {
    vertical-align: middle;
}

.table-wrap.component-table-opportunities tbody tr:nth-child(even) td,
.table-wrap.component-table-services tbody tr:nth-child(even) td {
    background: #eef9ec;
}

.table-wrap.component-table-opportunities td:nth-child(3),
.table-wrap.component-table-services td:nth-child(3) {
    color: #061326;
    font-weight: 700;
}

.table-wrap.component-table-opportunities td:nth-child(4),
.table-wrap.component-table-services td:nth-child(4) {
    max-width: 360px;
}

.modal-panel.component-table-about_page_sections {
    max-width: 980px;
    max-height: min(92vh, 820px);
    border-radius: 8px;
}

.modal-panel.component-table-about_page_sections .edit-fields-grid {
    gap: .85rem 1rem;
    align-items: start;
}

.modal-panel.component-table-about_page_sections .edit-fields-grid label,
.modal-panel.component-table-about_page_sections .component-form-field {
    padding: 0;
    border: 0;
    background: transparent;
}

.modal-panel.component-table-about_page_sections input,
.modal-panel.component-table-about_page_sections select,
.modal-panel.component-table-about_page_sections textarea {
    min-height: 46px;
    background: #fff;
    border: 1px solid #d3dfef;
    border-radius: 6px;
}

.modal-panel.component-table-about_page_sections .component-form-field-wide {
    grid-column: 1 / -1;
}

.modal-panel.component-table-about_page_sections .about-page-quill-editor {
    height: 260px;
    min-height: 260px;
    max-height: 430px;
    overflow: auto;
    background: #fff;
}

.modal-panel.component-table-about_page_sections .image-preview,
.modal-panel.component-table-about_page_sections .component-image-preview {
    width: 220px;
    max-width: 100%;
    height: 112px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d7e2f0;
}

.modal-panel.component-table-about_page_sections .add-row-actions {
    grid-column: 1 / -1;
}

.table-wrap.component-table-about_page_sections table {
    min-width: 980px;
}

.table-wrap.component-table-about_page_sections th {
    background: #2f2f2d;
    color: #fff;
}

.table-wrap.component-table-about_page_sections td {
    vertical-align: middle;
}

.table-wrap.component-table-about_page_sections tbody tr:nth-child(even) td {
    background: #eef9ec;
}

.table-wrap.component-table-about_page_sections td:nth-child(4) {
    color: #061326;
    font-weight: 700;
}

.modal-panel.component-table-about_page_items {
    max-width: 980px;
    max-height: min(92vh, 820px);
    border-radius: 8px;
}

.modal-panel.component-table-about_page_items .edit-fields-grid {
    gap: .85rem 1rem;
    align-items: start;
}

.modal-panel.component-table-about_page_items .edit-fields-grid label,
.modal-panel.component-table-about_page_items .component-form-field {
    padding: 0;
    border: 0;
    background: transparent;
}

.modal-panel.component-table-about_page_items input,
.modal-panel.component-table-about_page_items select,
.modal-panel.component-table-about_page_items textarea {
    min-height: 46px;
    background: #fff;
    border: 1px solid #d3dfef;
    border-radius: 6px;
}

.modal-panel.component-table-about_page_items .component-form-field-wide {
    grid-column: 1 / -1;
}

.modal-panel.component-table-about_page_items .about-item-quill-editor {
    height: 240px;
    min-height: 240px;
    max-height: 400px;
    overflow: auto;
    background: #fff;
}

.modal-panel.component-table-about_page_items .add-row-actions {
    grid-column: 1 / -1;
}

.table-wrap.component-table-about_page_items table {
    min-width: 1080px;
}

.table-wrap.component-table-about_page_items th {
    background: #2f2f2d;
    color: #fff;
}

.table-wrap.component-table-about_page_items td {
    vertical-align: middle;
}

.table-wrap.component-table-about_page_items tbody tr:nth-child(even) td {
    background: #eef9ec;
}

.table-wrap.component-table-about_page_items td:nth-child(4),
.table-wrap.component-table-about_page_items td:nth-child(5) {
    max-width: 320px;
}

.table-wrap.component-table-about_page_items td:nth-child(4) {
    color: #061326;
    font-weight: 700;
}

.modal-panel.component-table-social_links {
    max-width: 860px;
    border-radius: 8px;
}

.modal-panel.component-table-social_links .edit-fields-grid {
    gap: .9rem 1rem;
    align-items: start;
}

.modal-panel.component-table-social_links .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
}

.modal-panel.component-table-social_links input,
.modal-panel.component-table-social_links select,
.modal-panel.component-table-social_links textarea {
    min-height: 46px;
    background: #fff;
    border: 1px solid #d3dfef;
    border-radius: 6px;
}

.modal-panel.component-table-social_links .component-image-preview {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #d7e2f0;
    background: #f8fbff;
    padding: 6px;
}

.modal-panel.component-table-social_links .add-row-actions {
    grid-column: 1 / -1;
}

.table-wrap.component-table-social_links table {
    min-width: 860px;
}

.table-wrap.component-table-social_links th {
    background: #2f2f2d;
    color: #fff;
}

.table-wrap.component-table-social_links td {
    vertical-align: middle;
}

.table-wrap.component-table-social_links tbody tr:nth-child(even) td {
    background: #eef9ec;
}

.table-wrap.component-table-social_links td:nth-child(3) {
    color: #061326;
    font-weight: 700;
}

.table-wrap.component-table-social_links td:nth-child(4) {
    max-width: 420px;
}

.modal-panel.component-table-office_locations {
    max-width: 900px;
    border-radius: 8px;
}

.modal-panel.component-table-office_locations .edit-fields-grid {
    gap: .9rem 1rem;
    align-items: start;
}

.modal-panel.component-table-office_locations .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
}

.modal-panel.component-table-office_locations input,
.modal-panel.component-table-office_locations select,
.modal-panel.component-table-office_locations textarea {
    min-height: 46px;
    background: #fff;
    border: 1px solid #d3dfef;
    border-radius: 6px;
}

.modal-panel.component-table-office_locations textarea {
    min-height: 96px;
}

.modal-panel.component-table-office_locations .add-row-actions {
    grid-column: 1 / -1;
}

.table-wrap.component-table-office_locations table {
    min-width: 900px;
}

.table-wrap.component-table-office_locations th {
    background: #2f2f2d;
    color: #fff;
}

.table-wrap.component-table-office_locations td {
    vertical-align: middle;
}

.table-wrap.component-table-office_locations tbody tr:nth-child(even) td {
    background: #eef9ec;
}

.table-wrap.component-table-office_locations td:nth-child(2) {
    color: #061326;
    font-weight: 700;
}

.table-wrap.component-table-office_locations td:nth-child(3) {
    max-width: 420px;
}

.modal-panel.component-table-enquiry_programs {
    max-width: 760px;
    border-radius: 8px;
}

.modal-panel.component-table-enquiry_programs .edit-fields-grid {
    gap: .9rem 1rem;
    align-items: start;
}

.modal-panel.component-table-enquiry_programs .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
}

.modal-panel.component-table-enquiry_programs input,
.modal-panel.component-table-enquiry_programs select,
.modal-panel.component-table-enquiry_programs textarea {
    min-height: 46px;
    background: #fff;
    border: 1px solid #d3dfef;
    border-radius: 6px;
}

.modal-panel.component-table-enquiry_programs .add-row-actions {
    grid-column: 1 / -1;
}

.table-wrap.component-table-enquiry_programs table {
    min-width: 680px;
}

.table-wrap.component-table-enquiry_programs th {
    background: #2f2f2d;
    color: #fff;
}

.table-wrap.component-table-enquiry_programs td {
    vertical-align: middle;
}

.table-wrap.component-table-enquiry_programs tbody tr:nth-child(even) td {
    background: #eef9ec;
}

.table-wrap.component-table-enquiry_programs td:nth-child(2) {
    color: #061326;
    font-weight: 700;
}

.modal-panel.component-table-page_banners {
    max-width: 980px;
    border-radius: 8px;
}

.modal-panel.component-table-page_banners .edit-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
}

.modal-panel.component-table-page_banners .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-page_banners input,
.modal-panel.component-table-page_banners select,
.modal-panel.component-table-page_banners textarea {
    min-height: 46px;
    border-radius: 6px;
    border: 1px solid #cbd9ec;
    background: #ffffff;
}

.modal-panel.component-table-page_banners .component-image-preview {
    width: 180px;
    height: 90px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #d7e4f4;
}

.modal-panel.component-table-page_banners .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-page_banners table {
    border-collapse: collapse;
    min-width: 960px;
}

.table-wrap.component-table-page_banners th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-page_banners td {
    height: 76px;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-page_banners tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-page_banners .component-image-preview.compact {
    width: 96px;
    height: 54px;
    object-fit: cover;
}

.modal-panel.component-table-testimonials {
    max-width: 1040px;
    border-radius: 8px;
}

.modal-panel.component-table-testimonials .edit-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
}

.modal-panel.component-table-testimonials .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-testimonials input,
.modal-panel.component-table-testimonials select,
.modal-panel.component-table-testimonials textarea {
    min-height: 38px;
    height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #cbd9ec;
    background: #ffffff;
}

.modal-panel.component-table-testimonials textarea[name="testimonial"] {
    height: auto;
    min-height: 72px;
    resize: vertical;
}

.modal-panel.component-table-testimonials .image-input-combo {
    min-height: 38px;
    height: 38px;
}

.modal-panel.component-table-testimonials .image-input-combo input {
    min-height: 38px;
    height: 38px;
}

.modal-panel.component-table-testimonials .file-pill {
    min-height: 38px;
    height: 38px;
    padding: 0 0.8rem;
}

.modal-panel.component-table-testimonials .component-image-preview {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #d7e4f4;
}

.modal-panel.component-table-testimonials .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-testimonials table {
    border-collapse: collapse;
    min-width: 1180px;
}

.table-wrap.component-table-testimonials th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-testimonials td {
    height: 56px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-testimonials tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-testimonials .component-image-preview.compact {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
}

.table-wrap.component-table-testimonials td:nth-child(3),
.table-wrap.component-table-testimonials td:nth-child(5) {
    font-weight: 800;
    color: #0f172a;
}

.table-wrap.component-table-testimonials td:nth-child(7) .component-cell-text {
    max-width: 360px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.modal-panel.component-table-trust_content {
    max-width: 1040px;
    border-radius: 8px;
}

.modal-panel.component-table-trust_content .edit-fields-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
}

.modal-panel.component-table-trust_content .edit-fields-grid label,
.modal-panel.component-table-trust_content .component-form-field {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-trust_content .trust-content-quill-editor {
    height: 280px;
    min-height: 280px;
}

.modal-panel.component-table-trust_content .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-trust_content table {
    border-collapse: collapse;
    min-width: 760px;
}

.table-wrap.component-table-trust_content th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-trust_content td {
    height: 64px;
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-trust_content tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-trust_content td:nth-child(2) .component-cell-text {
    max-width: 760px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.modal-panel.component-table-trust_stats {
    max-width: 980px;
    border-radius: 8px;
}

.modal-panel.component-table-trust_stats .edit-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
}

.modal-panel.component-table-trust_stats .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-trust_stats input,
.modal-panel.component-table-trust_stats select,
.modal-panel.component-table-trust_stats textarea {
    min-height: 38px;
    height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #cbd9ec;
    background: #ffffff;
}

.modal-panel.component-table-trust_stats .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-trust_stats table {
    border-collapse: collapse;
    min-width: 820px;
}

.table-wrap.component-table-trust_stats th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-trust_stats td {
    height: 56px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-trust_stats tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-trust_stats td:nth-child(2),
.table-wrap.component-table-trust_stats td:nth-child(3) {
    font-weight: 800;
    color: #0f172a;
}

.modal-panel.component-table-countries {
    max-width: 980px;
    border-radius: 8px;
}

.modal-panel.component-table-countries .edit-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
}

.modal-panel.component-table-countries .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-countries input,
.modal-panel.component-table-countries select,
.modal-panel.component-table-countries textarea {
    min-height: 38px;
    height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #cbd9ec;
    background: #ffffff;
}

.modal-panel.component-table-countries .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-countries table {
    border-collapse: collapse;
    min-width: 920px;
}

.table-wrap.component-table-countries th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-countries td {
    height: 56px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-countries tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-countries td:nth-child(2),
.table-wrap.component-table-countries td:nth-child(3) {
    font-weight: 800;
    color: #0f172a;
}

.modal-panel.component-table-states {
    max-width: 980px;
    border-radius: 8px;
}

.modal-panel.component-table-states .edit-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
}

.modal-panel.component-table-states .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-states input,
.modal-panel.component-table-states select,
.modal-panel.component-table-states textarea {
    min-height: 38px;
    height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #cbd9ec;
    background: #ffffff;
}

.modal-panel.component-table-states .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-states table {
    border-collapse: collapse;
    min-width: 940px;
}

.table-wrap.component-table-states th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-states td {
    height: 56px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-states tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-states td:nth-child(2),
.table-wrap.component-table-states td:nth-child(3),
.table-wrap.component-table-states td:nth-child(4) {
    font-weight: 800;
    color: #0f172a;
}

.modal-panel.component-table-cities {
    max-width: 980px;
    border-radius: 8px;
}

.modal-panel.component-table-cities .edit-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
}

.modal-panel.component-table-cities .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-cities input,
.modal-panel.component-table-cities select,
.modal-panel.component-table-cities textarea {
    min-height: 38px;
    height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #cbd9ec;
    background: #ffffff;
}

.modal-panel.component-table-cities .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-cities table {
    border-collapse: collapse;
    min-width: 940px;
}

.table-wrap.component-table-cities th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-cities td {
    height: 56px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-cities tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-cities td:nth-child(2),
.table-wrap.component-table-cities td:nth-child(3),
.table-wrap.component-table-cities td:nth-child(4),
.table-wrap.component-table-cities td:nth-child(5) {
    font-weight: 800;
    color: #0f172a;
}

.modal-panel.component-table-content_scopes {
    max-width: 980px;
    border-radius: 8px;
}

.modal-panel.component-table-content_scopes .edit-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
}

.modal-panel.component-table-content_scopes .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-content_scopes input,
.modal-panel.component-table-content_scopes select,
.modal-panel.component-table-content_scopes textarea {
    min-height: 38px;
    height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #cbd9ec;
    background: #ffffff;
}

.modal-panel.component-table-content_scopes textarea[name="description"] {
    height: 72px;
    min-height: 72px;
    resize: vertical;
}

.modal-panel.component-table-content_scopes .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-content_scopes table {
    border-collapse: collapse;
    min-width: 1080px;
}

.table-wrap.component-table-content_scopes th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-content_scopes td {
    height: 56px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-content_scopes tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-content_scopes td:nth-child(2),
.table-wrap.component-table-content_scopes td:nth-child(3) {
    font-weight: 800;
    color: #0f172a;
}

.table-wrap.component-table-content_scopes td:nth-child(6) .component-cell-text {
    max-width: 420px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.modal-panel.component-table-content_mappings {
    max-width: 1060px;
    border-radius: 8px;
}

.modal-panel.component-table-content_mappings .edit-fields-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.2rem;
}

.modal-panel.component-table-content_mappings .edit-fields-grid label {
    padding: 0;
    border: 0;
    background: transparent;
    font-weight: 800;
    color: #172033;
}

.modal-panel.component-table-content_mappings input,
.modal-panel.component-table-content_mappings select,
.modal-panel.component-table-content_mappings textarea {
    min-height: 38px;
    height: 38px;
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    border: 1px solid #cbd9ec;
    background: #ffffff;
}

.modal-panel.component-table-content_mappings .add-row-actions {
    grid-column: 1 / -1;
    border-top: 1px solid #dbe7f5;
    background: linear-gradient(90deg, #f1f7ff 0%, #ffffff 62%, #eef5ff 100%);
}

.table-wrap.component-table-content_mappings table {
    border-collapse: collapse;
    min-width: 1240px;
}

.table-wrap.component-table-content_mappings th {
    background: #2f2f2d;
    color: #ffffff;
}

.table-wrap.component-table-content_mappings td {
    height: 56px;
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid #e5edf7;
    vertical-align: middle;
}

.table-wrap.component-table-content_mappings tbody tr:nth-child(even) td {
    background: #eef9ed;
}

.table-wrap.component-table-content_mappings td:nth-child(4),
.table-wrap.component-table-content_mappings td:nth-child(6) {
    font-weight: 800;
    color: #0f172a;
}

.component-actions {
    min-width: 180px;
    white-space: nowrap;
}

.component-actions form {
    display: inline-flex;
    margin: 0 0.35rem 0.35rem 0;
}

.component-actions button {
    min-height: 34px;
    padding: 0.45rem 0.75rem;
    font-size: 0.86rem;
}

.secondary-button {
    background: #eef6ff;
    color: var(--blue);
    border: 1px solid #c4dcf4;
    margin: 0 0.35rem 0.35rem 0;
}

.icon-action {
    width: 36px;
    min-height: 36px;
    padding: 0;
    border: 1px solid #c4dcf4;
    border-radius: 6px;
    background: #eef6ff;
    color: var(--blue);
    margin: 0 0.3rem 0.3rem 0;
}

.icon-action svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.view-action {
    color: var(--blue-dark);
    background: #ffffff;
}

.edit-action {
    color: var(--blue);
}

.delete-action {
    color: #ffffff;
    background: var(--red);
    border-color: var(--red);
}

.edit-row-form {
    display: grid;
    gap: 1rem;
}

.view-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

.view-field {
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
    padding: 0.65rem;
}

.view-field strong {
    display: block;
    color: var(--blue);
    margin-bottom: 0.2rem;
}

.edit-fields-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem 0.65rem;
}

.edit-fields-grid label {
    gap: 0.18rem;
    margin-bottom: 0;
}

.edit-fields-grid textarea {
    min-height: 58px;
    resize: vertical;
}

.modal-panel.component-table-raw_course_types {
    width: min(760px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-raw_course_types .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-raw_course_types .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-raw_course_types .add-row-form,
.modal-panel.component-table-raw_course_types .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-raw_course_types .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-raw_course_types .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-raw_course_types input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-raw_course_types select {
    min-height: 42px;
    border-radius: 2px;
}

.modal-panel.component-table-raw_course_types .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-raw_course_types table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-raw_course_types th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-raw_course_types th,
.table-wrap.component-table-raw_course_types td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-raw_course_types td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-raw_course_types .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-raw_course_types th:nth-child(1),
.table-wrap.component-table-raw_course_types td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-raw_course_types th:nth-child(2),
.table-wrap.component-table-raw_course_types td:nth-child(2) {
    width: auto;
}

.table-wrap.component-table-raw_course_types th:nth-child(3),
.table-wrap.component-table-raw_course_types td:nth-child(3) {
    width: 210px;
}

.table-wrap.component-table-raw_course_types th:nth-child(4),
.table-wrap.component-table-raw_course_types td:nth-child(4) {
    width: 150px;
}

.table-wrap.component-table-raw_course_types tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-raw_course_types tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-raw_course_types td:nth-child(2) .component-cell-text {
    font-weight: 400;
    color: #111827;
}

.table-wrap.component-table-raw_course_types th:last-child,
.table-wrap.component-table-raw_course_types td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-raw_course_types .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-raw_course_types .component-actions form {
    margin: 0;
}

.table-wrap.component-table-raw_course_types .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-raw_course_types .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-raw_courses {
    width: min(760px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-raw_courses .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-raw_courses .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-raw_courses .add-row-form,
.modal-panel.component-table-raw_courses .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-raw_courses .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-raw_courses .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-raw_courses input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-raw_courses select {
    min-height: 42px;
    border-radius: 6px;
}

.modal-panel.component-table-raw_courses .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-raw_courses table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-raw_courses th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-raw_courses th,
.table-wrap.component-table-raw_courses td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-raw_courses td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-raw_courses .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-raw_courses th:nth-child(1),
.table-wrap.component-table-raw_courses td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-raw_courses th:nth-child(2),
.table-wrap.component-table-raw_courses td:nth-child(2) {
    width: auto;
}

.table-wrap.component-table-raw_courses th:nth-child(3),
.table-wrap.component-table-raw_courses td:nth-child(3) {
    width: 190px;
}

.table-wrap.component-table-raw_courses th:nth-child(4),
.table-wrap.component-table-raw_courses td:nth-child(4) {
    width: 120px;
}

.table-wrap.component-table-raw_courses th:nth-child(5),
.table-wrap.component-table-raw_courses td:nth-child(5) {
    width: 110px;
}

.table-wrap.component-table-raw_courses tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-raw_courses tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-raw_courses th:last-child,
.table-wrap.component-table-raw_courses td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-raw_courses .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-raw_courses .component-actions form {
    margin: 0;
}

.table-wrap.component-table-raw_courses .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-raw_courses .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-country_labels {
    width: min(760px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-country_labels .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-country_labels .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-country_labels .add-row-form,
.modal-panel.component-table-country_labels .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-country_labels .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-country_labels .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-country_labels input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-country_labels select {
    min-height: 42px;
    border-radius: 6px;
}

.modal-panel.component-table-country_labels .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-country_labels table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-country_labels th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-country_labels th,
.table-wrap.component-table-country_labels td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-country_labels td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-country_labels .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-country_labels th:nth-child(1),
.table-wrap.component-table-country_labels td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-country_labels th:nth-child(2),
.table-wrap.component-table-country_labels td:nth-child(2),
.table-wrap.component-table-country_labels th:nth-child(3),
.table-wrap.component-table-country_labels td:nth-child(3) {
    width: auto;
}

.table-wrap.component-table-country_labels th:nth-child(4),
.table-wrap.component-table-country_labels td:nth-child(4) {
    width: 150px;
}

.table-wrap.component-table-country_labels th:nth-child(5),
.table-wrap.component-table-country_labels td:nth-child(5) {
    width: 110px;
}

.table-wrap.component-table-country_labels tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-country_labels tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-country_labels th:last-child,
.table-wrap.component-table-country_labels td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-country_labels .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-country_labels .component-actions form {
    margin: 0;
}

.table-wrap.component-table-country_labels .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-country_labels .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-destination_flags {
    width: min(760px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-destination_flags .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-destination_flags .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-destination_flags .add-row-form,
.modal-panel.component-table-destination_flags .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-destination_flags .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-destination_flags .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-destination_flags input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-destination_flags select {
    min-height: 42px;
    border-radius: 6px;
}

.modal-panel.component-table-destination_flags .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-destination_flags table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-destination_flags th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-destination_flags th,
.table-wrap.component-table-destination_flags td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-destination_flags td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-destination_flags .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-destination_flags th:nth-child(1),
.table-wrap.component-table-destination_flags td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-destination_flags th:nth-child(2),
.table-wrap.component-table-destination_flags td:nth-child(2) {
    width: auto;
}

.table-wrap.component-table-destination_flags th:nth-child(3),
.table-wrap.component-table-destination_flags td:nth-child(3) {
    width: 150px;
}

.table-wrap.component-table-destination_flags th:nth-child(4),
.table-wrap.component-table-destination_flags td:nth-child(4) {
    width: 150px;
}

.table-wrap.component-table-destination_flags th:nth-child(5),
.table-wrap.component-table-destination_flags td:nth-child(5) {
    width: 110px;
}

.table-wrap.component-table-destination_flags tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-destination_flags tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-destination_flags th:last-child,
.table-wrap.component-table-destination_flags td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-destination_flags .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-destination_flags .component-actions form {
    margin: 0;
}

.table-wrap.component-table-destination_flags .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-destination_flags .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-site_blocks {
    width: min(820px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-site_blocks .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-site_blocks .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-site_blocks .add-row-form,
.modal-panel.component-table-site_blocks .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-site_blocks .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-site_blocks .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-site_blocks input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-site_blocks select {
    min-height: 42px;
    border-radius: 6px;
}

.modal-panel.component-table-site_blocks label:has(.quill-field) {
    grid-column: 1 / -1;
}

.modal-panel.component-table-site_blocks .site-block-quill-editor {
    min-height: 150px;
}

.modal-panel.component-table-site_blocks .quill-field .ql-editor {
    min-height: 150px;
    max-height: 260px;
    overflow-y: auto;
}

.modal-panel.component-table-site_blocks .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-site_blocks table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-site_blocks th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-site_blocks th,
.table-wrap.component-table-site_blocks td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-site_blocks td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-site_blocks .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-site_blocks th:nth-child(1),
.table-wrap.component-table-site_blocks td:nth-child(1) {
    width: 170px;
}

.table-wrap.component-table-site_blocks th:nth-child(2),
.table-wrap.component-table-site_blocks td:nth-child(2) {
    width: 220px;
}

.table-wrap.component-table-site_blocks th:nth-child(3),
.table-wrap.component-table-site_blocks td:nth-child(3) {
    width: auto;
}

.table-wrap.component-table-site_blocks tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-site_blocks tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-site_blocks th:last-child,
.table-wrap.component-table-site_blocks td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-site_blocks .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-site_blocks .component-actions form {
    margin: 0;
}

.table-wrap.component-table-site_blocks .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-site_blocks .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-hero_banners {
    width: min(760px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-hero_banners .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-hero_banners .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-hero_banners .add-row-form,
.modal-panel.component-table-hero_banners .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-hero_banners .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-hero_banners .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-hero_banners input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-hero_banners select {
    min-height: 42px;
    border-radius: 6px;
}

.modal-panel.component-table-hero_banners .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-hero_banners table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-hero_banners th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-hero_banners th,
.table-wrap.component-table-hero_banners td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-hero_banners td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-hero_banners .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-hero_banners .component-image-preview.compact {
    width: 38px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
}

.table-wrap.component-table-hero_banners th:nth-child(1),
.table-wrap.component-table-hero_banners td:nth-child(1) {
    width: 82px;
}

.table-wrap.component-table-hero_banners th:nth-child(2),
.table-wrap.component-table-hero_banners td:nth-child(2) {
    width: 76px;
}

.table-wrap.component-table-hero_banners th:nth-child(3),
.table-wrap.component-table-hero_banners td:nth-child(3) {
    width: auto;
}

.table-wrap.component-table-hero_banners th:nth-child(4),
.table-wrap.component-table-hero_banners td:nth-child(4) {
    width: 150px;
}

.table-wrap.component-table-hero_banners th:nth-child(5),
.table-wrap.component-table-hero_banners td:nth-child(5) {
    width: 110px;
}

.table-wrap.component-table-hero_banners tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-hero_banners tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-hero_banners th:last-child,
.table-wrap.component-table-hero_banners td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-hero_banners .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-hero_banners .component-actions form {
    margin: 0;
}

.table-wrap.component-table-hero_banners .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-hero_banners .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-admission_steps {
    width: min(820px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-admission_steps .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-admission_steps .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-admission_steps .add-row-form,
.modal-panel.component-table-admission_steps .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-admission_steps .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-admission_steps .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-admission_steps input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-admission_steps select {
    min-height: 42px;
    border-radius: 6px;
}

.modal-panel.component-table-admission_steps label:has(.quill-field) {
    grid-column: 1 / -1;
}

.modal-panel.component-table-admission_steps .admission-step-quill-editor,
.modal-panel.component-table-admission_steps .quill-field .ql-editor {
    min-height: 140px;
}

.modal-panel.component-table-admission_steps .quill-field .ql-editor {
    max-height: 240px;
    overflow-y: auto;
}

.modal-panel.component-table-admission_steps .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-admission_steps table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-admission_steps th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-admission_steps th,
.table-wrap.component-table-admission_steps td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-admission_steps td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-admission_steps .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-admission_steps th:nth-child(1),
.table-wrap.component-table-admission_steps td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-admission_steps th:nth-child(2),
.table-wrap.component-table-admission_steps td:nth-child(2) {
    width: 220px;
}

.table-wrap.component-table-admission_steps th:nth-child(3),
.table-wrap.component-table-admission_steps td:nth-child(3) {
    width: auto;
}

.table-wrap.component-table-admission_steps th:nth-child(4),
.table-wrap.component-table-admission_steps td:nth-child(4) {
    width: 150px;
}

.table-wrap.component-table-admission_steps th:nth-child(5),
.table-wrap.component-table-admission_steps td:nth-child(5) {
    width: 110px;
}

.table-wrap.component-table-admission_steps tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-admission_steps tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-admission_steps th:last-child,
.table-wrap.component-table-admission_steps td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-admission_steps .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-admission_steps .component-actions form {
    margin: 0;
}

.table-wrap.component-table-admission_steps .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-admission_steps .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-achievements {
    width: min(820px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-achievements .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-achievements .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-achievements .add-row-form,
.modal-panel.component-table-achievements .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-achievements .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-achievements .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-achievements input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-achievements select {
    min-height: 42px;
    border-radius: 6px;
}

.modal-panel.component-table-achievements label:has(.quill-field) {
    grid-column: 1 / -1;
}

.modal-panel.component-table-achievements .achievement-quill-editor,
.modal-panel.component-table-achievements .quill-field .ql-editor {
    min-height: 140px;
}

.modal-panel.component-table-achievements .quill-field .ql-editor {
    max-height: 240px;
    overflow-y: auto;
}

.modal-panel.component-table-achievements .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-achievements table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-achievements th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-achievements th,
.table-wrap.component-table-achievements td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-achievements td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-achievements .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-achievements .component-image-preview.compact {
    width: 38px;
    height: 24px;
    border-radius: 3px;
    object-fit: cover;
}

.table-wrap.component-table-achievements th:nth-child(1),
.table-wrap.component-table-achievements td:nth-child(1) {
    width: 82px;
}

.table-wrap.component-table-achievements th:nth-child(2),
.table-wrap.component-table-achievements td:nth-child(2) {
    width: 76px;
}

.table-wrap.component-table-achievements th:nth-child(3),
.table-wrap.component-table-achievements td:nth-child(3) {
    width: 190px;
}

.table-wrap.component-table-achievements th:nth-child(4),
.table-wrap.component-table-achievements td:nth-child(4) {
    width: auto;
}

.table-wrap.component-table-achievements th:nth-child(5),
.table-wrap.component-table-achievements td:nth-child(5) {
    width: 150px;
}

.table-wrap.component-table-achievements th:nth-child(6),
.table-wrap.component-table-achievements td:nth-child(6) {
    width: 110px;
}

.table-wrap.component-table-achievements tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-achievements tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-achievements th:last-child,
.table-wrap.component-table-achievements td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-achievements .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-achievements .component-actions form {
    margin: 0;
}

.table-wrap.component-table-achievements .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-achievements .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-academic_department_content {
    width: min(760px, calc(100vw - 2rem));
    padding: 0;
}

.modal-panel.component-table-academic_department_content .modal-head {
    padding: 1rem 4rem 0.85rem 1rem;
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-academic_department_content .modal-head h2 {
    font-size: 1.45rem;
}

.modal-panel.component-table-academic_department_content .add-row-form,
.modal-panel.component-table-academic_department_content .edit-row-form {
    padding: 1rem;
}

.modal-panel.component-table-academic_department_content .edit-fields-grid {
    gap: 0.8rem 1rem;
}

.modal-panel.component-table-academic_department_content .edit-fields-grid label {
    color: #1e293b;
    font-weight: 800;
    text-transform: capitalize;
}

.modal-panel.component-table-academic_department_content input:not([type="checkbox"]):not([type="radio"]),
.modal-panel.component-table-academic_department_content select {
    min-height: 42px;
    border-radius: 6px;
}

.modal-panel.component-table-academic_department_content .add-row-actions {
    margin: 0;
    padding: 0.9rem 1rem 0;
    background: transparent;
}

.table-wrap.component-table-academic_department_content table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-academic_department_content th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-academic_department_content th,
.table-wrap.component-table-academic_department_content td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-academic_department_content td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-academic_department_content .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-academic_department_content th:nth-child(1),
.table-wrap.component-table-academic_department_content td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-academic_department_content th:nth-child(2),
.table-wrap.component-table-academic_department_content td:nth-child(2) {
    width: 190px;
}

.table-wrap.component-table-academic_department_content th:nth-child(3),
.table-wrap.component-table-academic_department_content td:nth-child(3) {
    width: 260px;
}

.table-wrap.component-table-academic_department_content th:nth-child(4),
.table-wrap.component-table-academic_department_content td:nth-child(4) {
    width: auto;
}

.table-wrap.component-table-academic_department_content tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-academic_department_content tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-academic_department_content th:last-child,
.table-wrap.component-table-academic_department_content td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-academic_department_content .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-academic_department_content .component-actions form {
    margin: 0;
}

.table-wrap.component-table-academic_department_content .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-academic_department_content .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-countries table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-countries th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-countries th,
.table-wrap.component-table-countries td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-countries td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-countries .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-countries th:nth-child(1),
.table-wrap.component-table-countries td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-countries th:nth-child(2),
.table-wrap.component-table-countries td:nth-child(2),
.table-wrap.component-table-countries th:nth-child(3),
.table-wrap.component-table-countries td:nth-child(3) {
    width: auto;
}

.table-wrap.component-table-countries th:nth-child(4),
.table-wrap.component-table-countries td:nth-child(4) {
    width: 90px;
}

.table-wrap.component-table-countries th:nth-child(5),
.table-wrap.component-table-countries td:nth-child(5) {
    width: 90px;
}

.table-wrap.component-table-countries th:nth-child(6),
.table-wrap.component-table-countries td:nth-child(6) {
    width: 150px;
}

.table-wrap.component-table-countries th:nth-child(7),
.table-wrap.component-table-countries td:nth-child(7) {
    width: 110px;
}

.table-wrap.component-table-countries tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-countries tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-countries th:last-child,
.table-wrap.component-table-countries td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-countries .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-countries .component-actions form {
    margin: 0;
}

.table-wrap.component-table-countries .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-countries .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-states table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-states th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-states th,
.table-wrap.component-table-states td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-states td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-states .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-states th:nth-child(1),
.table-wrap.component-table-states td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-states th:nth-child(2),
.table-wrap.component-table-states td:nth-child(2),
.table-wrap.component-table-states th:nth-child(3),
.table-wrap.component-table-states td:nth-child(3),
.table-wrap.component-table-states th:nth-child(4),
.table-wrap.component-table-states td:nth-child(4) {
    width: auto;
}

.table-wrap.component-table-states th:nth-child(5),
.table-wrap.component-table-states td:nth-child(5) {
    width: 90px;
}

.table-wrap.component-table-states th:nth-child(6),
.table-wrap.component-table-states td:nth-child(6) {
    width: 150px;
}

.table-wrap.component-table-states th:nth-child(7),
.table-wrap.component-table-states td:nth-child(7) {
    width: 110px;
}

.table-wrap.component-table-states tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-states tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-states th:last-child,
.table-wrap.component-table-states td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-states .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-states .component-actions form {
    margin: 0;
}

.table-wrap.component-table-states .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-states .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-cities table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-cities th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-cities th,
.table-wrap.component-table-cities td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-cities td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-cities .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-cities th:nth-child(1),
.table-wrap.component-table-cities td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-cities th:nth-child(2),
.table-wrap.component-table-cities td:nth-child(2),
.table-wrap.component-table-cities th:nth-child(3),
.table-wrap.component-table-cities td:nth-child(3),
.table-wrap.component-table-cities th:nth-child(4),
.table-wrap.component-table-cities td:nth-child(4),
.table-wrap.component-table-cities th:nth-child(5),
.table-wrap.component-table-cities td:nth-child(5) {
    width: auto;
}

.table-wrap.component-table-cities th:nth-child(6),
.table-wrap.component-table-cities td:nth-child(6) {
    width: 150px;
}

.table-wrap.component-table-cities th:nth-child(7),
.table-wrap.component-table-cities td:nth-child(7) {
    width: 110px;
}

.table-wrap.component-table-cities tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-cities tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-cities th:last-child,
.table-wrap.component-table-cities td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-cities .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-cities .component-actions form {
    margin: 0;
}

.table-wrap.component-table-cities .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-cities .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-content_scopes table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-content_scopes th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-content_scopes th,
.table-wrap.component-table-content_scopes td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-content_scopes td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-content_scopes .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-content_scopes th:nth-child(1),
.table-wrap.component-table-content_scopes td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-content_scopes th:nth-child(2),
.table-wrap.component-table-content_scopes td:nth-child(2) {
    width: 180px;
}

.table-wrap.component-table-content_scopes th:nth-child(3),
.table-wrap.component-table-content_scopes td:nth-child(3) {
    width: 170px;
}

.table-wrap.component-table-content_scopes th:nth-child(4),
.table-wrap.component-table-content_scopes td:nth-child(4) {
    width: 170px;
}

.table-wrap.component-table-content_scopes th:nth-child(5),
.table-wrap.component-table-content_scopes td:nth-child(5) {
    width: 190px;
}

.table-wrap.component-table-content_scopes th:nth-child(6),
.table-wrap.component-table-content_scopes td:nth-child(6) {
    width: auto;
}

.table-wrap.component-table-content_scopes th:nth-child(7),
.table-wrap.component-table-content_scopes td:nth-child(7) {
    width: 150px;
}

.table-wrap.component-table-content_scopes th:nth-child(8),
.table-wrap.component-table-content_scopes td:nth-child(8) {
    width: 110px;
}

.table-wrap.component-table-content_scopes tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-content_scopes tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-content_scopes th:last-child,
.table-wrap.component-table-content_scopes td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-content_scopes .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-content_scopes .component-actions form {
    margin: 0;
}

.table-wrap.component-table-content_scopes .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-content_scopes .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-content_mappings table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    background: #ffffff;
    table-layout: fixed;
}

.table-wrap.component-table-content_mappings th {
    background: #58372a;
    color: #ffffff;
    font-size: 0.74rem;
    letter-spacing: 0;
    line-height: 1.15;
    text-transform: none;
}

.table-wrap.component-table-content_mappings th,
.table-wrap.component-table-content_mappings td {
    height: 20px;
    padding: 0 0.45rem;
    border-bottom: 0;
    vertical-align: middle;
}

.table-wrap.component-table-content_mappings td {
    background: #eee3d8;
    color: #1f2937;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1;
}

.table-wrap.component-table-content_mappings .component-cell-text {
    line-height: 1;
    margin: 0;
}

.table-wrap.component-table-content_mappings th:nth-child(1),
.table-wrap.component-table-content_mappings td:nth-child(1) {
    width: 76px;
}

.table-wrap.component-table-content_mappings th:nth-child(2),
.table-wrap.component-table-content_mappings td:nth-child(2) {
    width: 170px;
}

.table-wrap.component-table-content_mappings th:nth-child(3),
.table-wrap.component-table-content_mappings td:nth-child(3) {
    width: 130px;
}

.table-wrap.component-table-content_mappings th:nth-child(4),
.table-wrap.component-table-content_mappings td:nth-child(4) {
    width: 260px;
}

.table-wrap.component-table-content_mappings th:nth-child(5),
.table-wrap.component-table-content_mappings td:nth-child(5) {
    width: 260px;
}

.table-wrap.component-table-content_mappings th:nth-child(6),
.table-wrap.component-table-content_mappings td:nth-child(6),
.table-wrap.component-table-content_mappings th:nth-child(7),
.table-wrap.component-table-content_mappings td:nth-child(7),
.table-wrap.component-table-content_mappings th:nth-child(8),
.table-wrap.component-table-content_mappings td:nth-child(8),
.table-wrap.component-table-content_mappings th:nth-child(9),
.table-wrap.component-table-content_mappings td:nth-child(9),
.table-wrap.component-table-content_mappings th:nth-child(10),
.table-wrap.component-table-content_mappings td:nth-child(10) {
    width: 160px;
}

.table-wrap.component-table-content_mappings th:nth-child(11),
.table-wrap.component-table-content_mappings td:nth-child(11) {
    width: 150px;
}

.table-wrap.component-table-content_mappings th:nth-child(12),
.table-wrap.component-table-content_mappings td:nth-child(12) {
    width: 110px;
}

.table-wrap.component-table-content_mappings tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-content_mappings tbody tr:hover td {
    background: #eadbcf;
}

.table-wrap.component-table-content_mappings th:last-child,
.table-wrap.component-table-content_mappings td:last-child {
    width: 230px;
    text-align: center;
}

.table-wrap.component-table-content_mappings .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    line-height: 0;
    white-space: nowrap;
}

.table-wrap.component-table-content_mappings .component-actions form {
    margin: 0;
}

.table-wrap.component-table-content_mappings .icon-action {
    width: 24px;
    min-height: 20px;
    height: 20px;
    padding: 0;
    margin: 0 0.15rem;
}

.table-wrap.component-table-content_mappings .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-hero_content {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-hero_content table {
    width: 100%;
    min-width: 1280px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-hero_content th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-hero_content th,
.table-wrap.component-table-hero_content td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-hero_content td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-hero_content .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-hero_content tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-hero_content tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-hero_content th:nth-child(1),
.table-wrap.component-table-hero_content td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-hero_content th:nth-child(2),
.table-wrap.component-table-hero_content td:nth-child(2) {
    width: 360px;
}

.table-wrap.component-table-hero_content th:nth-child(3),
.table-wrap.component-table-hero_content td:nth-child(3) {
    width: 390px;
}

.table-wrap.component-table-hero_content th:nth-child(4),
.table-wrap.component-table-hero_content td:nth-child(4),
.table-wrap.component-table-hero_content th:nth-child(5),
.table-wrap.component-table-hero_content td:nth-child(5) {
    width: 210px;
}

.table-wrap.component-table-hero_content th:nth-child(6),
.table-wrap.component-table-hero_content td:nth-child(6) {
    width: 110px;
    text-align: center;
}

.table-wrap.component-table-hero_content th:last-child,
.table-wrap.component-table-hero_content td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-hero_content .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-hero_content .component-actions form {
    margin: 0;
}

.table-wrap.component-table-hero_content .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-hero_content .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-mbbs_abroad_page_sections,
.table-wrap.component-table-mbbs_abroad_page_items,
.table-wrap.component-table-universities,
.table-wrap.component-table-university_slug_contents {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-mbbs_abroad_page_sections table,
.table-wrap.component-table-mbbs_abroad_page_items table,
.table-wrap.component-table-universities table,
.table-wrap.component-table-university_slug_contents table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-universities table {
    min-width: 1520px;
}

.table-wrap.component-table-university_slug_contents table {
    min-width: 980px;
}

.table-wrap.component-table-mbbs_abroad_page_sections th,
.table-wrap.component-table-mbbs_abroad_page_items th,
.table-wrap.component-table-universities th,
.table-wrap.component-table-university_slug_contents th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-mbbs_abroad_page_sections th,
.table-wrap.component-table-mbbs_abroad_page_sections td,
.table-wrap.component-table-mbbs_abroad_page_items th,
.table-wrap.component-table-mbbs_abroad_page_items td,
.table-wrap.component-table-universities th,
.table-wrap.component-table-universities td,
.table-wrap.component-table-university_slug_contents th,
.table-wrap.component-table-university_slug_contents td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-mbbs_abroad_page_sections td,
.table-wrap.component-table-mbbs_abroad_page_items td,
.table-wrap.component-table-universities td,
.table-wrap.component-table-university_slug_contents td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-mbbs_abroad_page_sections .component-cell-text,
.table-wrap.component-table-mbbs_abroad_page_items .component-cell-text,
.table-wrap.component-table-universities .component-cell-text,
.table-wrap.component-table-university_slug_contents .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-mbbs_abroad_page_sections tbody tr:nth-child(even) td,
.table-wrap.component-table-mbbs_abroad_page_items tbody tr:nth-child(even) td,
.table-wrap.component-table-universities tbody tr:nth-child(even) td,
.table-wrap.component-table-university_slug_contents tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-mbbs_abroad_page_sections tbody tr:hover td,
.table-wrap.component-table-mbbs_abroad_page_items tbody tr:hover td,
.table-wrap.component-table-universities tbody tr:hover td,
.table-wrap.component-table-university_slug_contents tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-mbbs_abroad_page_sections .component-image-preview.compact,
.table-wrap.component-table-universities .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-mbbs_abroad_page_sections th:nth-child(1),
.table-wrap.component-table-mbbs_abroad_page_sections td:nth-child(1),
.table-wrap.component-table-universities th:nth-child(2),
.table-wrap.component-table-universities td:nth-child(2),
.table-wrap.component-table-university_slug_contents th:nth-child(1),
.table-wrap.component-table-university_slug_contents td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-mbbs_abroad_page_sections th:nth-child(1),
.table-wrap.component-table-mbbs_abroad_page_sections td:nth-child(1),
.table-wrap.component-table-universities th:nth-child(1),
.table-wrap.component-table-universities td:nth-child(1) {
    width: 78px;
}

.table-wrap.component-table-mbbs_abroad_page_sections th:nth-child(3),
.table-wrap.component-table-mbbs_abroad_page_sections td:nth-child(3),
.table-wrap.component-table-mbbs_abroad_page_items th:nth-child(2),
.table-wrap.component-table-mbbs_abroad_page_items td:nth-child(2),
.table-wrap.component-table-mbbs_abroad_page_items th:nth-child(3),
.table-wrap.component-table-mbbs_abroad_page_items td:nth-child(3),
.table-wrap.component-table-university_slug_contents th:nth-child(3),
.table-wrap.component-table-university_slug_contents td:nth-child(3) {
    width: 190px;
}

.table-wrap.component-table-mbbs_abroad_page_sections th:nth-child(4),
.table-wrap.component-table-mbbs_abroad_page_sections td:nth-child(4),
.table-wrap.component-table-mbbs_abroad_page_sections th:nth-child(5),
.table-wrap.component-table-mbbs_abroad_page_sections td:nth-child(5),
.table-wrap.component-table-mbbs_abroad_page_items th:nth-child(4),
.table-wrap.component-table-mbbs_abroad_page_items td:nth-child(4),
.table-wrap.component-table-mbbs_abroad_page_items th:nth-child(5),
.table-wrap.component-table-mbbs_abroad_page_items td:nth-child(5),
.table-wrap.component-table-universities th:nth-child(3),
.table-wrap.component-table-universities td:nth-child(3) {
    width: 260px;
}

.table-wrap.component-table-universities th:nth-child(4),
.table-wrap.component-table-universities td:nth-child(4),
.table-wrap.component-table-universities th:nth-child(5),
.table-wrap.component-table-universities td:nth-child(5),
.table-wrap.component-table-universities th:nth-child(6),
.table-wrap.component-table-universities td:nth-child(6),
.table-wrap.component-table-universities th:nth-child(7),
.table-wrap.component-table-universities td:nth-child(7),
.table-wrap.component-table-universities th:nth-child(8),
.table-wrap.component-table-universities td:nth-child(8),
.table-wrap.component-table-universities th:nth-child(9),
.table-wrap.component-table-universities td:nth-child(9) {
    width: 130px;
}

.table-wrap.component-table-universities th:nth-child(10),
.table-wrap.component-table-universities td:nth-child(10),
.table-wrap.component-table-universities th:nth-child(11),
.table-wrap.component-table-universities td:nth-child(11),
.table-wrap.component-table-university_slug_contents th:nth-child(4),
.table-wrap.component-table-university_slug_contents td:nth-child(4),
.table-wrap.component-table-university_slug_contents th:nth-child(5),
.table-wrap.component-table-university_slug_contents td:nth-child(5) {
    width: 110px;
}

.table-wrap.component-table-university_slug_contents th:nth-child(2),
.table-wrap.component-table-university_slug_contents td:nth-child(2) {
    width: 220px;
}

.table-wrap.component-table-mbbs_abroad_page_sections th:last-child,
.table-wrap.component-table-mbbs_abroad_page_sections td:last-child,
.table-wrap.component-table-mbbs_abroad_page_items th:last-child,
.table-wrap.component-table-mbbs_abroad_page_items td:last-child,
.table-wrap.component-table-universities th:last-child,
.table-wrap.component-table-universities td:last-child,
.table-wrap.component-table-university_slug_contents th:last-child,
.table-wrap.component-table-university_slug_contents td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-mbbs_abroad_page_sections .component-actions,
.table-wrap.component-table-mbbs_abroad_page_items .component-actions,
.table-wrap.component-table-universities .component-actions,
.table-wrap.component-table-university_slug_contents .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-mbbs_abroad_page_sections .component-actions form,
.table-wrap.component-table-mbbs_abroad_page_items .component-actions form,
.table-wrap.component-table-universities .component-actions form,
.table-wrap.component-table-university_slug_contents .component-actions form {
    margin: 0;
}

.table-wrap.component-table-mbbs_abroad_page_sections .icon-action,
.table-wrap.component-table-mbbs_abroad_page_items .icon-action,
.table-wrap.component-table-universities .icon-action,
.table-wrap.component-table-university_slug_contents .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-mbbs_abroad_page_sections .icon-action svg,
.table-wrap.component-table-mbbs_abroad_page_items .icon-action svg,
.table-wrap.component-table-universities .icon-action svg,
.table-wrap.component-table-university_slug_contents .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-study_countries,
.table-wrap.component-table-study_country_slug_contents,
.table-wrap.component-table-study_abroad_universities,
.table-wrap.component-table-study_abroad_university_sections {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-study_countries table,
.table-wrap.component-table-study_country_slug_contents table,
.table-wrap.component-table-study_abroad_universities table,
.table-wrap.component-table-study_abroad_university_sections table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-study_abroad_universities table {
    min-width: 1460px;
}

.table-wrap.component-table-study_country_slug_contents table,
.table-wrap.component-table-study_abroad_university_sections table {
    min-width: 980px;
}

.table-wrap.component-table-study_countries th,
.table-wrap.component-table-study_country_slug_contents th,
.table-wrap.component-table-study_abroad_universities th,
.table-wrap.component-table-study_abroad_university_sections th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-study_countries th,
.table-wrap.component-table-study_countries td,
.table-wrap.component-table-study_country_slug_contents th,
.table-wrap.component-table-study_country_slug_contents td,
.table-wrap.component-table-study_abroad_universities th,
.table-wrap.component-table-study_abroad_universities td,
.table-wrap.component-table-study_abroad_university_sections th,
.table-wrap.component-table-study_abroad_university_sections td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-study_countries td,
.table-wrap.component-table-study_country_slug_contents td,
.table-wrap.component-table-study_abroad_universities td,
.table-wrap.component-table-study_abroad_university_sections td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-study_countries .component-cell-text,
.table-wrap.component-table-study_country_slug_contents .component-cell-text,
.table-wrap.component-table-study_abroad_universities .component-cell-text,
.table-wrap.component-table-study_abroad_university_sections .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-study_countries tbody tr:nth-child(even) td,
.table-wrap.component-table-study_country_slug_contents tbody tr:nth-child(even) td,
.table-wrap.component-table-study_abroad_universities tbody tr:nth-child(even) td,
.table-wrap.component-table-study_abroad_university_sections tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-study_countries tbody tr:hover td,
.table-wrap.component-table-study_country_slug_contents tbody tr:hover td,
.table-wrap.component-table-study_abroad_universities tbody tr:hover td,
.table-wrap.component-table-study_abroad_university_sections tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-study_abroad_universities .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-study_countries th:nth-child(1),
.table-wrap.component-table-study_countries td:nth-child(1),
.table-wrap.component-table-study_country_slug_contents th:nth-child(1),
.table-wrap.component-table-study_country_slug_contents td:nth-child(1),
.table-wrap.component-table-study_abroad_universities th:nth-child(2),
.table-wrap.component-table-study_abroad_universities td:nth-child(2),
.table-wrap.component-table-study_abroad_university_sections th:nth-child(1),
.table-wrap.component-table-study_abroad_university_sections td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-study_abroad_universities th:nth-child(1),
.table-wrap.component-table-study_abroad_universities td:nth-child(1) {
    width: 78px;
}

.table-wrap.component-table-study_countries th:nth-child(2),
.table-wrap.component-table-study_countries td:nth-child(2),
.table-wrap.component-table-study_countries th:nth-child(3),
.table-wrap.component-table-study_countries td:nth-child(3),
.table-wrap.component-table-study_country_slug_contents th:nth-child(2),
.table-wrap.component-table-study_country_slug_contents td:nth-child(2),
.table-wrap.component-table-study_abroad_universities th:nth-child(3),
.table-wrap.component-table-study_abroad_universities td:nth-child(3),
.table-wrap.component-table-study_abroad_universities th:nth-child(4),
.table-wrap.component-table-study_abroad_universities td:nth-child(4),
.table-wrap.component-table-study_abroad_university_sections th:nth-child(2),
.table-wrap.component-table-study_abroad_university_sections td:nth-child(2),
.table-wrap.component-table-study_abroad_university_sections th:nth-child(3),
.table-wrap.component-table-study_abroad_university_sections td:nth-child(3) {
    width: 220px;
}

.table-wrap.component-table-study_abroad_universities th:nth-child(5),
.table-wrap.component-table-study_abroad_universities td:nth-child(5),
.table-wrap.component-table-study_abroad_universities th:nth-child(6),
.table-wrap.component-table-study_abroad_universities td:nth-child(6) {
    width: 180px;
}

.table-wrap.component-table-study_abroad_universities th:nth-child(7),
.table-wrap.component-table-study_abroad_universities td:nth-child(7),
.table-wrap.component-table-study_abroad_universities th:nth-child(8),
.table-wrap.component-table-study_abroad_universities td:nth-child(8),
.table-wrap.component-table-study_abroad_universities th:nth-child(9),
.table-wrap.component-table-study_abroad_universities td:nth-child(9),
.table-wrap.component-table-study_abroad_universities th:nth-child(10),
.table-wrap.component-table-study_abroad_universities td:nth-child(10),
.table-wrap.component-table-study_abroad_universities th:nth-child(11),
.table-wrap.component-table-study_abroad_universities td:nth-child(11),
.table-wrap.component-table-study_country_slug_contents th:nth-child(4),
.table-wrap.component-table-study_country_slug_contents td:nth-child(4),
.table-wrap.component-table-study_country_slug_contents th:nth-child(5),
.table-wrap.component-table-study_country_slug_contents td:nth-child(5),
.table-wrap.component-table-study_abroad_university_sections th:nth-child(4),
.table-wrap.component-table-study_abroad_university_sections td:nth-child(4),
.table-wrap.component-table-study_abroad_university_sections th:nth-child(5),
.table-wrap.component-table-study_abroad_university_sections td:nth-child(5),
.table-wrap.component-table-study_abroad_university_sections th:nth-child(6),
.table-wrap.component-table-study_abroad_university_sections td:nth-child(6) {
    width: 110px;
}

.table-wrap.component-table-study_countries th:last-child,
.table-wrap.component-table-study_countries td:last-child,
.table-wrap.component-table-study_country_slug_contents th:last-child,
.table-wrap.component-table-study_country_slug_contents td:last-child,
.table-wrap.component-table-study_abroad_universities th:last-child,
.table-wrap.component-table-study_abroad_universities td:last-child,
.table-wrap.component-table-study_abroad_university_sections th:last-child,
.table-wrap.component-table-study_abroad_university_sections td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-study_countries .component-actions,
.table-wrap.component-table-study_country_slug_contents .component-actions,
.table-wrap.component-table-study_abroad_universities .component-actions,
.table-wrap.component-table-study_abroad_university_sections .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-study_countries .component-actions form,
.table-wrap.component-table-study_country_slug_contents .component-actions form,
.table-wrap.component-table-study_abroad_universities .component-actions form,
.table-wrap.component-table-study_abroad_university_sections .component-actions form {
    margin: 0;
}

.table-wrap.component-table-study_countries .icon-action,
.table-wrap.component-table-study_country_slug_contents .icon-action,
.table-wrap.component-table-study_abroad_universities .icon-action,
.table-wrap.component-table-study_abroad_university_sections .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-study_countries .icon-action svg,
.table-wrap.component-table-study_country_slug_contents .icon-action svg,
.table-wrap.component-table-study_abroad_universities .icon-action svg,
.table-wrap.component-table-study_abroad_university_sections .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-mbbs_india_page_sections,
.table-wrap.component-table-mbbs_india_page_items,
.table-wrap.component-table-neet_state_counselling_sections {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-mbbs_india_page_sections table,
.table-wrap.component-table-mbbs_india_page_items table,
.table-wrap.component-table-neet_state_counselling_sections table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-neet_state_counselling_sections table {
    min-width: 1360px;
}

.table-wrap.component-table-mbbs_india_page_sections th,
.table-wrap.component-table-mbbs_india_page_items th,
.table-wrap.component-table-neet_state_counselling_sections th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-mbbs_india_page_sections th,
.table-wrap.component-table-mbbs_india_page_sections td,
.table-wrap.component-table-mbbs_india_page_items th,
.table-wrap.component-table-mbbs_india_page_items td,
.table-wrap.component-table-neet_state_counselling_sections th,
.table-wrap.component-table-neet_state_counselling_sections td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-mbbs_india_page_sections td,
.table-wrap.component-table-mbbs_india_page_items td,
.table-wrap.component-table-neet_state_counselling_sections td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-mbbs_india_page_sections .component-cell-text,
.table-wrap.component-table-mbbs_india_page_items .component-cell-text,
.table-wrap.component-table-neet_state_counselling_sections .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-mbbs_india_page_sections tbody tr:nth-child(even) td,
.table-wrap.component-table-mbbs_india_page_items tbody tr:nth-child(even) td,
.table-wrap.component-table-neet_state_counselling_sections tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-mbbs_india_page_sections tbody tr:hover td,
.table-wrap.component-table-mbbs_india_page_items tbody tr:hover td,
.table-wrap.component-table-neet_state_counselling_sections tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-mbbs_india_page_sections .component-image-preview.compact,
.table-wrap.component-table-mbbs_india_page_items .component-image-preview.compact,
.table-wrap.component-table-neet_state_counselling_sections .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-mbbs_india_page_sections th:nth-child(1),
.table-wrap.component-table-mbbs_india_page_sections td:nth-child(1),
.table-wrap.component-table-mbbs_india_page_items th:nth-child(1),
.table-wrap.component-table-mbbs_india_page_items td:nth-child(1),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(1),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(1) {
    width: 78px;
}

.table-wrap.component-table-mbbs_india_page_sections th:nth-child(2),
.table-wrap.component-table-mbbs_india_page_sections td:nth-child(2),
.table-wrap.component-table-mbbs_india_page_items th:nth-child(2),
.table-wrap.component-table-mbbs_india_page_items td:nth-child(2),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(2),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(2) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-mbbs_india_page_sections th:nth-child(3),
.table-wrap.component-table-mbbs_india_page_sections td:nth-child(3),
.table-wrap.component-table-mbbs_india_page_items th:nth-child(3),
.table-wrap.component-table-mbbs_india_page_items td:nth-child(3),
.table-wrap.component-table-mbbs_india_page_items th:nth-child(4),
.table-wrap.component-table-mbbs_india_page_items td:nth-child(4),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(3),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(3),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(4),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(4),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(5),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(5),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(6),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(6) {
    width: 160px;
}

.table-wrap.component-table-mbbs_india_page_sections th:nth-child(4),
.table-wrap.component-table-mbbs_india_page_sections td:nth-child(4),
.table-wrap.component-table-mbbs_india_page_sections th:nth-child(5),
.table-wrap.component-table-mbbs_india_page_sections td:nth-child(5),
.table-wrap.component-table-mbbs_india_page_items th:nth-child(5),
.table-wrap.component-table-mbbs_india_page_items td:nth-child(5),
.table-wrap.component-table-mbbs_india_page_items th:nth-child(6),
.table-wrap.component-table-mbbs_india_page_items td:nth-child(6),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(7),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(7) {
    width: 250px;
}

.table-wrap.component-table-mbbs_india_page_sections th:nth-child(6),
.table-wrap.component-table-mbbs_india_page_sections td:nth-child(6),
.table-wrap.component-table-mbbs_india_page_sections th:nth-child(7),
.table-wrap.component-table-mbbs_india_page_sections td:nth-child(7),
.table-wrap.component-table-mbbs_india_page_items th:nth-child(7),
.table-wrap.component-table-mbbs_india_page_items td:nth-child(7),
.table-wrap.component-table-mbbs_india_page_items th:nth-child(8),
.table-wrap.component-table-mbbs_india_page_items td:nth-child(8),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(8),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(8),
.table-wrap.component-table-neet_state_counselling_sections th:nth-child(9),
.table-wrap.component-table-neet_state_counselling_sections td:nth-child(9) {
    width: 110px;
}

.table-wrap.component-table-mbbs_india_page_sections th:last-child,
.table-wrap.component-table-mbbs_india_page_sections td:last-child,
.table-wrap.component-table-mbbs_india_page_items th:last-child,
.table-wrap.component-table-mbbs_india_page_items td:last-child,
.table-wrap.component-table-neet_state_counselling_sections th:last-child,
.table-wrap.component-table-neet_state_counselling_sections td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-mbbs_india_page_sections .component-actions,
.table-wrap.component-table-mbbs_india_page_items .component-actions,
.table-wrap.component-table-neet_state_counselling_sections .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-mbbs_india_page_sections .component-actions form,
.table-wrap.component-table-mbbs_india_page_items .component-actions form,
.table-wrap.component-table-neet_state_counselling_sections .component-actions form {
    margin: 0;
}

.table-wrap.component-table-mbbs_india_page_sections .icon-action,
.table-wrap.component-table-mbbs_india_page_items .icon-action,
.table-wrap.component-table-neet_state_counselling_sections .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-mbbs_india_page_sections .icon-action svg,
.table-wrap.component-table-mbbs_india_page_items .icon-action svg,
.table-wrap.component-table-neet_state_counselling_sections .icon-action svg {
    width: 12px;
    height: 12px;
}

.enquiries-table-wrap {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.enquiries-table-wrap table {
    width: 100%;
    min-width: 1120px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.enquiries-table-wrap th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.enquiries-table-wrap th,
.enquiries-table-wrap td {
    height: 20px;
    box-sizing: border-box;
}

.enquiries-table-wrap td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.enquiries-table-wrap tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.enquiries-table-wrap tbody tr:hover td {
    background: #e7dacd;
}

.enquiries-table-wrap th:nth-child(1),
.enquiries-table-wrap td:nth-child(1) {
    width: 46px;
    text-align: center;
}

.enquiries-table-wrap th:nth-child(2),
.enquiries-table-wrap td:nth-child(2) {
    width: 70px;
}

.enquiries-table-wrap th:nth-child(3),
.enquiries-table-wrap td:nth-child(3) {
    width: 150px;
}

.enquiries-table-wrap th:nth-child(4),
.enquiries-table-wrap td:nth-child(4) {
    width: 210px;
}

.enquiries-table-wrap th:nth-child(5),
.enquiries-table-wrap td:nth-child(5) {
    width: 140px;
}

.enquiries-table-wrap th:nth-child(6),
.enquiries-table-wrap td:nth-child(6) {
    width: 160px;
}

.enquiries-table-wrap th:nth-child(7),
.enquiries-table-wrap td:nth-child(7) {
    width: 260px;
}

.enquiries-table-wrap th:nth-child(8),
.enquiries-table-wrap td:nth-child(8) {
    width: 150px;
}

.enquiries-table-wrap th:nth-child(9),
.enquiries-table-wrap td:nth-child(9) {
    width: 170px;
}

.enquiries-table-wrap td[colspan] {
    width: auto;
    padding: 8px 10px;
    text-align: center;
}

.enquiries-table-wrap input[type="checkbox"] {
    width: 16px;
    height: 16px;
    min-height: 0;
    margin: 0;
}

.modal-panel.component-table-raw_colleges {
    width: min(980px, calc(100vw - 2rem));
    padding: 1.05rem 1.15rem;
    border-radius: 18px;
}

.modal-panel.component-table-raw_colleges .modal-head {
    margin: -1.05rem -1.15rem 0.85rem;
    padding: 1rem 4rem 0.9rem 1.15rem;
    background: linear-gradient(135deg, rgba(0, 126, 184, 0.1), rgba(7, 139, 109, 0.12));
    border-bottom: 1px solid var(--line);
}

.modal-panel.component-table-raw_colleges .modal-head h2 {
    font-size: 1.55rem;
}

.modal-panel.component-table-raw_colleges .edit-fields-grid {
    gap: 0.72rem 0.9rem;
}

.modal-panel.component-table-raw_colleges .edit-fields-grid label {
    padding: 0.72rem;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(207, 221, 232, 0.9);
    border-radius: 14px;
}

.modal-panel.component-table-raw_colleges .edit-fields-grid label:has(.image-input-combo) {
    background: #f8fbff;
}

.modal-panel.component-table-raw_colleges .edit-fields-grid label:has(textarea),
.modal-panel.component-table-raw_colleges .edit-fields-grid label:has(input[name="website"]),
.modal-panel.component-table-raw_colleges .edit-fields-grid label:has(input[name="affiliation"]) {
    grid-column: 1 / -1;
}

.modal-panel.component-table-raw_colleges .edit-fields-grid textarea {
    min-height: 90px;
}

.modal-panel.component-table-raw_colleges .image-input-combo input {
    background: #fff;
}

.modal-panel.component-table-raw_colleges .add-row-actions {
    margin: 0 -1.15rem -1.05rem;
    padding: 0.8rem 1.15rem;
    border-radius: 0 0 18px 18px;
}

.table-wrap.component-table-raw_colleges {
    width: 100%;
    max-width: none;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-raw_colleges table {
    width: 100%;
    min-width: 1520px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-raw_colleges th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-raw_colleges th,
.table-wrap.component-table-raw_colleges td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-raw_colleges td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-raw_colleges .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-raw_colleges tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-raw_colleges tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-raw_colleges .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-raw_colleges th:nth-child(1),
.table-wrap.component-table-raw_colleges td:nth-child(1) {
    width: 78px;
}

.table-wrap.component-table-raw_colleges th:nth-child(2),
.table-wrap.component-table-raw_colleges td:nth-child(2) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-raw_colleges th:nth-child(3),
.table-wrap.component-table-raw_colleges td:nth-child(3) {
    width: 280px;
}

.table-wrap.component-table-raw_colleges th:nth-child(4),
.table-wrap.component-table-raw_colleges td:nth-child(4),
.table-wrap.component-table-raw_colleges th:nth-child(5),
.table-wrap.component-table-raw_colleges td:nth-child(5),
.table-wrap.component-table-raw_colleges th:nth-child(6),
.table-wrap.component-table-raw_colleges td:nth-child(6),
.table-wrap.component-table-raw_colleges th:nth-child(7),
.table-wrap.component-table-raw_colleges td:nth-child(7) {
    width: 150px;
}

.table-wrap.component-table-raw_colleges th:nth-child(8),
.table-wrap.component-table-raw_colleges td:nth-child(8),
.table-wrap.component-table-raw_colleges th:nth-child(9),
.table-wrap.component-table-raw_colleges td:nth-child(9),
.table-wrap.component-table-raw_colleges th:nth-child(10),
.table-wrap.component-table-raw_colleges td:nth-child(10),
.table-wrap.component-table-raw_colleges th:nth-child(11),
.table-wrap.component-table-raw_colleges td:nth-child(11) {
    width: 110px;
}

.table-wrap.component-table-raw_colleges th:last-child,
.table-wrap.component-table-raw_colleges td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-raw_colleges .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-raw_colleges .component-actions form {
    margin: 0;
}

.table-wrap.component-table-raw_colleges .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-raw_colleges .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-schools,
.table-wrap.component-table-school_photos,
.table-wrap.component-table-school_fee_structures {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-schools table,
.table-wrap.component-table-school_photos table,
.table-wrap.component-table-school_fee_structures table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-schools table {
    min-width: 1520px;
}

.table-wrap.component-table-schools th,
.table-wrap.component-table-school_photos th,
.table-wrap.component-table-school_fee_structures th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-schools th,
.table-wrap.component-table-schools td,
.table-wrap.component-table-school_photos th,
.table-wrap.component-table-school_photos td,
.table-wrap.component-table-school_fee_structures th,
.table-wrap.component-table-school_fee_structures td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-schools td,
.table-wrap.component-table-school_photos td,
.table-wrap.component-table-school_fee_structures td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-schools .component-cell-text,
.table-wrap.component-table-school_photos .component-cell-text,
.table-wrap.component-table-school_fee_structures .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-schools tbody tr:nth-child(even) td,
.table-wrap.component-table-school_photos tbody tr:nth-child(even) td,
.table-wrap.component-table-school_fee_structures tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-schools tbody tr:hover td,
.table-wrap.component-table-school_photos tbody tr:hover td,
.table-wrap.component-table-school_fee_structures tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-schools .component-image-preview.compact,
.table-wrap.component-table-school_photos .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-schools th:nth-child(1),
.table-wrap.component-table-schools td:nth-child(1),
.table-wrap.component-table-school_photos th:nth-child(1),
.table-wrap.component-table-school_photos td:nth-child(1),
.table-wrap.component-table-school_fee_structures th:nth-child(1),
.table-wrap.component-table-school_fee_structures td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-schools th:nth-child(2),
.table-wrap.component-table-schools td:nth-child(2),
.table-wrap.component-table-schools th:nth-child(3),
.table-wrap.component-table-schools td:nth-child(3),
.table-wrap.component-table-schools th:nth-child(4),
.table-wrap.component-table-schools td:nth-child(4),
.table-wrap.component-table-school_photos th:nth-child(2),
.table-wrap.component-table-school_photos td:nth-child(2),
.table-wrap.component-table-school_photos th:nth-child(3),
.table-wrap.component-table-school_photos td:nth-child(3),
.table-wrap.component-table-school_fee_structures th:nth-child(2),
.table-wrap.component-table-school_fee_structures td:nth-child(2),
.table-wrap.component-table-school_fee_structures th:nth-child(3),
.table-wrap.component-table-school_fee_structures td:nth-child(3) {
    width: 220px;
}

.table-wrap.component-table-schools th:nth-child(n+5),
.table-wrap.component-table-schools td:nth-child(n+5),
.table-wrap.component-table-school_photos th:nth-child(n+4),
.table-wrap.component-table-school_photos td:nth-child(n+4),
.table-wrap.component-table-school_fee_structures th:nth-child(n+4),
.table-wrap.component-table-school_fee_structures td:nth-child(n+4) {
    width: 130px;
}

.table-wrap.component-table-schools th:last-child,
.table-wrap.component-table-schools td:last-child,
.table-wrap.component-table-school_photos th:last-child,
.table-wrap.component-table-school_photos td:last-child,
.table-wrap.component-table-school_fee_structures th:last-child,
.table-wrap.component-table-school_fee_structures td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-schools .component-actions,
.table-wrap.component-table-school_photos .component-actions,
.table-wrap.component-table-school_fee_structures .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-schools .component-actions form,
.table-wrap.component-table-school_photos .component-actions form,
.table-wrap.component-table-school_fee_structures .component-actions form {
    margin: 0;
}

.table-wrap.component-table-schools .icon-action,
.table-wrap.component-table-school_photos .icon-action,
.table-wrap.component-table-school_fee_structures .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-schools .icon-action svg,
.table-wrap.component-table-school_photos .icon-action svg,
.table-wrap.component-table-school_fee_structures .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-raw_blogs,
.table-wrap.component-table-blog_slug_contents {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-raw_blogs table,
.table-wrap.component-table-blog_slug_contents table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-blog_slug_contents table {
    min-width: 1180px;
}

.table-wrap.component-table-raw_blogs th,
.table-wrap.component-table-blog_slug_contents th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-raw_blogs th,
.table-wrap.component-table-raw_blogs td,
.table-wrap.component-table-blog_slug_contents th,
.table-wrap.component-table-blog_slug_contents td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-raw_blogs td,
.table-wrap.component-table-blog_slug_contents td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-raw_blogs .component-cell-text,
.table-wrap.component-table-blog_slug_contents .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-raw_blogs tbody tr:nth-child(even) td,
.table-wrap.component-table-blog_slug_contents tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-raw_blogs tbody tr:hover td,
.table-wrap.component-table-blog_slug_contents tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-raw_blogs .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-raw_blogs th:nth-child(1),
.table-wrap.component-table-raw_blogs td:nth-child(1) {
    width: 78px;
}

.table-wrap.component-table-raw_blogs th:nth-child(2),
.table-wrap.component-table-raw_blogs td:nth-child(2),
.table-wrap.component-table-blog_slug_contents th:nth-child(1),
.table-wrap.component-table-blog_slug_contents td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-raw_blogs th:nth-child(3),
.table-wrap.component-table-raw_blogs td:nth-child(3),
.table-wrap.component-table-raw_blogs th:nth-child(4),
.table-wrap.component-table-raw_blogs td:nth-child(4),
.table-wrap.component-table-blog_slug_contents th:nth-child(2),
.table-wrap.component-table-blog_slug_contents td:nth-child(2),
.table-wrap.component-table-blog_slug_contents th:nth-child(3),
.table-wrap.component-table-blog_slug_contents td:nth-child(3),
.table-wrap.component-table-blog_slug_contents th:nth-child(4),
.table-wrap.component-table-blog_slug_contents td:nth-child(4) {
    width: 240px;
}

.table-wrap.component-table-raw_blogs th:nth-child(5),
.table-wrap.component-table-raw_blogs td:nth-child(5),
.table-wrap.component-table-blog_slug_contents th:nth-child(5),
.table-wrap.component-table-blog_slug_contents td:nth-child(5),
.table-wrap.component-table-blog_slug_contents th:nth-child(6),
.table-wrap.component-table-blog_slug_contents td:nth-child(6) {
    width: 110px;
}

.table-wrap.component-table-raw_blogs th:last-child,
.table-wrap.component-table-raw_blogs td:last-child,
.table-wrap.component-table-blog_slug_contents th:last-child,
.table-wrap.component-table-blog_slug_contents td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-raw_blogs .component-actions,
.table-wrap.component-table-blog_slug_contents .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-raw_blogs .component-actions form,
.table-wrap.component-table-blog_slug_contents .component-actions form {
    margin: 0;
}

.table-wrap.component-table-raw_blogs .icon-action,
.table-wrap.component-table-blog_slug_contents .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-raw_blogs .icon-action svg,
.table-wrap.component-table-blog_slug_contents .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-raw_news {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-raw_news table {
    width: 100%;
    min-width: 820px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-raw_news th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-raw_news th,
.table-wrap.component-table-raw_news td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-raw_news td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-raw_news .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-raw_news tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-raw_news tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-raw_news .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-raw_news th:nth-child(1),
.table-wrap.component-table-raw_news td:nth-child(1) {
    width: 78px;
}

.table-wrap.component-table-raw_news th:nth-child(2),
.table-wrap.component-table-raw_news td:nth-child(2) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-raw_news th:nth-child(3),
.table-wrap.component-table-raw_news td:nth-child(3) {
    width: 360px;
    max-width: none;
    color: #001334;
    font-weight: 400;
}

.table-wrap.component-table-raw_news th:nth-child(4),
.table-wrap.component-table-raw_news td:nth-child(4) {
    width: 120px;
}

.table-wrap.component-table-raw_news th:last-child,
.table-wrap.component-table-raw_news td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-raw_news .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-raw_news .component-actions form {
    margin: 0;
}

.table-wrap.component-table-raw_news .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-raw_news .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-about_page_sections,
.table-wrap.component-table-about_page_items {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-about_page_sections table,
.table-wrap.component-table-about_page_items table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-about_page_items table {
    min-width: 1360px;
}

.table-wrap.component-table-about_page_sections th,
.table-wrap.component-table-about_page_items th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-about_page_sections th,
.table-wrap.component-table-about_page_sections td,
.table-wrap.component-table-about_page_items th,
.table-wrap.component-table-about_page_items td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-about_page_sections td,
.table-wrap.component-table-about_page_items td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-about_page_sections .component-cell-text,
.table-wrap.component-table-about_page_items .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-about_page_sections tbody tr:nth-child(even) td,
.table-wrap.component-table-about_page_items tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-about_page_sections tbody tr:hover td,
.table-wrap.component-table-about_page_items tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-about_page_sections .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-about_page_sections th:nth-child(1),
.table-wrap.component-table-about_page_sections td:nth-child(1) {
    width: 78px;
}

.table-wrap.component-table-about_page_sections th:nth-child(2),
.table-wrap.component-table-about_page_sections td:nth-child(2),
.table-wrap.component-table-about_page_items th:nth-child(1),
.table-wrap.component-table-about_page_items td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-about_page_sections th:nth-child(3),
.table-wrap.component-table-about_page_sections td:nth-child(3),
.table-wrap.component-table-about_page_items th:nth-child(2),
.table-wrap.component-table-about_page_items td:nth-child(2),
.table-wrap.component-table-about_page_items th:nth-child(3),
.table-wrap.component-table-about_page_items td:nth-child(3) {
    width: 180px;
}

.table-wrap.component-table-about_page_sections th:nth-child(4),
.table-wrap.component-table-about_page_sections td:nth-child(4),
.table-wrap.component-table-about_page_sections th:nth-child(5),
.table-wrap.component-table-about_page_sections td:nth-child(5),
.table-wrap.component-table-about_page_sections th:nth-child(6),
.table-wrap.component-table-about_page_sections td:nth-child(6),
.table-wrap.component-table-about_page_items th:nth-child(4),
.table-wrap.component-table-about_page_items td:nth-child(4),
.table-wrap.component-table-about_page_items th:nth-child(5),
.table-wrap.component-table-about_page_items td:nth-child(5) {
    width: 240px;
    max-width: none;
}

.table-wrap.component-table-about_page_items th:nth-child(6),
.table-wrap.component-table-about_page_items td:nth-child(6),
.table-wrap.component-table-about_page_items th:nth-child(7),
.table-wrap.component-table-about_page_items td:nth-child(7),
.table-wrap.component-table-about_page_items th:nth-child(8),
.table-wrap.component-table-about_page_items td:nth-child(8),
.table-wrap.component-table-about_page_items th:nth-child(9),
.table-wrap.component-table-about_page_items td:nth-child(9),
.table-wrap.component-table-about_page_items th:nth-child(10),
.table-wrap.component-table-about_page_items td:nth-child(10),
.table-wrap.component-table-about_page_sections th:nth-child(7),
.table-wrap.component-table-about_page_sections td:nth-child(7),
.table-wrap.component-table-about_page_sections th:nth-child(8),
.table-wrap.component-table-about_page_sections td:nth-child(8) {
    width: 110px;
}

.table-wrap.component-table-about_page_sections th:last-child,
.table-wrap.component-table-about_page_sections td:last-child,
.table-wrap.component-table-about_page_items th:last-child,
.table-wrap.component-table-about_page_items td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-about_page_sections .component-actions,
.table-wrap.component-table-about_page_items .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-about_page_sections .component-actions form,
.table-wrap.component-table-about_page_items .component-actions form {
    margin: 0;
}

.table-wrap.component-table-about_page_sections .icon-action,
.table-wrap.component-table-about_page_items .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-about_page_sections .icon-action svg,
.table-wrap.component-table-about_page_items .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-destinations,
.table-wrap.component-table-opportunities,
.table-wrap.component-table-services {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-destinations table,
.table-wrap.component-table-opportunities table,
.table-wrap.component-table-services table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-destinations th,
.table-wrap.component-table-opportunities th,
.table-wrap.component-table-services th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-destinations th,
.table-wrap.component-table-destinations td,
.table-wrap.component-table-opportunities th,
.table-wrap.component-table-opportunities td,
.table-wrap.component-table-services th,
.table-wrap.component-table-services td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-destinations td,
.table-wrap.component-table-opportunities td,
.table-wrap.component-table-services td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-destinations .component-cell-text,
.table-wrap.component-table-opportunities .component-cell-text,
.table-wrap.component-table-services .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-destinations tbody tr:nth-child(even) td,
.table-wrap.component-table-opportunities tbody tr:nth-child(even) td,
.table-wrap.component-table-services tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-destinations tbody tr:hover td,
.table-wrap.component-table-opportunities tbody tr:hover td,
.table-wrap.component-table-services tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-destinations th:nth-child(1),
.table-wrap.component-table-destinations td:nth-child(1),
.table-wrap.component-table-opportunities th:nth-child(1),
.table-wrap.component-table-opportunities td:nth-child(1),
.table-wrap.component-table-services th:nth-child(1),
.table-wrap.component-table-services td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-destinations th:nth-child(2),
.table-wrap.component-table-destinations td:nth-child(2),
.table-wrap.component-table-destinations th:nth-child(3),
.table-wrap.component-table-destinations td:nth-child(3),
.table-wrap.component-table-opportunities th:nth-child(3),
.table-wrap.component-table-opportunities td:nth-child(3),
.table-wrap.component-table-opportunities th:nth-child(4),
.table-wrap.component-table-opportunities td:nth-child(4),
.table-wrap.component-table-services th:nth-child(3),
.table-wrap.component-table-services td:nth-child(3),
.table-wrap.component-table-services th:nth-child(4),
.table-wrap.component-table-services td:nth-child(4) {
    width: 240px;
    max-width: none;
}

.table-wrap.component-table-opportunities th:nth-child(2),
.table-wrap.component-table-opportunities td:nth-child(2),
.table-wrap.component-table-services th:nth-child(2),
.table-wrap.component-table-services td:nth-child(2),
.table-wrap.component-table-destinations th:nth-child(4),
.table-wrap.component-table-destinations td:nth-child(4),
.table-wrap.component-table-destinations th:nth-child(5),
.table-wrap.component-table-destinations td:nth-child(5),
.table-wrap.component-table-opportunities th:nth-child(5),
.table-wrap.component-table-opportunities td:nth-child(5),
.table-wrap.component-table-opportunities th:nth-child(6),
.table-wrap.component-table-opportunities td:nth-child(6),
.table-wrap.component-table-services th:nth-child(5),
.table-wrap.component-table-services td:nth-child(5),
.table-wrap.component-table-services th:nth-child(6),
.table-wrap.component-table-services td:nth-child(6) {
    width: 110px;
}

.table-wrap.component-table-destinations th:last-child,
.table-wrap.component-table-destinations td:last-child,
.table-wrap.component-table-opportunities th:last-child,
.table-wrap.component-table-opportunities td:last-child,
.table-wrap.component-table-services th:last-child,
.table-wrap.component-table-services td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-destinations .component-actions,
.table-wrap.component-table-opportunities .component-actions,
.table-wrap.component-table-services .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-destinations .component-actions form,
.table-wrap.component-table-opportunities .component-actions form,
.table-wrap.component-table-services .component-actions form {
    margin: 0;
}

.table-wrap.component-table-destinations .icon-action,
.table-wrap.component-table-opportunities .icon-action,
.table-wrap.component-table-services .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-destinations .icon-action svg,
.table-wrap.component-table-opportunities .icon-action svg,
.table-wrap.component-table-services .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-social_links {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-social_links table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-social_links th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-social_links th,
.table-wrap.component-table-social_links td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-social_links td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-social_links .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-social_links tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-social_links tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-social_links .component-image-preview.compact {
    width: 22px;
    height: 20px;
    object-fit: contain;
    border-radius: 4px;
}

.table-wrap.component-table-social_links th:nth-child(1),
.table-wrap.component-table-social_links td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-social_links th:nth-child(2),
.table-wrap.component-table-social_links td:nth-child(2) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-social_links th:nth-child(3),
.table-wrap.component-table-social_links td:nth-child(3) {
    width: 180px;
    color: #001334;
    font-weight: 400;
}

.table-wrap.component-table-social_links th:nth-child(4),
.table-wrap.component-table-social_links td:nth-child(4) {
    width: 360px;
    max-width: none;
}

.table-wrap.component-table-social_links th:nth-child(5),
.table-wrap.component-table-social_links td:nth-child(5),
.table-wrap.component-table-social_links th:nth-child(6),
.table-wrap.component-table-social_links td:nth-child(6) {
    width: 110px;
}

.table-wrap.component-table-social_links th:last-child,
.table-wrap.component-table-social_links td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-social_links .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-social_links .component-actions form {
    margin: 0;
}

.table-wrap.component-table-social_links .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-social_links .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-office_locations {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-office_locations table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-office_locations th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-office_locations th,
.table-wrap.component-table-office_locations td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-office_locations td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-office_locations .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-office_locations tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-office_locations tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-office_locations th:nth-child(1),
.table-wrap.component-table-office_locations td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-office_locations th:nth-child(2),
.table-wrap.component-table-office_locations td:nth-child(2) {
    width: 220px;
    color: #001334;
    font-weight: 400;
}

.table-wrap.component-table-office_locations th:nth-child(3),
.table-wrap.component-table-office_locations td:nth-child(3) {
    width: 360px;
    max-width: none;
}

.table-wrap.component-table-office_locations th:nth-child(4),
.table-wrap.component-table-office_locations td:nth-child(4) {
    width: 180px;
}

.table-wrap.component-table-office_locations th:nth-child(5),
.table-wrap.component-table-office_locations td:nth-child(5),
.table-wrap.component-table-office_locations th:nth-child(6),
.table-wrap.component-table-office_locations td:nth-child(6) {
    width: 110px;
}

.table-wrap.component-table-office_locations th:last-child,
.table-wrap.component-table-office_locations td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-office_locations .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-office_locations .component-actions form {
    margin: 0;
}

.table-wrap.component-table-office_locations .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-office_locations .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-enquiry_programs {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-enquiry_programs table {
    width: 100%;
    min-width: 780px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-enquiry_programs th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-enquiry_programs th,
.table-wrap.component-table-enquiry_programs td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-enquiry_programs td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-enquiry_programs .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-enquiry_programs tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-enquiry_programs tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-enquiry_programs th:nth-child(1),
.table-wrap.component-table-enquiry_programs td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-enquiry_programs th:nth-child(2),
.table-wrap.component-table-enquiry_programs td:nth-child(2) {
    width: 300px;
    color: #001334;
    font-weight: 400;
}

.table-wrap.component-table-enquiry_programs th:nth-child(3),
.table-wrap.component-table-enquiry_programs td:nth-child(3),
.table-wrap.component-table-enquiry_programs th:nth-child(4),
.table-wrap.component-table-enquiry_programs td:nth-child(4) {
    width: 110px;
}

.table-wrap.component-table-enquiry_programs th:last-child,
.table-wrap.component-table-enquiry_programs td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-enquiry_programs .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-enquiry_programs .component-actions form {
    margin: 0;
}

.table-wrap.component-table-enquiry_programs .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-enquiry_programs .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-page_banners {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-page_banners table {
    width: 100%;
    min-width: 1180px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-page_banners th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-page_banners th,
.table-wrap.component-table-page_banners td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-page_banners td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-page_banners .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-page_banners tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-page_banners tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-page_banners .component-image-preview.compact {
    width: 34px;
    height: 22px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-page_banners th:nth-child(1),
.table-wrap.component-table-page_banners td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-page_banners th:nth-child(2),
.table-wrap.component-table-page_banners td:nth-child(2) {
    width: 180px;
}

.table-wrap.component-table-page_banners th:nth-child(3),
.table-wrap.component-table-page_banners td:nth-child(3) {
    width: 90px;
    text-align: center;
}

.table-wrap.component-table-page_banners th:nth-child(4),
.table-wrap.component-table-page_banners td:nth-child(4),
.table-wrap.component-table-page_banners th:nth-child(5),
.table-wrap.component-table-page_banners td:nth-child(5) {
    width: 260px;
}

.table-wrap.component-table-page_banners th:nth-child(6),
.table-wrap.component-table-page_banners td:nth-child(6),
.table-wrap.component-table-page_banners th:nth-child(7),
.table-wrap.component-table-page_banners td:nth-child(7) {
    width: 110px;
}

.table-wrap.component-table-page_banners th:last-child,
.table-wrap.component-table-page_banners td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-page_banners .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-page_banners .component-actions form {
    margin: 0;
}

.table-wrap.component-table-page_banners .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-page_banners .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-testimonials {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-testimonials table {
    width: 100%;
    min-width: 1280px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-testimonials th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-testimonials th,
.table-wrap.component-table-testimonials td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-testimonials td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-testimonials .component-cell-text {
    display: block;
    max-width: none;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-testimonials tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-testimonials tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-testimonials .component-image-preview.compact {
    width: 22px;
    height: 20px;
    object-fit: cover;
    border-radius: 4px;
}

.table-wrap.component-table-testimonials th:nth-child(1),
.table-wrap.component-table-testimonials td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-testimonials th:nth-child(2),
.table-wrap.component-table-testimonials td:nth-child(2) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-testimonials th:nth-child(3),
.table-wrap.component-table-testimonials td:nth-child(3),
.table-wrap.component-table-testimonials th:nth-child(5),
.table-wrap.component-table-testimonials td:nth-child(5) {
    width: 190px;
    color: #001334;
    font-weight: 400;
}

.table-wrap.component-table-testimonials th:nth-child(4),
.table-wrap.component-table-testimonials td:nth-child(4),
.table-wrap.component-table-testimonials th:nth-child(7),
.table-wrap.component-table-testimonials td:nth-child(7) {
    width: 260px;
}

.table-wrap.component-table-testimonials th:nth-child(6),
.table-wrap.component-table-testimonials td:nth-child(6),
.table-wrap.component-table-testimonials th:nth-child(8),
.table-wrap.component-table-testimonials td:nth-child(8),
.table-wrap.component-table-testimonials th:nth-child(9),
.table-wrap.component-table-testimonials td:nth-child(9) {
    width: 110px;
}

.table-wrap.component-table-testimonials th:last-child,
.table-wrap.component-table-testimonials td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-testimonials .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-testimonials .component-actions form {
    margin: 0;
}

.table-wrap.component-table-testimonials .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-testimonials .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-trust_content {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-trust_content table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-trust_content th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-trust_content th,
.table-wrap.component-table-trust_content td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-trust_content td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-trust_content .component-cell-text,
.table-wrap.component-table-trust_content td:nth-child(2) .component-cell-text {
    display: block;
    max-width: none;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
}

.table-wrap.component-table-trust_content tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-trust_content tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-trust_content th:nth-child(1),
.table-wrap.component-table-trust_content td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-trust_content th:nth-child(2),
.table-wrap.component-table-trust_content td:nth-child(2) {
    width: 560px;
}

.table-wrap.component-table-trust_content th:nth-child(3),
.table-wrap.component-table-trust_content td:nth-child(3) {
    width: 170px;
}

.table-wrap.component-table-trust_content th:last-child,
.table-wrap.component-table-trust_content td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-trust_content .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-trust_content .component-actions form {
    margin: 0;
}

.table-wrap.component-table-trust_content .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-trust_content .icon-action svg {
    width: 12px;
    height: 12px;
}

.table-wrap.component-table-trust_stats {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.table-wrap.component-table-trust_stats table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.table-wrap.component-table-trust_stats th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.table-wrap.component-table-trust_stats th,
.table-wrap.component-table-trust_stats td {
    height: 20px;
    box-sizing: border-box;
}

.table-wrap.component-table-trust_stats td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.table-wrap.component-table-trust_stats .component-cell-text {
    display: block;
    overflow: hidden;
    color: inherit;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-wrap.component-table-trust_stats tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.table-wrap.component-table-trust_stats tbody tr:hover td {
    background: #e7dacd;
}

.table-wrap.component-table-trust_stats th:nth-child(1),
.table-wrap.component-table-trust_stats td:nth-child(1) {
    width: 64px;
    text-align: center;
}

.table-wrap.component-table-trust_stats th:nth-child(2),
.table-wrap.component-table-trust_stats td:nth-child(2),
.table-wrap.component-table-trust_stats th:nth-child(3),
.table-wrap.component-table-trust_stats td:nth-child(3) {
    width: 240px;
    color: #001334;
    font-weight: 400;
}

.table-wrap.component-table-trust_stats th:nth-child(4),
.table-wrap.component-table-trust_stats td:nth-child(4),
.table-wrap.component-table-trust_stats th:nth-child(5),
.table-wrap.component-table-trust_stats td:nth-child(5) {
    width: 110px;
}

.table-wrap.component-table-trust_stats th:last-child,
.table-wrap.component-table-trust_stats td:last-child {
    width: 146px;
    min-width: 146px;
    text-align: center;
}

.table-wrap.component-table-trust_stats .component-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 3px 6px;
    overflow: visible;
    white-space: nowrap;
}

.table-wrap.component-table-trust_stats .component-actions form {
    margin: 0;
}

.table-wrap.component-table-trust_stats .icon-action {
    width: 24px;
    min-width: 24px;
    height: 20px;
    min-height: 20px;
    padding: 0;
    border-radius: 4px;
}

.table-wrap.component-table-trust_stats .icon-action svg {
    width: 12px;
    height: 12px;
}

.modal-panel.component-table-raw_colleges .raw-college-quill-editor {
    height: 260px;
    min-height: 260px;
}

.toggle-field {
    display: inline-flex;
    width: max-content;
    align-items: center;
    gap: 0.55rem;
    min-height: 36px;
    margin: 0.1rem 0 0;
    cursor: pointer;
}

.toggle-field input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.toggle-track {
    position: relative;
    width: 46px;
    height: 24px;
    border-radius: 999px;
    background: #cfd9e3;
    transition: background 0.2s ease;
}

.toggle-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
    transition: transform 0.2s ease;
}

.toggle-field input:checked + .toggle-track {
    background: linear-gradient(90deg, var(--blue), var(--red));
}

.toggle-field input:checked + .toggle-track::after {
    transform: translateX(22px);
}

.toggle-text {
    color: var(--blue);
    font-weight: 800;
}

.add-row-form {
    display: grid;
    gap: 0.55rem;
    max-height: none;
}

.add-row-actions {
    position: sticky;
    bottom: -0.72rem;
    display: flex;
    justify-content: flex-end;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    background: var(--bg);
    border-top: 1px solid var(--line);
}

@media (min-width: 901px) and (max-width: 1180px) {
    :root {
        --sidebar-width: 240px;
    }

    .admin-sidebar {
        padding: 1rem 0.9rem;
    }

    .admin-brand-logo {
        height: 52px;
    }

    .dashboard-shell {
        padding: 0 1.1rem 1.25rem;
    }

    .dashboard-top {
        margin: 0 -1.1rem 1rem;
        padding: 0 1.1rem 0.85rem;
    }

    .metric-grid {
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    }

    .dashboard-insights-grid {
        grid-template-columns: 1fr;
    }

    .profile-page-grid {
        grid-template-columns: 1fr;
    }

    .profile-card-main {
        grid-row: auto;
    }
}

@media (max-width: 900px) {
    .auth-shell {
        min-height: 0;
    }

    .auth-scene {
        height: calc(100dvh - 2rem);
        max-height: 680px;
        min-height: 0;
        grid-template-columns: 1fr;
        padding: 5.8rem 1rem 0.8rem;
        background:
            linear-gradient(150deg, rgba(173, 52, 35, 0.94) 0 46%, rgba(18, 26, 34, 0.98) 46.5% 100%),
            #121a22;
    }

    .auth-scene-login {
        background:
            linear-gradient(150deg, rgba(18, 26, 34, 0.98) 0 47%, rgba(173, 52, 35, 0.94) 47.5% 100%),
            #121a22;
    }

    .auth-brand-strip img {
        height: 58px;
    }

    .auth-brand-strip a {
        min-width: 0;
        width: min(340px, 82vw);
    }

    .auth-card,
    .auth-scene-login .auth-card,
    .auth-scene-register .auth-card,
    .auth-welcome,
    .auth-scene-login .auth-welcome,
    .auth-scene-register .auth-welcome {
        grid-column: 1;
        margin-top: 0;
    }

    .auth-welcome {
        order: 1;
        width: min(100%, 420px);
        padding: 0.75rem 1rem 0.2rem;
    }

    .auth-card {
        order: 2;
    }

    .auth-scene-login .auth-card {
        order: 1;
    }

    .auth-scene-login .auth-welcome {
        order: 2;
        padding-top: 0.6rem;
    }

    .auth-welcome,
    .auth-scene-register .auth-welcome {
        text-align: center;
    }

    .auth-welcome h2 {
        font-size: 1.75rem;
    }

    .admin-layout {
        position: static;
        grid-template-columns: 1fr;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .admin-sidebar {
        position: fixed;
        z-index: 1000;
        inset: 0 auto 0 0;
        width: min(82vw, 300px);
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
        overflow: hidden;
        transform: translateX(-105%);
        transition: transform .22s ease;
    }

    .admin-layout.admin-nav-open .admin-sidebar {
        transform: translateX(0);
    }

    .admin-menu-toggle {
        position: fixed;
        top: .75rem;
        left: .75rem;
        z-index: 1002;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        min-height: 42px;
        border: 1px solid var(--line);
        border-radius: 6px;
        background: var(--panel);
        color: var(--blue);
        box-shadow: 0 8px 24px rgba(0, 51, 153, 0.14);
        font-size: 1.35rem;
        padding: 0;
    }

    .admin-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 999;
        background: rgba(10, 25, 48, 0.38);
    }

    .admin-layout.admin-nav-open .admin-sidebar-backdrop {
        display: block;
    }

    .admin-submenu {
        max-height: none;
    }

    .dashboard-shell {
        grid-column: 1;
        height: auto;
        min-height: 100vh;
        overflow: visible;
        padding: 0 1rem 1rem;
    }

    .dashboard-top {
        align-items: start;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        top: 0;
        margin: 0 -1rem 1rem;
        padding: 0 1rem 1rem 4rem;
    }

    .dashboard-top > div:first-child {
        grid-column: 1 / -1;
        grid-row: 2;
        min-width: 0;
        padding-top: .35rem;
    }

    .dashboard-top p {
        max-width: 100%;
    }

    .admin-profile-tools {
        grid-column: 2;
        grid-row: 1;
        width: auto;
        justify-self: end;
        gap: .45rem;
    }

    .theme-dot-group {
        padding: .28rem;
        gap: .28rem;
    }

    .theme-dot {
        width: 20px;
        height: 20px;
        min-height: 20px;
    }

    .profile-menu {
        width: auto;
    }

    .dashboard-top-actions {
        justify-items: stretch;
        margin-left: 0;
        width: 100%;
    }

    .modal-panel {
        width: calc(100vw - 1rem);
        height: fit-content;
        padding: 0.8rem;
    }

    .add-row-form {
        max-height: none;
    }

    .add-row-actions {
        justify-content: stretch;
    }

    .add-row-actions button {
        width: 100%;
    }

    .profile-menu summary {
        width: auto;
        min-height: 42px;
        justify-content: flex-start;
        padding: .35rem .45rem;
    }

    .profile-summary {
        min-width: 0;
        max-width: 112px;
    }

    .profile-summary strong,
    .profile-summary span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .profile-dropdown {
        left: auto;
        right: 0;
        width: min(230px, calc(100vw - 1.5rem));
    }

    .dashboard-insights-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-bar-chart {
        overflow-x: auto;
        grid-template-columns: repeat(auto-fit, minmax(46px, 1fr));
        padding-bottom: 0.35rem;
    }

}

@media (max-width: 640px) {
    .auth-shell {
        min-height: 0;
        padding: 0.55rem;
    }

    .auth-card {
        width: 100%;
        padding: 1rem;
    }

    .auth-scene {
        height: calc(100dvh - 1.1rem);
        padding: 5rem 0.65rem 0.65rem;
    }

    .auth-brand-strip {
        padding: 0.45rem 0.75rem;
    }

    .auth-brand-strip img {
        width: min(310px, 80vw);
        height: 52px;
    }

    .auth-card h1 {
        font-size: 1.55rem;
        margin-bottom: 0.75rem;
    }

    .auth-welcome {
        padding: 0.4rem 0.7rem 0;
    }

    .auth-welcome h2 {
        margin-bottom: 0.45rem;
        font-size: 1.35rem;
    }

    .auth-welcome p {
        font-size: 0.86rem;
        line-height: 1.35;
    }

    .auth-card input {
        min-height: 38px;
    }

    .auth-card button {
        min-height: 40px;
    }

    .alert {
        padding: 0.4rem 0.55rem;
        margin-bottom: 0.4rem;
        font-size: 0.8rem;
    }

    .admin-sidebar {
        padding: .45rem .9rem .9rem;
        gap: .9rem;
    }

    .admin-brand-logo {
        height: 52px;
    }

    .sidebar-scroll {
        gap: .85rem;
    }

    .admin-menu button,
    .admin-submenu a {
        padding: .65rem .75rem;
    }

    .dashboard-shell {
        padding: 0 .75rem .75rem;
    }

    .dashboard-top {
        margin: 0 -.75rem .85rem;
        padding: 0 .75rem .85rem 4rem;
    }

    .dashboard-top h1 {
        font-size: 1.55rem;
    }

    .profile-detail-list div,
    .profile-detail-list-compact div {
        grid-template-columns: 1fr;
        gap: 0.18rem;
    }

    .theme-choice-group {
        grid-template-columns: 1fr;
    }

    .metric-grid {
        grid-template-columns: 1fr;
        gap: .75rem;
    }

    .dashboard-panel {
        padding: .85rem;
    }

    .dashboard-panel-head {
        align-items: flex-start;
        flex-direction: column;
        gap: .25rem;
    }

    th,
    td {
        padding: .65rem;
    }

    .inline-form {
        align-items: stretch;
        flex-direction: column;
    }

    .inline-form select {
        min-width: 0;
    }

    .component-actions form {
        display: flex;
        margin-right: 0;
    }

    .component-actions button {
        width: 100%;
    }

    .modal-panel {
        width: calc(100vw - .75rem);
        max-height: calc(100dvh - .75rem);
    }

    .add-row-table table {
        min-width: 620px;
    }
}

/* Premium admin theme polish */
.admin-layout {
    background:
        radial-gradient(circle at 12% 8%, rgba(17, 163, 127, 0.1), transparent 24rem),
        radial-gradient(circle at 92% 4%, rgba(0, 91, 170, 0.11), transparent 28rem),
        linear-gradient(135deg, #f8fbff 0%, #f3faf7 55%, #eef7ff 100%);
}

.admin-sidebar {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(235, 249, 242, 0.94)),
        radial-gradient(circle at 35% 0%, rgba(0, 91, 170, 0.12), transparent 16rem);
    border-right: 1px solid rgba(191, 215, 203, 0.72);
    box-shadow: 18px 0 48px rgba(18, 58, 122, 0.08);
}

.admin-brand {
    position: sticky;
    top: 0;
    z-index: 3;
    margin: -1rem -1.1rem 0.65rem;
    padding: 1rem 1.25rem 0.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.78));
    backdrop-filter: blur(16px);
}

.admin-menu button,
.admin-submenu a,
.admin-submenu-parent {
    border: 1px solid transparent;
    border-radius: 11px;
    transition: transform 0.16s ease, background 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.admin-menu button:hover,
.admin-menu button.active,
.admin-submenu a:hover,
.admin-submenu a.active,
.admin-submenu-parent:hover,
.admin-submenu-parent.active {
    background: linear-gradient(135deg, #e0f7f1, #eef6ff);
    border-color: rgba(17, 163, 127, 0.16);
    box-shadow: 0 12px 26px rgba(17, 163, 127, 0.1);
    transform: translateX(2px);
}

.dashboard-shell {
    background: transparent;
}

.dashboard-top {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.72));
    border-bottom: 1px solid rgba(204, 222, 214, 0.72);
    box-shadow: 0 12px 34px rgba(18, 58, 122, 0.04);
}

.dashboard-top h1 {
    letter-spacing: -0.035em;
}

.theme-dot-group,
.profile-menu summary {
    border-color: rgba(207, 224, 216, 0.82);
    border-radius: 14px;
    box-shadow: 0 12px 30px rgba(18, 58, 122, 0.07);
}

.profile-avatar {
    background: linear-gradient(135deg, #0a7f63, #0089b7);
}

.table-wrap {
    overflow: hidden;
    border: 1px solid rgba(207, 224, 216, 0.86);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 22px 54px rgba(18, 58, 122, 0.08);
}

th {
    background: linear-gradient(180deg, #f6fcf9, #edf8f3);
}

.admin-users-page .users-role-metrics {
    margin-bottom: 1.1rem;
}

.admin-users-page .users-role-metric {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(203, 224, 214, 0.88);
    border-radius: 16px;
    background: linear-gradient(135deg, #ffffff, #f3fbf8);
    box-shadow: 0 18px 42px rgba(18, 58, 122, 0.07);
}

.admin-users-page .users-role-metric::after {
    content: "";
    position: absolute;
    inset: auto -26px -38px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: rgba(17, 163, 127, 0.12);
}

.admin-users-page .users-role-metric-total::after {
    background: rgba(0, 91, 170, 0.12);
}

.admin-users-page .users-role-metric-admin::after {
    background: rgba(245, 130, 32, 0.15);
}

.admin-users-page .users-role-metric strong {
    position: relative;
    z-index: 1;
    display: block;
    color: #06291f;
    font-size: 1.9rem;
    line-height: 1;
}

.admin-users-page .users-role-metric span {
    position: relative;
    z-index: 1;
    color: #61746c;
    font-weight: 900;
}

.admin-users-page .users-role-table-wrap {
    width: 100%;
    padding: 0;
    border-radius: 4px;
    background: #ffffff;
    overflow: auto;
}

.admin-users-page .users-role-table {
    width: 100%;
    min-width: 980px;
    border-collapse: separate;
    border-spacing: 4px 2px;
    table-layout: fixed;
    background: #ffffff;
}

.admin-users-page .users-role-table th {
    padding: 5px 10px;
    color: #ffffff;
    background: #58372a;
    border-bottom: 0;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    vertical-align: middle;
}

.admin-users-page .users-role-table th,
.admin-users-page .users-role-table td {
    height: 20px;
    box-sizing: border-box;
}

.admin-users-page .users-role-table td {
    padding: 3px 10px;
    color: #001334;
    background: #eee3d8;
    border-bottom: 0;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.15;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
}

.admin-users-page .users-role-table tbody tr {
    transition: none;
}

.admin-users-page .users-role-table tbody tr:nth-child(even) td {
    background: #f3ebe3;
}

.admin-users-page .users-role-table tbody tr:hover td {
    background: #e7dacd;
}

.admin-users-page .users-role-table th:nth-child(1),
.admin-users-page .users-role-table td:nth-child(1) {
    width: 70px;
    text-align: center;
    color: #001334;
    font-weight: 400;
}

.admin-users-page .users-role-table th:nth-child(2),
.admin-users-page .users-role-table td:nth-child(2) {
    width: 190px;
}

.admin-users-page .users-role-table th:nth-child(3),
.admin-users-page .users-role-table td:nth-child(3) {
    width: 290px;
}

.admin-users-page .users-role-table th:nth-child(4),
.admin-users-page .users-role-table td:nth-child(4) {
    width: 150px;
    color: #001334;
    font-weight: 400;
    text-transform: capitalize;
}

.admin-users-page .users-role-table th:nth-child(5),
.admin-users-page .users-role-table td:nth-child(5) {
    width: 200px;
}

.admin-users-page .users-role-table th:nth-child(6),
.admin-users-page .users-role-table td:nth-child(6) {
    width: 320px;
}

.admin-users-page .users-role-table td[colspan] {
    width: auto;
    padding: 8px 10px;
    text-align: center;
}

.admin-users-page .inline-form {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
}

.admin-users-page .inline-form select {
    width: 220px;
    min-width: 0;
    height: 24px;
    min-height: 24px;
    padding: 1px 28px 1px 8px;
    border-radius: 4px;
    background: #ffffff;
    font-size: 0.82rem;
    font-weight: 400;
    line-height: 1.1;
    text-transform: capitalize;
}

.admin-users-page .inline-form button {
    width: 60px;
    min-height: 24px;
    height: 24px;
    border-radius: 4px;
    padding: 0 10px;
    background: #3c50e0;
    box-shadow: none;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
}

.admin-users-page .inline-form button:hover {
    background: #2d3fc7;
}

.enquiries-download-filter {
    display: grid;
    grid-template-columns: repeat(2, minmax(190px, 240px)) minmax(240px, 1fr);
    gap: 0.75rem;
    align-items: end;
    margin: -0.25rem 0 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(207, 224, 216, 0.86);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(18, 58, 122, 0.06);
}

.enquiries-download-filter label {
    margin: 0;
    color: #314940;
    font-size: 0.82rem;
    font-weight: 900;
}

.enquiries-download-filter input {
    min-height: 42px;
    border-radius: 10px;
    font-weight: 800;
}

.enquiries-download-filter span {
    color: #62766d;
    font-weight: 800;
    line-height: 1.45;
}

@media (max-width: 900px) {
    .enquiries-download-filter {
        grid-template-columns: 1fr;
    }
}

/* TailAdmin-inspired premium admin layout */
:root {
    --admin-navy: #171f2e;
    --admin-navy-soft: #2b241f;
    --admin-blue: #58372a;
    --admin-blue-soft: #f3ebe3;
    --admin-cyan: #d7b7a4;
    --admin-page: #f4efe9;
    --admin-card: #ffffff;
    --admin-border: #ded2c8;
    --admin-muted: #6e635b;
    --admin-heading: #111827;
}

.admin-layout {
    background:
        linear-gradient(90deg, var(--admin-navy) 0 var(--sidebar-width), transparent var(--sidebar-width)),
        var(--admin-page);
}

.admin-sidebar {
    width: var(--sidebar-width);
    padding: 1.25rem 1rem;
    color: #eadfd7;
    background:
        radial-gradient(circle at 22% 0%, rgba(88, 55, 42, 0.42), transparent 15rem),
        linear-gradient(180deg, #171f2e 0%, #111827 58%, #16100d 100%);
    border-right: 0;
    box-shadow: 14px 0 35px rgba(15, 23, 42, 0.12);
}

.admin-brand {
    margin: -1.25rem -1rem 1.1rem;
    padding: 1.2rem 1.15rem 1rem;
    background: rgba(17, 24, 39, 0.42);
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    backdrop-filter: blur(16px);
}

.admin-brand-logo {
    height: 58px;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.22));
}

.sidebar-scroll::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.35);
}

.admin-menu,
.admin-submenu {
    gap: 0.3rem;
}

.admin-menu button,
.admin-submenu a,
.admin-submenu-parent {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0.7rem 0.8rem 0.7rem 2.15rem;
    color: #c8bdb5;
    background: transparent;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.admin-menu button::before,
.admin-submenu a::before,
.admin-submenu-parent::before {
    left: 0.85rem;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #8c7b71;
    box-shadow: 0 0 0 4px rgba(140, 123, 113, 0.10);
}

.admin-menu button:hover,
.admin-menu button.active,
.admin-submenu a:hover,
.admin-submenu a.active,
.admin-submenu-parent:hover,
.admin-submenu-parent.active {
    color: #ffffff;
    background: rgba(88, 55, 42, 0.42);
    border-color: rgba(215, 183, 164, 0.16);
    box-shadow: inset 3px 0 0 #d7b7a4, 0 12px 24px rgba(0, 0, 0, 0.16);
    transform: translateX(0);
}

.admin-menu button:hover::before,
.admin-menu button.active::before,
.admin-submenu a:hover::before,
.admin-submenu a.active::before,
.admin-submenu-parent:hover::before,
.admin-submenu-parent.active::before {
    background: var(--admin-cyan);
    box-shadow: 0 0 0 4px rgba(215, 183, 164, 0.16);
}

.admin-submenu-label {
    margin: 1.15rem 0 0.4rem;
    color: #9c8f85;
    font-size: 0.66rem;
    letter-spacing: 0.13em;
}

.admin-submenu-parent::after {
    color: #a8968a;
}

.admin-submenu-children {
    margin-left: 0.35rem;
    border-left: 1px solid rgba(148, 163, 184, 0.16);
}

.admin-submenu-children a {
    min-height: 36px;
    color: #b8aba2;
}

.dashboard-shell {
    min-width: 0;
    padding: 0 1.6rem 2rem;
    background: var(--admin-page);
}

.dashboard-top {
    min-height: 86px;
    margin: 0 -1.6rem 1.6rem;
    padding: 0.95rem 1.6rem;
    background: rgba(255, 250, 246, 0.94);
    border-bottom: 1px solid var(--admin-border);
    box-shadow: 0 8px 28px rgba(88, 55, 42, 0.08);
    backdrop-filter: blur(16px);
}

.dashboard-top h1 {
    color: var(--admin-heading);
    font-size: clamp(1.45rem, 2vw, 1.9rem);
    letter-spacing: -0.04em;
}

.dashboard-top p {
    color: var(--admin-muted);
    font-size: 0.92rem;
}

.theme-dot-group,
.profile-menu summary {
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.profile-avatar {
    background: linear-gradient(135deg, #58372a, #8f5f49);
}

.metric-grid {
    gap: 1.25rem;
}

.metric-card {
    position: relative;
    overflow: hidden;
    min-height: 108px;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    background: var(--admin-card);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.metric-card::before {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--admin-blue-soft);
}

.metric-card strong {
    position: relative;
    z-index: 1;
    color: #1e293b;
    font-size: 1.65rem;
    letter-spacing: -0.04em;
}

.metric-card span {
    position: relative;
    z-index: 1;
    color: var(--admin-muted);
    font-weight: 800;
}

.table-wrap,
.cms-editor,
.profile-card,
.dashboard-panel {
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    background: var(--admin-card);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

.table-wrap {
    overflow: auto;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    background: #ffffff;
}

th {
    position: sticky;
    top: 0;
    z-index: 1;
    padding: 0.95rem 1rem;
    color: #475569;
    background: #f8fafc;
    border-bottom: 1px solid var(--admin-border);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
}

td {
    padding: 0.9rem 1rem;
    color: #0f172a;
    border-bottom: 1px solid #edf2f7;
    vertical-align: middle;
}

tbody tr:hover td {
    background: #f8fbff;
}

input,
textarea,
select {
    min-height: 42px;
    border: 1px solid #d7deea;
    border-radius: 4px;
    background: #ffffff;
    color: #0f172a;
    font-weight: 700;
}

input:focus,
textarea:focus,
select:focus {
    border-color: var(--admin-blue);
    box-shadow: 0 0 0 3px rgba(88, 55, 42, 0.14);
    outline: 0;
}

.add-new-button,
.download-enquiries-btn,
.add-row-actions button,
.inline-form button,
.custom-alert-box button,
.enquiry-submit {
    border-radius: 4px;
    background: var(--admin-blue);
    box-shadow: 0 8px 18px rgba(88, 55, 42, 0.18);
}

.add-new-button:hover,
.download-enquiries-btn:hover,
.add-row-actions button:hover,
.inline-form button:hover,
.custom-alert-box button:hover,
.enquiry-submit:hover {
    background: #6b4435;
}

.dashboard-top,
html[data-admin-theme="dark"] .dashboard-top,
html[data-admin-theme="emerald"] .dashboard-top {
    align-items: center;
    min-height: 118px;
    padding-top: 1.05rem;
    padding-bottom: 1.05rem;
    background:
        linear-gradient(90deg, rgba(255, 250, 246, 0.98), rgba(250, 242, 235, 0.92)),
        #fffaf6;
}

.dashboard-top h1 {
    color: var(--admin-heading);
    letter-spacing: 0;
}

.dashboard-top p {
    color: var(--admin-muted);
    font-weight: 500;
}

.admin-profile-tools {
    gap: 0.55rem;
}

.theme-dot-group,
html[data-admin-theme="dark"] .theme-dot-group,
html[data-admin-theme="emerald"] .theme-dot-group {
    gap: 0.34rem;
    padding: 0.34rem;
    border-color: rgba(222, 210, 200, 0.96);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 12px 26px rgba(88, 55, 42, 0.1);
}

.theme-dot {
    width: 22px;
    min-height: 22px;
    height: 22px;
}

.profile-menu summary,
html[data-admin-theme="dark"] .profile-menu summary,
html[data-admin-theme="emerald"] .profile-menu summary {
    position: relative;
    min-height: 50px;
    min-width: 188px;
    gap: 0.62rem;
    padding: 0.34rem 2rem 0.34rem 0.42rem;
    border-color: rgba(222, 210, 200, 0.98);
    border-radius: 999px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(246, 237, 229, 0.94));
    box-shadow: 0 14px 30px rgba(88, 55, 42, 0.12);
}

.profile-menu summary::after {
    content: "";
    position: absolute;
    right: 0.78rem;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid #8f5f49;
    border-bottom: 2px solid #8f5f49;
    transform: translateY(-62%) rotate(45deg);
    transition: transform 0.18s ease;
}

.profile-menu[open] summary::after {
    transform: translateY(-35%) rotate(225deg);
}

.profile-avatar {
    width: 38px;
    height: 38px;
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 1px rgba(88, 55, 42, 0.16), 0 10px 20px rgba(88, 55, 42, 0.16);
}

.profile-summary {
    min-width: 96px;
}

.profile-summary strong {
    color: #2c201b;
    font-size: 0.9rem;
}

.profile-summary span,
.profile-dropdown span {
    color: #74675f;
}

.profile-dropdown,
html[data-admin-theme="dark"] .profile-dropdown,
html[data-admin-theme="emerald"] .profile-dropdown {
    border-color: rgba(222, 210, 200, 0.98);
    border-radius: 8px;
    background: #fffaf6;
    box-shadow: 0 20px 44px rgba(88, 55, 42, 0.18);
}

.profile-dropdown-head {
    background: #f3ebe3;
    border-bottom-color: #e5d8ce;
}

.profile-dropdown .profile-dropdown-link {
    color: #58372a;
    border-bottom-color: #eadfd7;
}

.profile-dropdown .profile-dropdown-link:hover,
.profile-dropdown a:hover {
    background: #f6eee7;
}

.profile-page-grid {
    gap: 0.9rem;
}

.profile-card,
html[data-admin-theme="dark"] .profile-card,
html[data-admin-theme="emerald"] .profile-card {
    border-color: rgba(222, 210, 200, 0.98);
    background: rgba(255, 250, 246, 0.98);
    box-shadow: 0 16px 34px rgba(88, 55, 42, 0.1);
}

.profile-card-main {
    background:
        linear-gradient(90deg, rgba(243, 235, 227, 0.62), rgba(255, 250, 246, 0.98) 42%),
        #fffaf6;
}

.profile-hero {
    gap: 1.05rem;
    border-bottom-color: #e5d8ce;
}

.profile-hero-avatar {
    width: 66px;
    height: 66px;
    border: 3px solid #fff;
    background: linear-gradient(135deg, #0a7f63, #58372a);
    box-shadow: 0 12px 26px rgba(88, 55, 42, 0.18);
}

.profile-upload-button,
html[data-admin-theme="dark"] .profile-upload-button,
html[data-admin-theme="emerald"] .profile-upload-button {
    border-color: #d7b7a4;
    background: #fffaf6;
    color: #58372a;
    box-shadow: 0 8px 18px rgba(88, 55, 42, 0.08);
}

.profile-upload-button:hover {
    background: #f3ebe3;
}

.profile-hero h2,
.profile-card-head h2 {
    color: #2c201b;
}

.profile-hero-body span,
.profile-card-head span,
.profile-detail-list dt {
    color: #74675f;
}

.profile-detail-list {
    gap: 0.58rem;
}

.profile-detail-list div {
    padding: 0.18rem 0;
}

.profile-detail-list dd {
    color: #111827;
}

.profile-upload-notice {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1200;
    max-width: min(360px, calc(100vw - 2rem));
    padding: 0.7rem 0.9rem;
    border: 1px solid #d7b7a4;
    border-radius: 8px;
    background: #fffaf6;
    color: #2c201b;
    box-shadow: 0 18px 44px rgba(88, 55, 42, 0.2);
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.25;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.45rem);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.profile-upload-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.profile-upload-notice.success {
    border-color: #94d3bc;
    background: #eef8f4;
    color: #0a5e4a;
}

.profile-upload-notice.error {
    border-color: #f2b8b8;
    background: #fff1f1;
    color: #8f1f1f;
}

.profile-avatar.has-profile-image,
.profile-hero-avatar.has-profile-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.admin-sidebar,
html[data-admin-theme="dark"] .admin-sidebar,
html[data-admin-theme="emerald"] .admin-sidebar {
    padding-top: 0;
}

.admin-brand,
html[data-admin-theme="dark"] .admin-brand,
html[data-admin-theme="emerald"] .admin-brand {
    margin: 0 -0.7rem 0;
    padding: 0 0.85rem 0.36rem;
    min-height: 0;
    align-items: center;
}

.admin-brand-logo {
    height: 46px;
}

.sidebar-scroll {
    padding-top: 0;
}

.admin-sidebar,
html[data-admin-theme="dark"] .admin-sidebar,
html[data-admin-theme="emerald"] .admin-sidebar {
    padding: 0 0.7rem 0.85rem;
}

.admin-brand {
    margin: 0 -0.7rem 0.24rem;
    padding: 0 0.85rem 0.42rem;
    min-height: 0;
}

.admin-brand-logo {
    height: 46px;
}

.sidebar-scroll {
    gap: 0.48rem;
    padding-top: 0;
    padding-right: 0.12rem;
}

.admin-menu,
.admin-submenu {
    gap: 0.08rem;
}

.sidebar-menu-form {
    margin: 0;
}

.admin-menu button,
.admin-submenu a,
.admin-submenu-parent,
html[data-admin-theme="dark"] .admin-menu button,
html[data-admin-theme="dark"] .admin-submenu a,
html[data-admin-theme="dark"] .admin-submenu-parent,
html[data-admin-theme="emerald"] .admin-menu button,
html[data-admin-theme="emerald"] .admin-submenu a,
html[data-admin-theme="emerald"] .admin-submenu-parent {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 28px;
    padding: 0.33rem 0.48rem 0.33rem 1.55rem;
    border-radius: 6px;
    font-size: 0.77rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: 0;
    overflow: hidden;
}

.admin-submenu-parent {
    padding-right: 1.35rem;
}

.sidebar-label-text {
    display: block;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.admin-menu button::before,
.admin-submenu a::before,
.admin-submenu-parent::before {
    content: none;
    display: none;
}

.sidebar-icon {
    position: absolute;
    left: 0.44rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    color: #d7b7a4;
    opacity: 0.9;
    pointer-events: none;
    flex: 0 0 auto;
}

.sidebar-icon svg {
    width: 13px;
    height: 13px;
}

.admin-menu button:hover .sidebar-icon,
.admin-menu button.active .sidebar-icon,
.admin-submenu a:hover .sidebar-icon,
.admin-submenu a.active .sidebar-icon,
.admin-submenu-parent:hover .sidebar-icon,
.admin-submenu-parent.active .sidebar-icon {
    color: #fff1e8;
    opacity: 1;
}

.admin-submenu-parent::after {
    position: absolute;
    right: 0.5rem;
    flex: 0 0 auto;
    font-size: 0.58rem;
    line-height: 1;
}

.admin-submenu-label {
    margin: 0.42rem 0 0.12rem;
    padding: 0 0.48rem;
    font-size: 0.6rem;
    line-height: 1.05;
    letter-spacing: 0.1em;
}

.admin-submenu-children {
    gap: 0.06rem;
    margin: 0.02rem 0 0.12rem;
    padding-left: 0.52rem;
}

.admin-submenu-children a {
    min-height: 24px;
    padding-top: 0.27rem;
    padding-bottom: 0.27rem;
    font-size: 0.73rem;
}

.admin-submenu-children .sidebar-icon {
    left: 0.42rem;
    width: 12px;
    height: 12px;
}

.admin-submenu-children .sidebar-icon svg {
    width: 12px;
    height: 12px;
}

.admin-menu button.active,
.admin-submenu a.active,
.admin-submenu-parent.active {
    border-radius: 6px;
}

.modal-panel {
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3);
}

.modal-head {
    margin: -0.2rem -0.2rem 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--admin-border);
}

.modal-head h2,
.view-field strong {
    color: var(--admin-heading);
}

.edit-fields-grid,
.add-row-form .edit-fields-grid {
    gap: 0.9rem 1rem;
}

.edit-fields-grid label,
.add-row-form label {
    color: #1e293b;
    font-size: 0.9rem;
    font-weight: 900;
}

.view-field {
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    background: #f8fafc;
}

.enquiries-download-filter {
    border-color: var(--admin-border);
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

@media (max-width: 900px) {
    .admin-layout {
        background: var(--admin-page);
    }

    .dashboard-shell {
        padding-inline: 0.85rem;
    }

    .dashboard-top {
        margin-inline: -0.85rem;
        padding-inline: 0.85rem;
    }
}

/* Mode-aware TailAdmin polish */
html[data-admin-theme="dark"] {
    --admin-page: #f4efe9;
    --admin-card: #ffffff;
    --admin-border: #ded2c8;
    --admin-muted: #6e635b;
    --admin-heading: #111827;
    --admin-blue: #58372a;
    --admin-blue-soft: #f3ebe3;
}

html[data-admin-theme="dark"] body,
html[data-admin-theme="dark"] .dashboard-shell {
    background: var(--admin-page);
    color: var(--admin-heading);
}

html[data-admin-theme="dark"] .admin-layout {
    background:
        linear-gradient(90deg, #171f2e 0 var(--sidebar-width), transparent var(--sidebar-width)),
        var(--admin-page);
    color: var(--admin-heading);
}

html[data-admin-theme="dark"] .admin-sidebar {
    color: #eadfd7;
    background:
        radial-gradient(circle at 22% 0%, rgba(88, 55, 42, 0.42), transparent 15rem),
        linear-gradient(180deg, #171f2e 0%, #111827 58%, #16100d 100%);
    border-right: 0;
}

html[data-admin-theme="dark"] .admin-brand {
    background: rgba(15, 23, 42, 0.38);
    border-bottom-color: rgba(148, 163, 184, 0.16);
}

html[data-admin-theme="dark"] .admin-menu button,
html[data-admin-theme="dark"] .admin-submenu a,
html[data-admin-theme="dark"] .admin-submenu-parent {
    color: #c8bdb5;
    background: transparent;
    border-color: transparent;
}

html[data-admin-theme="dark"] .admin-menu button:hover,
html[data-admin-theme="dark"] .admin-menu button.active,
html[data-admin-theme="dark"] .admin-submenu a:hover,
html[data-admin-theme="dark"] .admin-submenu a.active,
html[data-admin-theme="dark"] .admin-submenu-parent:hover,
html[data-admin-theme="dark"] .admin-submenu-parent.active {
    color: #ffffff;
    background: rgba(88, 55, 42, 0.42);
    box-shadow: inset 3px 0 0 #d7b7a4, 0 12px 24px rgba(0, 0, 0, 0.18);
}

html[data-admin-theme="dark"] .dashboard-top {
    background: rgba(255, 250, 246, 0.94);
    border-bottom-color: var(--admin-border);
}

html[data-admin-theme="dark"] .dashboard-top h1,
html[data-admin-theme="dark"] .dashboard-section-head h2,
html[data-admin-theme="dark"] .metric-card strong,
html[data-admin-theme="dark"] .profile-summary strong,
html[data-admin-theme="dark"] td {
    color: var(--admin-heading);
}

html[data-admin-theme="dark"] .dashboard-top p,
html[data-admin-theme="dark"] .metric-card span,
html[data-admin-theme="dark"] .profile-summary span,
html[data-admin-theme="dark"] .enquiries-download-filter span {
    color: var(--admin-muted);
}

html[data-admin-theme="dark"] .metric-card,
html[data-admin-theme="dark"] .table-wrap,
html[data-admin-theme="dark"] .cms-editor,
html[data-admin-theme="dark"] .profile-card,
html[data-admin-theme="dark"] .dashboard-panel,
html[data-admin-theme="dark"] .enquiries-download-filter,
html[data-admin-theme="dark"] .modal-panel,
html[data-admin-theme="dark"] .view-field {
    border-color: var(--admin-border);
    background: var(--admin-card);
    color: var(--admin-heading);
}

html[data-admin-theme="dark"] th {
    background: #f8fafc;
    color: #334155;
}

html[data-admin-theme="dark"] td {
    border-bottom-color: #edf2f7;
}

html[data-admin-theme="dark"] tbody tr:hover td {
    background: #f8fbff;
}

html[data-admin-theme="dark"] input,
html[data-admin-theme="dark"] textarea,
html[data-admin-theme="dark"] select,
html[data-admin-theme="dark"] .theme-choice-group button,
html[data-admin-theme="dark"] .profile-upload-button {
    border-color: #d7deea;
    background: #ffffff;
    color: #0f172a;
}

html[data-admin-theme="dark"] .theme-dot-group,
html[data-admin-theme="dark"] .profile-menu summary,
html[data-admin-theme="dark"] .profile-dropdown {
    border-color: var(--admin-border);
    background: #ffffff;
    color: var(--admin-heading);
}

html[data-admin-theme="dark"] .profile-dropdown span {
    color: var(--admin-muted);
}

html[data-admin-theme="dark"] .profile-dropdown a {
    color: var(--admin-heading);
}

html[data-admin-theme="dark"] .theme-dot-dark.is-active,
html[data-admin-theme="dark"] .theme-dot.is-active {
    border-color: #f97316;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

html[data-admin-theme="emerald"] {
    --admin-page: #effaf6;
    --admin-card: #ffffff;
    --admin-border: #cfe6db;
    --admin-muted: #5f766d;
    --admin-heading: #0d2d24;
    --admin-blue: #0a8f70;
    --admin-blue-soft: #e2f8f0;
}

html[data-admin-theme="emerald"] body,
html[data-admin-theme="emerald"] .dashboard-shell {
    background: var(--admin-page);
}

html[data-admin-theme="emerald"] .admin-layout {
    background:
        linear-gradient(90deg, #e5f6ef 0 var(--sidebar-width), transparent var(--sidebar-width)),
        var(--admin-page);
}

html[data-admin-theme="emerald"] .admin-sidebar {
    color: #51645d;
    background:
        radial-gradient(circle at 25% 0%, rgba(10, 143, 112, 0.14), transparent 15rem),
        linear-gradient(180deg, #f5fffb 0%, #ddf4eb 100%);
    border-right: 1px solid var(--admin-border);
}

html[data-admin-theme="emerald"] .admin-brand {
    background: rgba(255, 255, 255, 0.62);
    border-bottom-color: var(--admin-border);
}

html[data-admin-theme="emerald"] .admin-menu button,
html[data-admin-theme="emerald"] .admin-submenu a,
html[data-admin-theme="emerald"] .admin-submenu-parent {
    color: #6d8178;
}

html[data-admin-theme="emerald"] .admin-menu button:hover,
html[data-admin-theme="emerald"] .admin-menu button.active,
html[data-admin-theme="emerald"] .admin-submenu a:hover,
html[data-admin-theme="emerald"] .admin-submenu a.active,
html[data-admin-theme="emerald"] .admin-submenu-parent:hover,
html[data-admin-theme="emerald"] .admin-submenu-parent.active {
    color: #ffffff;
    background: #bcd5f8;
    box-shadow: inset 3px 0 0 #3c50e0, 0 12px 24px rgba(60, 80, 224, 0.14);
}

html[data-admin-theme="emerald"] .metric-card,
html[data-admin-theme="emerald"] .table-wrap,
html[data-admin-theme="emerald"] .cms-editor,
html[data-admin-theme="emerald"] .profile-card,
html[data-admin-theme="emerald"] .dashboard-panel,
html[data-admin-theme="emerald"] .enquiries-download-filter,
html[data-admin-theme="emerald"] .theme-dot-group,
html[data-admin-theme="emerald"] .profile-menu summary,
html[data-admin-theme="emerald"] .profile-dropdown {
    border-color: var(--admin-border);
    background: var(--admin-card);
}

/* Final warm admin theme aligned with compact beige tables */
:root,
html[data-admin-theme="dark"],
html[data-admin-theme="emerald"] {
    --admin-navy: #171f2e;
    --admin-blue: #58372a;
    --admin-blue-soft: #f3ebe3;
    --admin-cyan: #d7b7a4;
    --admin-page: #f4efe9;
    --admin-card: #ffffff;
    --admin-border: #ded2c8;
    --admin-muted: #6e635b;
    --admin-heading: #111827;
}

body,
html[data-admin-theme="dark"] body,
html[data-admin-theme="emerald"] body,
.dashboard-shell,
html[data-admin-theme="dark"] .dashboard-shell,
html[data-admin-theme="emerald"] .dashboard-shell {
    background: var(--admin-page);
}

.admin-layout,
html[data-admin-theme="dark"] .admin-layout,
html[data-admin-theme="emerald"] .admin-layout {
    background:
        linear-gradient(90deg, #171f2e 0 var(--sidebar-width), transparent var(--sidebar-width)),
        var(--admin-page);
}

.admin-sidebar,
html[data-admin-theme="dark"] .admin-sidebar,
html[data-admin-theme="emerald"] .admin-sidebar {
    color: #eadfd7;
    background:
        radial-gradient(circle at 22% 0%, rgba(88, 55, 42, 0.42), transparent 15rem),
        linear-gradient(180deg, #171f2e 0%, #111827 58%, #16100d 100%);
    border-right: 0;
}

.dashboard-top,
html[data-admin-theme="dark"] .dashboard-top,
html[data-admin-theme="emerald"] .dashboard-top {
    background: rgba(255, 250, 246, 0.94);
    border-bottom-color: var(--admin-border);
    box-shadow: 0 8px 28px rgba(88, 55, 42, 0.08);
}

.admin-menu button,
.admin-submenu a,
.admin-submenu-parent,
html[data-admin-theme="dark"] .admin-menu button,
html[data-admin-theme="dark"] .admin-submenu a,
html[data-admin-theme="dark"] .admin-submenu-parent,
html[data-admin-theme="emerald"] .admin-menu button,
html[data-admin-theme="emerald"] .admin-submenu a,
html[data-admin-theme="emerald"] .admin-submenu-parent {
    color: #c8bdb5;
}

.admin-menu button:hover,
.admin-menu button.active,
.admin-submenu a:hover,
.admin-submenu a.active,
.admin-submenu-parent:hover,
.admin-submenu-parent.active,
html[data-admin-theme="dark"] .admin-menu button:hover,
html[data-admin-theme="dark"] .admin-menu button.active,
html[data-admin-theme="dark"] .admin-submenu a:hover,
html[data-admin-theme="dark"] .admin-submenu a.active,
html[data-admin-theme="dark"] .admin-submenu-parent:hover,
html[data-admin-theme="dark"] .admin-submenu-parent.active,
html[data-admin-theme="emerald"] .admin-menu button:hover,
html[data-admin-theme="emerald"] .admin-menu button.active,
html[data-admin-theme="emerald"] .admin-submenu a:hover,
html[data-admin-theme="emerald"] .admin-submenu a.active,
html[data-admin-theme="emerald"] .admin-submenu-parent:hover,
html[data-admin-theme="emerald"] .admin-submenu-parent.active {
    color: #ffffff;
    background: rgba(88, 55, 42, 0.42);
    border-color: rgba(215, 183, 164, 0.16);
    box-shadow: inset 3px 0 0 #d7b7a4, 0 12px 24px rgba(0, 0, 0, 0.16);
    transform: translateX(0);
}

.profile-avatar {
    background: linear-gradient(135deg, #58372a, #8f5f49);
}

:root,
html[data-admin-theme="dark"],
html[data-admin-theme="emerald"] {
    --admin-header-height: 88px;
}

.dashboard-top,
html[data-admin-theme="dark"] .dashboard-top,
html[data-admin-theme="emerald"] .dashboard-top {
    box-sizing: border-box;
    height: var(--admin-header-height);
    min-height: var(--admin-header-height);
}

.admin-brand,
html[data-admin-theme="dark"] .admin-brand,
html[data-admin-theme="emerald"] .admin-brand {
    box-sizing: border-box;
    height: var(--admin-header-height);
    min-height: var(--admin-header-height);
    margin: 0 -0.7rem 0.18rem;
    padding: 0 0.85rem;
    align-items: center;
}

.admin-brand-logo {
    height: 38px;
}

.dashboard-top h1,
html[data-admin-theme="dark"] .dashboard-top h1,
html[data-admin-theme="emerald"] .dashboard-top h1 {
    font-size: 1.65rem;
    line-height: 1.05;
}

.dashboard-top p,
html[data-admin-theme="dark"] .dashboard-top p,
html[data-admin-theme="emerald"] .dashboard-top p {
    margin-top: 0.28rem;
    font-size: 0.9rem;
    line-height: 1.2;
}

.profile-menu summary,
html[data-admin-theme="dark"] .profile-menu summary,
html[data-admin-theme="emerald"] .profile-menu summary {
    min-height: 44px;
}

.add-new-button,
.download-enquiries-btn,
.add-row-actions button,
.inline-form button,
.custom-alert-box button,
.enquiry-submit {
    background: #58372a;
    box-shadow: 0 8px 18px rgba(88, 55, 42, 0.18);
}

.add-new-button:hover,
.download-enquiries-btn:hover,
.add-row-actions button:hover,
.inline-form button:hover,
.custom-alert-box button:hover,
.enquiry-submit:hover {
    background: #6b4435;
}
