

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #fff;
    color: var(--text);
    line-height: 1.5;
    font-family: 'Open Sans', sans-serif;
}

a {
    color: var(--link-color);
}

a:hover {
    color: var(--link-hover-color);
}

h1,
h2,
h3 {
    color: var(--heading-color);
}
h2 {
    margin: 20px auto 0px;
}
hr {
    opacity: .2;
}
.muted {
    color: var(--muted);
}

.small {
    font-size: 0.85em;
}

.mono {
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ---- Custom Select Dropdown Arrow ---- */
select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12.42 8.46'%3E%3Cpath d='M.91,0h10.59c.76,0,1.19.88.71,1.48l-5.3,6.64c-.37.46-1.06.46-1.43,0L.2,1.48c-.48-.6-.05-1.48.71-1.48Z' fill='%23222222'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px 8px;
    padding-right: 34px;
    cursor: pointer;
}

select::-ms-expand {
    display: none;
}

/* ---- Public ---- */
.public-topbar {
    background: #fff;
    color: var(--header-text);
    padding: 0;
    display: flex;
    gap: 0;
}
.public-topbar .nav-logo,
.public-topbar .nav-search {
    width: 50%;
}
.nav-search {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 600px;
    margin: auto;
    align-items: center;
}
.nav-search > * {
    width: 50%;
}
.nav-search > p {
    font-weight: bold;
    line-height: 1.2;
    font-size: 14px;
}
.public-topbar .brand {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.public-topbar .nav-logo > div {
    float: right;
    width: 100%;
    max-width: 720px;
    padding: 15px;
    display: flex;
}
.public-topbar .nav-logo > div a {
    padding: 0 20px 0 0;
    border-right: 1px solid #222;
    margin-right: 20px;
}
.public-topbar .nav-logo > div .tagline {
        width: 100%;
    max-width: 200px;
    font-size: 14px;
    line-height: 1.2;
}
.nav-search > div p {
    width: 100%;
        max-width: 290px;
    font-size: 14px;
    line-height: 1.2;
    padding: 0 10px 0 0;
    margin: 0;
    color: #fff;
    flex: 0 0 290px;
}
.nav-search .search-form {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0;
}

.nav-search .search-form input[type="text"] {
    width: 100%;
    max-width: 400px;
    border-radius: 100px;
    position: relative;
    z-index: 1;
    border: 2px solid var(--primary_color);
    height: 40px;
}
.nav-search .search-form button {
    width: 36px;
    height: 36px;
    border-radius: 100px;
    overflow: hidden;
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    min-width: auto;
    z-index: 10;
    padding: 0;
    background: var(--primary_light_color);
}
.nav-search .search-form button img {
    width: 20px;
    height: 20px;
}

.public-topbar .nav-search > div {
    background: var(--primary_color);
    display: flex;
    justify-content: start;
    padding: 5px 30px;
    display: flex;
    align-items: center;
        max-width: 720px;
        width: 100%;
}
.brand-logo {
    height: 36px;
    width: auto;
}

.public-topbar .tagline {
    color: var(--muted);
    font-size: 0.9rem;
}

.notice-strip {
    background: var(--secondary_color);
    color: #fff;
    padding: 0.6rem 2rem;
    font-size: 12px;
    text-align: center;
}
.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 0 30px rgba(0,0,0,.4);
}
.fixed-header-spacer {
    position: relative;
    display: block;
    width: 100%;
    height: 104px;
}

.public-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 180px);
}

.public-footer {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
    color: #fff;
    font-size: 0.85rem;
    background: var(--black_color);
}
.public-footer p {
    color: #fff;
}
.public-footer a {
    color: var(--tertiary_color);
}
.public-footer > div {
    width: 100%;
    max-width: 1440px;
    margin: auto;
    display: flex;
    gap: 30px;
    align-items: end;
}
.footer-logo-wrap {
    flex: 0 0 300px;
    text-align: center;
    padding: 0 40px;
}
.footer-logo-wrap hr {
    margin: 20px 0 20px;
    opacity: .2;
}
.brand-footer-logo {
/* max-height: 40px; */
    width: 100%;
    display: inline-block;
}
.footer-link-wrap {
    flex: 1;
	margin-bottom: 2.25rem;
}
.footer-links a {
    margin-right: 1.5rem;
}

.eifu-symbol {
    height: 1.2em;
    vertical-align: middle;
}

.search-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.search-form input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid var(--border);
    border-radius: 4px;
}

.product-list {
    list-style: none;
    padding: 0;
        display: flex;
    gap: 2%;
    flex-wrap: wrap;
}
.product-list li {
    width: 23.5%;
    margin-bottom: 10px;
}
.product-list li a {
    padding: 20px 30px;
    border-radius: 16px;
    margin-bottom: 0.6rem;
    box-shadow: 0 0 0px rgba(0,0,0,0.4);
    text-decoration: none;
    text-align: center;
    transition: all .4s linear;
}
.product-list li a:hover {
    background: var(--panel-bg);
    box-shadow: 0 0 20px rgba(0,0,0,0.4);
}

.product-list a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.product-list .product-title {
    color: var(--text);
    font-size: 24px;
}
.product-list .product-model {
    color: var(--text);
    font-size: 16px;
    background: var(--primary_light_color);
    border-radius: 100px;
    padding: 10px 20px;
    width: 90%;
    margin: 5px auto 10px;
}
.product-list .product-link {
    font-size: 12px;
    text-decoration: underline;
}
/* ---- Admin ---- */
body.admin {
    background: var(--bg);
}
.topbar-wrapper {
    background: var(--admin-header-bg);
    position: relative;
}
.admin-topbar {
    background: var(--admin-header-bg);
    color: var(--admin-header-text);
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 1440px;
    margin: auto;
    justify-content: space-between;
}
.admin-nav-wrap {
    display: flex;
    align-items: center;
}
.admin-nav-inner {
    display: flex;
    align-items: center;
}
span.acct-name {
    text-transform: uppercase;
    text-align: right;
    display: block;
    margin: 0;
    line-height: 1;
    font-weight: 600;
    font-size: 16px;
}
span.acct-role {
    text-transform: capitalize;
    text-align: right;
    display: block;
    margin: 0;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
}
.signout-icon path {
    fill: #fff;
}
.signout-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.admin-nav-wrap nav {
    padding-right: 30px;
    margin-right: 30px;
    border-right: 1px solid rgba(255, 255, 255, .4);
    padding-top: 10px;
    padding-bottom: 10px;
}

.admin-menu-toggle {
        display: none;
    background: transparent;
    border: 0px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    align-items: center;
    gap: 0px;
    min-width: 50px;
    height: 50px;
}
.admin-menu-toggle:hover {
    background: transparent;
}

.admin-menu-toggle .hamburger {
    width: 18px;
    height: 2px;
    background: #fff;
    display: block;
    margin: 3px 0;
}
.open .admin-menu-toggle .hamburger:nth-of-type(2) {
    opacity: 0;
}
.open .admin-menu-toggle .hamburger:nth-of-type(3) {
    transform-origin: center;
    transform: rotate(-45deg) translate(3px, -5px);
}
.open .admin-menu-toggle .hamburger:nth-of-type(1) {
    transform-origin: center;
    transform: rotate(45deg) translate(6px, 8px);
}
.admin-topbar .brand a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.admin-topbar .brand-logo {
    height: 30px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.admin-topbar .admin-badge {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.admin-topbar nav {
    display: flex;
    gap: 1.2rem;
    flex: 1;
}

.admin-topbar nav a {
    color: #cfe3ee;
    text-decoration: none;
    font-size: 0.92rem;
}
.admin-topbar nav a.active {
    color: #fff;
    font-weight: bold;
}
.admin-topbar nav a:hover {
    color: #fff;
}

.admin-topbar .account {
    color: #cfe3ee;
    font-size: 0.85rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.admin-topbar .account a {
    color: #fff;
}

.admin-content {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.5rem;
}

.admin-footer {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 14px;
}

/* ---- Shared components ---- */
.panel {
    background: var(--panel-bg);
    border-radius: 8px;
    padding: .4rem 0rem;
    margin-bottom: 1.5rem;
}
.product-columns {
    display: flex;
    gap: 50px;
    justify-content: space-between;
}
.product-columns .left {
    width: 64%;
    flex: 0 0 64%;
}
.product-columns .right {
    width: 36%;
    flex: 0 0 36%;
    background: #222;
    color: #fff;
    padding: 40px;
    margin: -40px -40px -40px 0;
}
.product-columns .right h2 {
    color: #fff;
    margin: 0 0 20px;
}
.product-columns .left h2 {
    margin: 0 0 20px;
}
form.product-form .field-group-half {
    width: calc(50% - 10px);
}
form.product-form .field-group-third {
    width: calc(33% - 10px);
}
form.product-form .field-group-two-third {
    width: calc(66% - 10px);
}
form.product-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}
form.product-form .field-group-full {
    margin: 0;
}
.product-form select {
    width: 100%;
    padding: 0.55rem 34px 0.55rem 14px;
    border: 1px solid var(--primary);
    border-radius: 20px;
    font-size: 0.95rem;
    background-color: white;
    transition: border-color 0.2s ease;
    height: 40px;
}
.product-form select:not([multiple]) {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12.42 8.46'%3E%3Cpath d='M.91,0h10.59c.76,0,1.19.88.71,1.48l-5.3,6.64c-.37.46-1.06.46-1.43,0L.2,1.48c-.48-.6-.05-1.48.71-1.48Z' fill='%23222222'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px 8px;
    cursor: pointer;
}
.product-form .floating-label-group select.lg,
.product-form .floating-label-group textarea.lg {
    height: 100px;
    border-radius: 10px;
}
.alert {
    padding: 0.7rem 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #e6f4ea;
    color: var(--success);
    border: 1px solid #b7dfc2;
}

.alert-error {
    background: #fbe9e7;
    color: var(--danger);
    border: 1px solid #f2c1bc;
}

.alert-info {
    background: #eaf3f8;
    color: var(--primary-dark);
    border: 1px solid #cfe3ee;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid label {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-grid .full-width,
.form-grid label.full-width,
.form-grid div.full-width {
    grid-column: 1 / -1;
}

.form-grid div.full-width {
    margin-top: 0.5rem;
}

.form-grid label.checkbox {
    flex-direction: row;
    align-items: center;
    font-weight: 400;
    gap: 0.5rem;
}

.form-grid input,
.form-grid select,
.form-grid textarea,
.inline-form input,
.inline-form select {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 0.95rem;
}

.form-grid select:not([multiple]),
.inline-form select:not([multiple]) {
    padding-right: 32px;
}

.inline-form {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.6rem;
}

button,
.btn-primary {
    background: var(--button-color);
    color: var(--button-text-color);
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: 100px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-block;
    min-width: 100px;
}

button:hover,
.btn-primary:hover,
.data-table a.btn-primary:hover,
a.btn-primary:hover,
a.btn-primary:focus,
.data-table a.btn-primary:focus {
    background: var(--button-hover-color);
    color: var(--button-text-color) !important;
}

.btn-danger {
    background: var(--danger);
}

.btn-link-danger {
    background: none;
    border: none;
    color: var(--danger);
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: 0.85rem;
}
.download-btn {
    background: var(--button-color);
    color: var(--button-text-color);
    position: relative;
    width: 28px;
    height: 28px;
    padding: 4px;
    border-radius: 50%;
    display: inline-block;
}
.download-btn .download-icon {
    width: 14px;
    height: 14px;

}
table.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.8rem 0;
}

table.data-table th,
table.data-table td {
    text-align: left;
    padding: 10px 15px;
    font-size: 0.9rem;
}
table.data-table th,
table.data-table tbody td {
    text-align: center;
}
table.data-table:not(.admin) tbody td:nth-of-type(1) {
    font-weight: bold;
    text-align: left;
}
table.data-table:not(.admin) tbody td.release-note {
    font-weight: normal;
}
table.data-table.admin tbody td:nth-of-type(1) {
    text-align: left;
}
table.data-table thead th:nth-of-type(1) {
    text-align: left;
}
table.data-table th {
    color: #ababab;
    font-weight: 400;
    font-size: 12px;
}
table.data-table.admin th {
    color: #fff;
    font-size: 14px;
    background: #222;
}
table.data-table:not(.w-notes):not(.admin) tbody tr:nth-of-type(2n + 1) {
    background: var(--primary_light_color);
}
table.data-table.admin:not(.w-notes) tbody tr {
    background: #fff;
}
table.data-table.admin:not(.w-notes) tbody tr:nth-of-type(2n) {
    background: #efefef;
}
table.data-table.w-notes tbody tr:nth-of-type(4n + 2),
table.data-table.w-notes tbody tr:nth-of-type(4n + 1) {
    background: var(--primary_light_color);
}
table.data-table.w-notes.admin tbody tr:nth-of-type(4n + 2),
table.data-table.w-notes.admin tbody tr:nth-of-type(4n + 1) {
    background: #efefef;
}

table.data-table tbody .btn-primary {
    background: var(--button-color);
    color: var(--button-text-color);
    border: none;
    padding: 3px 20px;
    border-radius: 100px;
    cursor: pointer;
    font-size: 12px;
    text-decoration: none;
    display: inline-block;
    min-width: 100px;
}
.version-history a {
    font-size: 12px;
}
table.kv-table th {
    text-align: left;
    color: var(--muted);
    padding: 0.35rem 1rem 0.35rem 0;
    vertical-align: top;
}

table.kv-table td {
    padding: 0.35rem 0;
}
.product-wrapper {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 50px;
    justify-content: space-between;
}
.product-wrapper .product-left {
    flex: 1;
}
.product-wrapper .product-right {
    flex: 0 0 300px;
}
.side-panel {
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
}
.side-panel .side-top {
    background: #222;
    padding: 30px;
    color: #fff;
}
.side-panel .side-bottom {
    background: #fff;
    padding: 30px;
    color: #222;
}
.side-panel .side-top h2 {
    color: #fff;
    font-size: 18px;
    margin: 0 0 10px;
}
.side-panel .side-bottom h2 {
    color: #222;
    font-size: 18px;
    margin: 0 0 10px;
}
.side-panel .side-top p {
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
}
.side-panel .side-bottom p {
    color: #222;
    font-size: 14px;
    line-height: 1.2;
}
.side-panel .side-top .cta-wrap {
    text-align: center;
}
.side-panel .side-top .cta-wrap .btn-primary {
    background: var(--tertiary_color);
    color: #222;
    font-weight: 600;
}
.input-wrapper .icon-wrapper {
    width: 36px;
    height: 36px;
    padding: 5px;
    border-radius: 100%;
    background: var(--primary_light_color);
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 10;
}
.input-wrapper .icon-wrapper svg{
    width: 26px;
    height: 26px;
    padding: 0px;
}
.input-wrapper input {
    width: 100%;
    height: 40px;
    border-radius: 100px;
    border: 2px solid var(--primary_color);
    padding: 0 15px;
}
.input-wrapper {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}
.filter-panel {
    margin: 1.5rem 0; 
    padding: 0; 
    background: #fff; 
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    border-radius: 100px; 
    display: flex; 
    gap: 0; 
    align-items: center; 
    flex-wrap: wrap;
    overflow: hidden;
        justify-content: space-between;
}
.filter-panel .filter-panel-title {
    background: #222;
    color: #fff;
    margin: 0;
    padding: 1rem 1.2rem;
    min-width: 16%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.filter-panel .filter-panel-title a {
    color: var(--tertiary_color);
    font-size: 0.85rem; 
    text-decoration: underline; 
    margin-left: auto;
}
.filter-panel .filter-panel-title a span {
    text-decoration: none;
    color: #222;
    border-radius: 100%;
    width: 12px;
    height: 12px;
    background: var(--tertiary_color);
    font-size: 10px;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    line-height: 12px;
    margin-right: 5px;
}
.filter-panel-inputs select {
    width: 100%;
    border: 2px solid var(--primary_color);
    border-radius: 100px;
    padding: 5px 34px 5px 14px;
    min-height: 40px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12.42 8.46'%3E%3Cpath d='M.91,0h10.59c.76,0,1.19.88.71,1.48l-5.3,6.64c-.37.46-1.06.46-1.43,0L.2,1.48c-.48-.6-.05-1.48.71-1.48Z' fill='%23222222'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 11px 8px;
    cursor: pointer;
}
.filter-panel-inputs {
    flex: 0 0 41%;
    padding:  0 15px;
}
.back-link a, a.back-link {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    text-decoration: none;
    opacity: 1;
}
.small-text {
    font-size: 14px;
}
.request-form {
    display: flex;
    gap: 1.5%;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1000px;
    margin: auto;
}
.field-group-full {
    width: 100%;
    margin: 0 0 20px;
}
.field-group-third {
    width: 32.333%;
    margin: 0 0 20px;
}
.badge {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    background: #e0e7ec;
}

.status-published {
    background: #d9f0df;
    color: #084018;
}

.status-pending_approval {
    background: #fdedd3;
    color: #5c3a00;
}

.status-draft {
    background: #e0e7ec;
    color: var(--text);
}

.status-rejected {
    background: #fbe0dd;
    color: #7a100a;
}

.status-archived {
    background: #e5e5e5;
    color: #1f2937;
}

/* Ensure table rows retain high-contrast readable dark text across all cells */
tr.status-published,
tr.status-pending_approval,
tr.status-draft,
tr.status-rejected,
tr.status-archived {
    color: var(--text);
}

tr.row-danger {
    background: #fdefee;
}

tr.row-warn {
    background: #fef8ec;
}

.stat-grid {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    margin-left: -40px;
    margin-top: -40px;
    margin-right: -40px;
}

.stat-card {
    background: var(--panel-bg);
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    border-radius: 0px;
    padding: 1rem;
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex: 0 25%;
    justify-content: start;
    align-items: center;
}
.stat-card:last-child {
    border-right: none;
}
.stat-card .stat-num {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: var(--primary_color);
    width: 50px;
    height: 50px;
    text-align: center;
    display: block;
    border-radius: 100px;
    flex: 0 0 50px;
    line-height: 50px;
}

.stat-card.stat-warn .stat-num {
    background: #efbb00;
}

.stat-card.stat-danger .stat-num {
    background: #9b0013;
}

.tabs {
    margin: 1rem 0;
    display: flex;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}

.tabs a {
    padding: 0.5rem 0.2rem;
    text-decoration: none;
    color: var(--muted);
    border-bottom: 2px solid transparent;
}

.tabs a.active {
    color: var(--primary-dark);
    border-color: var(--primary);
    font-weight: 600;
}

.pagination {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
    justify-content: center;
}
nav.pagination .prev .prev-icon {
    width: 10px;
    transform-origin: center;
    transform: rotate(90deg);
}
nav.pagination .prev {
    display: flex;
    gap: 5px;
    text-transform: uppercase;
    text-decoration: none;
    color: #222;
    font-size: 12px;
    opacity: .5;
}
nav.pagination .next {
    display: flex;
    gap: 5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary_color);
    font-size: 12px;
    opacity: 1;
}
nav.pagination .next .next-icon {
    width: 10px;
    transform-origin: center;
    transform: rotate(-90deg);
}
nav.pagination .next .next-icon path {
    fill: var(--primary_color);
}
/* ---- Auth page ---- */
body.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
    background: var(--auth-bg, linear-gradient(0deg, rgba(129, 59, 228, 1) 0%, rgba(255, 255, 255, 1) 60%));
}

.auth-box {
    background: var(--panel-bg);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 2rem;
    width: 100%;
    max-width: 680px;
    box-sizing: border-box;
    box-shadow: 0 0 50px 0 rgba(0, 0, 0, 0.4);
}
.auth-box h1 {
    text-align: center;
    font-size: 18px;
    color: #080b62;
    background-color: #e6e7ef;
    margin: 0 -2rem 40px;
}
.single-model-title {
    text-align: center;
    color: var(--primary_color);
    font-size: 36px;
    margin: 0 auto 10px;
    line-height: 1;
}
.single-model-title span {
    font-size: 16px;
    vertical-align: middle;
    color: #222;
    font-weight: 400;
    
}
.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin: 1rem 0;
}
.login-fields {
    display: flex;
    gap: 20px;
}
.auth-box label {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}
.submit-wrap {
    text-align: center;
}
.auth-box input {
    padding: 0.55rem;
    border: 1px solid var(--primary);
    border-radius: 100px;
}
.sm-text {
    font-size: 14px;
    text-align: center;
    color: #9f9f9f;
}
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
}
/* ---- Floating Labels ---- */
.floating-label-group {
    position: relative;
    flex: 1;
}

.floating-label-group input,
.floating-label-group textarea,
.floating-label-group select {
    width: 100%;
    padding: 0.55rem;
    border: 1px solid var(--primary);
    border-radius: 100px;
    font-size: 0.95rem;
    background-color: white;
    transition: border-color 0.2s ease;
}

.floating-label-group select:not([multiple]) {
    padding: 0.55rem 36px 0.55rem 14px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12.42 8.46'%3E%3Cpath d='M.91,0h10.59c.76,0,1.19.88.71,1.48l-5.3,6.64c-.37.46-1.06.46-1.43,0L.2,1.48c-.48-.6-.05-1.48.71-1.48Z' fill='%23222222'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 11px 8px;
    cursor: pointer;
}

.floating-label-group textarea {
    border-radius: 8px;
    min-height: 80px;
    resize: vertical;
}

.floating-label-group input:focus,
.floating-label-group textarea:focus,
.floating-label-group select:focus {
    outline: none;
    border-color: var(--primary-dark);
}

.floating-label-group label {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 0.95rem;
    pointer-events: none;
    transition: all 0.2s ease;
    background: white;
    padding: 0 8px;
    border-radius: 30px;
}

.floating-label-group label.full-width {
    left: 14px;
    top: 20px;
}

/* Float label when input is focused or has content (not showing placeholder) */
.floating-label-group input:focus + label,
.floating-label-group input:not(:placeholder-shown) + label,
.floating-label-group input.has-value + label,
.floating-label-group textarea:focus + label,
.floating-label-group textarea:not(:placeholder-shown) + label,
.floating-label-group textarea.has-value + label,
.floating-label-group select:focus + label,
.floating-label-group select:valid + label,
.floating-label-group select.has-value + label {
    top: 0;
    left: 10px;
    font-size: 0.75rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.floating-label-group textarea:focus + label.full-width,
.floating-label-group textarea:not(:placeholder-shown) + label.full-width,
.floating-label-group textarea.has-value + label.full-width,
.floating-label-group textarea[placeholder]:not([placeholder=" "]) + label,
.floating-label-group textarea[placeholder]:not([placeholder=" "]) + label.full-width {
    top: 0;
    left: 10px;
    font-size: 0.75rem;
    color: var(--primary-dark);
    font-weight: 600;
}

.floating-label-group textarea::placeholder {
    color: #9ca3af;
    opacity: 0.85;
    line-height: 1.4;
}



/* ---- Mobile Notice Toggle ---- */
.notice-toggle {
    display: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
}

.notice-toggle-text {
    font-weight: 600;
}

.notice-toggle-icon {
    width: 12px;
    height: 8px;
    transition: transform 0.3s ease;
}

.notice-toggle-icon.rotated {
    transform: rotate(180deg);
}

.notice-content {
    display: block;
}

/* ---- Mobile Search Hint ---- */
.search-hint {
    display: block;
}

/* ---- Language Switcher ---- */
.lang-switcher-wrapper {
    display: flex;
    height: auto;
    width: 50%;
    background: var(--primary_color);
    padding: 7px 20px;
    color: var(--admin-header-text);
    font-size: 14px;
}
.lang-switcher-wrapper > div {
    text-align: right;
    max-width: 720px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 20px;
}
.lang-switcher select {
    padding: 0.5rem 36px 0.5rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12.42 8.46'%3E%3Cpath d='M.91,0h10.59c.76,0,1.19.88.71,1.48l-5.3,6.64c-.37.46-1.06.46-1.43,0L.2,1.48c-.48-.6-.05-1.48.71-1.48Z' fill='%23222222'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 11px 8px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 0.9rem;
    cursor: pointer;
    min-width: 240px;
    height: 40px;
}

.lang-switcher select:hover {
    border-color: var(--primary);
}

.lang-switcher select:focus {
    outline: none;
    border-color: var(--primary);
}

.eifu-symbol rect,
.eifu-symbol line {
    stroke: #fff;
}
.eifu-symbol circle {
    fill: #fff;
}
.eifu-symbol text {
    fill: #222;
}

.vh-two-column .vh-right {
    flex: 0 0 30%;
}
.vh-two-column .vh-left {
    flex: 1;
}
.vh-two-column {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 50px;
}
.vh-two-column .vh-right .filter-panel {
    margin: 1.5rem 0;
    padding: 0;
    background: #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    display: flex;
    gap: 0;
    align-items: center;
    flex-direction: row;
    overflow: hidden;
    flex-wrap: wrap;
    justify-content: space-between;
}
.vh-two-column .vh-right .filter-panel .filter-panel-title {
    flex: 0 0 100%;
    padding: 30px;
    font-size: 24px;
}
.vh-two-column .vh-right .filter-panel .filter-panel-inputs {
    flex: 0 0 100%;
    padding: 0 30px;
    margin: 20px auto 10px;
}
.vh-two-column .vh-right .filter-panel .filter-panel-inputs:nth-last-of-type(1) {
    padding-bottom: 30px;
}
.vh-two-column .vh-right .filter-panel .filter-panel-inputs:nth-last-of-type(3) {
    padding-top: 20px;
}

.content-wrapper {
    padding: 40px;
    box-shadow: 0 0 30px rgba(0,0,0,.3);
    background: #fff;
    border-radius: 30px;
        overflow: hidden;
}
h2.admin-header span {
    font-size: 16px;
    font-weight: 400;
}
h2.admin-header {
    color: #222;
    font-size: 24px;
}

/* ========================================================================
   System Status Toggle (Admin Topbar) 
   ======================================================================== */
.system-status-toggle {
    display: inline-flex;
    align-items: center;
    margin: 0;
}
.status-toggle-btn,
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    line-height: 1.2;
}
.status-toggle-btn:hover {
    filter: brightness(0.92);
    transform: translateY(-1px);
}
.status-badge {
    cursor: default;
}
.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.status-online {
    background: #e6f9ee;
    color: #1a7a3a;
}
.status-online .status-dot {
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
}
.status-offline {
    background: #fde8e8;
    color: #b91c1c;
}
.status-offline .status-dot {
    background: #ef4444;
    box-shadow: 0 0 6px #ef4444;
}
.two-column section {
    width: 50%;
    flex: 1 1 50%;
}
.two-column {
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

section.bttm-link a:hover {
    opacity: .5;
}
section.bttm-link a {
    color: #fff;
}
section.bttm-link {
    background: #222;
    padding: 10px;
    margin: 20px -40px -40px;
    text-align: center;
}
section.product-changer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
section.dark-panel {
    padding: 30px;
    background: #222;
    color: #fff;
    margin: 20px -40px;
}
section.dark-panel h2,
section.dark-panel h3 {
    color: #fff;
}
.flex-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}
details {
    cursor: pointer;
}
table.kv-table td, table.kv-table th {
    padding: 5px 10px;
    border: 0;
    font-size: 16px;
}
table.kv-table tr:nth-of-type(2n + 1):not(:nth-of-type(1)) {
    background: #efefef;
}

table.kv-table {
    border: 0;
    border-spacing: 0;
    width: 100%;
}
.title-flex h2, .title-flex p {
    margin: 0;
}
.title-flex {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 10px;
}
a.btn-clear {
    color: #fff;
    opacity: .6;
    text-decoration: underline;
}
a.btn-clear:hover {
    color: #fff;
    opacity: .6;
    text-decoration: underline;
}
a.btn-clear span {
    text-decoration: none;
    display: inline-block;
    margin-right: 4px;
    background: #fff;
    width: 10px;
    height: 10px;
    color: #222;
    line-height: 10px;
    font-size: 10px;
    text-align: center;
    border-radius: 50%;
    vertical-align: middle;
}

svg.view-icon path,
svg.manage-icon path {
    fill: var(--primary_color);
}

svg.view-icon {
    width: 24px;
    vertical-align: middle;
    margin-right: 4px;
}
svg.manage-icon {
    width: 16px;
    vertical-align: middle;
    margin-right: 4px;
}

/* ==========================================================================
   MEDIA QUERIES
   All media queries grouped by breakpoint, largest to smallest:
   1280px -> 1200px -> 1024px -> 980px -> 768px -> 767px -> 680px -> 480px
   ========================================================================== */

/* --------------------------------------------------
   Max-width: 1280px
   -------------------------------------------------- */
@media (max-width: 1280px) {
    .filter-panel .filter-panel-title {
        min-width: 25%;
    }
    .filter-panel-inputs {
        flex: 0 0 25%;
    }
}

/* --------------------------------------------------
   Max-width: 1200px (admin topbar collapses to hamburger menu)
   -------------------------------------------------- */
@media (max-width: 1200px) {
    .admin-topbar {
        flex-wrap: nowrap;
        padding: 0.8rem 1rem;
        gap: 0.8rem;
        flex-direction: row;
        justify-content: space-between;
    }
    .admin-nav-wrap {
        width: auto;
        justify-content: space-between;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    .admin-menu-toggle {
        display: inline-flex;
        flex-direction: column;
    }
    .admin-nav-inner {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        background: var(--admin-header-bg);
        padding: 30px 20px;
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 1000;
        transform: translateY(100%);
        text-align: center;
    }
    .admin-nav-wrap.open .admin-nav-inner {
        display: flex;
        background: #222;
    }
    .admin-topbar nav {
        flex-direction: column;
        gap: 0.8rem;
        width: 100%;
    }
    .admin-nav-wrap nav {
        padding-right: 0;
        margin-right: 0;
        border-right: none;
        padding-top: 0;
        padding-bottom: 0;
        width: 100%;
    }
    .admin-topbar .account {
        width: 100%;
        justify-content: center;
        padding-top: 0.5rem;
        border-top: 1px solid rgba(255,255,255,0.3);
        flex-wrap: wrap;
    }
    .system-status-toggle {
        flex: 0 0 100%;
        margin: 10px 0;
        justify-content: center;
    }
    .admin-topbar .account > div:first-child {
        text-align: left;
    }
    span.acct-name,
    span.acct-role {
        text-align: left;
    }
}

/* --------------------------------------------------
   Max-width: 1024px
   -------------------------------------------------- */
@media (max-width: 1024px) {
    .product-wrapper {
        display: flex;
        flex-wrap: wrap;
        flex-direction: row;
        gap: 50px;
        justify-content: space-between;
    }
    .product-wrapper .product-left,
    .product-wrapper .product-right {
        flex: 0 0 100%;
    }
}

/* --------------------------------------------------
   Max-width: 980px
   -------------------------------------------------- */
@media (max-width: 980px) {
    /* Filter panel */
    .filter-panel {
        flex-wrap: wrap;
        border-radius: 10px;
    }
    .filter-panel .filter-panel-title {
        min-width: 100%;
        margin: 0 0 10px;
    }
    .filter-panel-inputs {
        flex: 0 0 33.33%;
        padding: 0 10px 10px;
    }

    /* Public topbar */
    .public-topbar {
        flex-wrap: wrap;
    }
    .public-topbar .nav-logo,
    .public-topbar .nav-search {
        width: 100%;
    }
    .public-topbar .nav-logo {
        padding: 5px 15px;
    }
    .public-topbar .nav-logo > div {
        float: none;
        padding: 5px 0;
    }
    .nav-search > div p {
        width: 100%;
        max-width: 50%;
        flex: 0 0 50%;
    }
    .product-list li {
        width: 32%;
    }

    /* Version history two-column layout */
    .vh-two-column {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 0px;
    }
    .vh-two-column .vh-right,
    .vh-two-column .vh-left {
        width: 100%;
        flex: 0 0 100%;
    }
    .vh-two-column .vh-right .filter-panel .filter-panel-inputs,
    .vh-two-column .vh-right .filter-panel .filter-panel-inputs:nth-last-of-type(3),
    .vh-two-column .vh-right .filter-panel .filter-panel-inputs:nth-last-of-type(1) {
        flex: 0 0 33%;
        padding: 0 10px;
        margin: 10px auto 20px;
    }
    .lang-switcher-wrapper {
        width: 100%;
        justify-content: center;
    }
    .lang-switcher-wrapper > div {
        justify-content: center;
        text-align: center;
    }

    /* Content wrapper & product columns */
    .content-wrapper {
        padding: 20px;
    }
    .product-columns {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
        flex-direction: column-reverse;
    }
    .product-columns.no-reverse {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;
        flex-direction: column;
    }
    .product-columns .left {
        width: 100%;
        flex: 0 0 100%;
        padding: 0;
    }
    .product-columns .right {
        width: auto;
        flex: 0 0 100%;
        margin: -20px -20px 0;
        padding: 20px;
    }
    .product-columns.no-reverse .right {
        width: auto;
        flex: 0 0 100%;
        margin: 20px -20px -20px;
        padding: 20px;
    }

    /* System status toggle & two-column */
    .system-status-toggle {
        flex: 0 0 100%;
        margin: 10px 0;
        justify-content: center;
    }
    .two-column section {
        width: 100%;
        flex: 0 0 100%;
    }
    .two-column {
        flex-wrap: wrap;
    }
}

/* --------------------------------------------------
   Max-width: 768px
   -------------------------------------------------- */
@media (max-width: 768px) {
    .nav-search > div p {
        width: 100%;
        max-width: 100%;
        flex: 1;
        margin-bottom: 10px;
    }
    .footer-logo-wrap {
        flex: 0 0 100%;
        text-align: center;
        padding: 20px 40px 0;
    }
    .public-footer > div {
        flex-wrap: wrap;
    }
    .product-list li {
        width: 49%;
    }
    /* Container & content padding */
    .admin-content,
    .public-content {
        padding: 1rem 0.75rem;
    }

    .admin-footer,
    .public-footer {
        padding: 1rem 0.75rem;
    }

    .panel {
        padding: 1rem 0.85rem;
        margin-bottom: 1rem;
        border-radius: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Stat grid: clean 2-column layout on mobile */
    .stat-grid {
        flex-wrap: wrap;
    }

    .stat-card {
        padding: 0.75rem;
        border-radius: 0px;
        flex: 0 50%;
    }

    .stat-card .stat-num {
        font-size: 1.5rem;
    }

    .stat-card span:last-child {
        font-size: 0.82rem;
        line-height: 1.25;
    }

    /* Form grid */
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    /* Admin topbar */
    .admin-topbar {
        align-items: stretch;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }

    .admin-topbar .brand {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .admin-topbar nav {
        flex-wrap: wrap;
        gap: 0.45rem 0.85rem;
        padding: 0.45rem 0;
        border-top: 0px solid rgba(255, 255, 255, 0.12);
        border-bottom: 0px solid rgba(255, 255, 255, 0.12);
    }

    .admin-topbar nav a {
        font-size: 0.88rem;
    }

    .admin-topbar .account {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 0.8rem;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    /* Public topbar */
    .public-topbar {
        flex-wrap: wrap;
        gap: 0rem;
    }
    .public-topbar .nav-logo > div {
        float: none;
        padding: 5px 0;
        flex-direction: column;
    }
    .public-topbar .nav-logo > div a {
        padding: 0 0 10px 0;
        border-right: 0px solid #222;
        margin-right: 0px;
        border-bottom: 1px solid #222;
        margin-bottom: 10px;
        justify-content: center;
        text-align: center;
    }
    .public-topbar .nav-logo > div .tagline {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    .public-topbar .tagline {
        font-size: 0.8rem;
        width: 100%;
    }
    .public-topbar .nav-search > div {
        flex-direction: column;
        padding: 5px 15px;
    }
    .notice-strip {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    table.data-table th,
    table.data-table td {
        padding: 0.45rem 0.55rem;
        font-size: 0.85rem;
    }
    summary {
        text-align: center;
        color: var(--primary_color);
    }
}

/* --------------------------------------------------
   Min-width: 768px (desktop / tablet table column widths)
   -------------------------------------------------- */
@media (min-width: 768px) {
    table.data-table td[data-type="Language"],
    table.data-table td[data-type="Version"],
    table.data-table td[data-type="Status"],
    table.data-table td[data-type="Publish"] {
        width: 130px;
    }
}

/* --------------------------------------------------
   Max-width: 767px
   -------------------------------------------------- */
@media (max-width: 767px) {
    /* Mobile data tables */
    .mobile-hidden {
        display: none;
    }
    .mobile-block {
        display: block;
    }
    td[colspan="7"] {
        width: 100%;
        flex: 0 0 100%;
        display: block !important;
    }
    .data-table thead {
        display: none;
    }
    .data-table tbody tr td {
        display: flex;
        padding: 10px;
        text-align: left !important;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #e2e2e2;
    }
    td[data-type="Requester Details"]:before {
        flex: 0 0 100%;
    }
    td[data-type="Requester Details"] {
        flex-wrap: wrap;
        align-items: start !important;
    }
    td[data-type="Requester Details"] > div {
        display: block;
        width: 100%;
        flex: 0 0 50%;
    }
    .data-table tbody tr td.version-history {
        justify-content: center;
    }
    .data-table tbody tr td:before {
        content: attr(data-type);
        display: block;
        font-weight: bold;
        text-align: left;
    }
    .data-table tbody tr td.mobile-center-action {
        justify-content: center;
        gap: 10px;
    }

    .data-table tbody tr td.mobile-center-action:before {
        display: none;
    }

    /* Notice strip toggle */
    .notice-toggle {
        display: flex;
        padding: 0;
    }

    .notice-content {
        display: none;
        padding: 0.6rem 1rem;
    }

    .notice-content.expanded {
        display: block;
    }
    .nav-search {
        flex-direction: column;
    }
    .search-hint.visible {
        display: block;
    }
    .nav-search > * {
        width: 90%;
    }

    /* Language switcher & version history filter panel */
    .lang-switcher-wrapper > div {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 5px;
        padding: 5px 0;
    }
    .vh-two-column .vh-right .filter-panel .filter-panel-inputs,
    .vh-two-column .vh-right .filter-panel .filter-panel-inputs:nth-last-of-type(3),
    .vh-two-column .vh-right .filter-panel .filter-panel-inputs:nth-last-of-type(1) {
        flex: 0 0 100%;
        padding: 0 10px;
        margin: 10px auto 10px;
    }

    /* Product form */
    form.product-form .field-group-half,
    form.product-form .field-group-third,
    form.product-form .field-group-two-third {
        width: 100%;
    }

    /* Dark panels & bottom links */
    section.bttm-link {
        margin: 20px -20px -20px;
    }
    section.dark-panel.flex-panel {
        flex-direction: column;
        text-align: left;
        gap: 10px;
    }
    section.product-changer-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 20px;
    }
    section.product-changer-wrapper > div {
        flex: 0 0 100%;
    }
    .inline-form .floating-label-group {
        position: relative;
        flex: 0 0 100%;
    }
    details form.product-form {
        background: #efefef;
        padding: 20px;
        margin: -10px;
        border-radius: 20px;
    }
    table.kv-table tr {
        display: flex;
        flex-direction: column;
    }
    table.kv-table td {
        word-wrap: anywhere;
    }
    table.kv-table th {
        font-weight: bold;
        color: #222;
    }
    form.product-form.mobile-columns {
        flex-direction: row;
        width: 100%;
    }
    form.product-form.mobile-columns > div {
        width: auto;
        flex: 1 1 100%;
    }
}

/* --------------------------------------------------
   Max-width: 680px
   -------------------------------------------------- */
@media (max-width: 680px) {
    .filter-panel-inputs {
        flex: 0 0 100%;
        padding: 0 10px 10px;
    }
}

/* --------------------------------------------------
   Max-width: 480px
   -------------------------------------------------- */
@media (max-width: 480px) {
    /* Auth page */
    .auth-box h1 {
        text-align: center;
        font-size: 18px;
        color: #080b62;
        background-color: #e6e7ef;
        margin: 0 -1.25rem 40px;
    }

    .login-fields {
        display: flex;
        gap: 20px;
        flex-direction: column;
    }

    /* Public product list & layout */
    .product-list li {
        width: 100%;
    }
    .admin-content,
    .public-content {
        padding: 0.75rem 0.5rem;
    }

    .panel {
        padding: 0.85rem 0.65rem;
    }

    .stat-grid {
        gap: 0;
        margin-left: -20px;
        margin-right: -20px;
        margin-top: -20px;
    }

    .stat-card {
        padding: 0.6rem;
        border-radius: 0px;
        flex: 0 50%;
    }
    .stat-card .stat-num {
        font-size: 1.35rem;
    }

    .auth-box {
        padding: 1.5rem 1.25rem;
    }
}