
/* =========================================
   ADMIN PAGE - ENGLISH COMMERCE DN
   File: pages/admin/css/admin.css
========================================= */

:root {
    --admin-blue: #0756A5;
    --admin-blue-dark: #06447F;
    --admin-orange: #F28C28;
    --admin-sky: #38A9E8;
    --admin-bg: #F1F5F9;
    --admin-white: #FFFFFF;
    --admin-text: #243447;
    --admin-muted: #718096;
    --admin-border: #DCE5EF;
    --admin-sidebar: #FFFFFF;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--admin-text);
    background: var(--admin-bg);
}

button,
a {
    font: inherit;
}

.admin-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* =========================================
   HEADER
========================================= */

.admin-header {
    min-height: 82px;
    padding: 12px 24px;
    background: var(--admin-blue);
    color: var(--admin-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

.admin-header-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.16);
    font-size: 27px;
}

.admin-header-title h1 {
    margin: 0;
    color: #FFD84D;
    font-size: 22px;
    letter-spacing: 1.2px;
}

.admin-header-title p {
    margin: 5px 0 0;
    color: #FFFFFF;
    font-size: 12px;
    letter-spacing: 1.5px;
}

.admin-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-btn {
    min-height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.change-pass-btn {
    color: #FFFFFF;
    background: var(--admin-orange);
}

.change-pass-btn:hover {
    background: #DD7416;
}

.home-btn {
    color: var(--admin-blue);
    background: #FFFFFF;
}

.home-btn:hover {
    background: #EAF4FC;
}

/* =========================================
   MAIN LAYOUT
========================================= */

.admin-layout {
    width: 100%;
    flex: 1;
    min-height: 0;
    padding: 18px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(0, 3fr);
    gap: 16px;
}

/* =========================================
   LEFT SIDEBAR
========================================= */

.admin-sidebar {
    min-width: 0;
    background: var(--admin-sidebar);
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(22, 47, 75, 0.06);
}

.sidebar-heading {
    min-height: 52px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    background: var(--admin-blue-dark);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.admin-menu {
    padding: 9px;
}

.menu-group {
    margin-bottom: 7px;
    border: 1px solid var(--admin-border);
    border-radius: 8px;
    overflow: hidden;
    background: #FFFFFF;
}

.menu-group summary {
    min-height: 45px;
    padding: 10px 11px;
    display: flex;
    align-items: center;
    gap: 9px;
    list-style: none;
    cursor: pointer;
    color: var(--admin-blue-dark);
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s ease;
}

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

.menu-group summary::after {
    content: "›";
    margin-left: auto;
    color: var(--admin-muted);
    font-size: 21px;
    transform: rotate(0deg);
    transition: transform 0.2s ease;
}

.menu-group[open] summary::after {
    transform: rotate(90deg);
}

.menu-group summary:hover {
    background: #EDF6FD;
}

.group-icon {
    width: 23px;
    text-align: center;
    font-size: 16px;
}

.group-count {
    margin-left: auto;
    padding: 3px 7px;
    border-radius: 20px;
    color: var(--admin-blue);
    background: #E8F3FC;
    font-size: 10px;
}

.menu-group summary::after + .group-count {
    margin-left: 0;
}

.submenu {
    padding: 4px 7px 8px 34px;
    border-top: 1px solid #EDF1F5;
    background: #FAFCFE;
}

.submenu button {
    width: 100%;
    min-height: 36px;
    padding: 7px 9px;
    border: 0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: left;
    color: #45566B;
    background: transparent;
    font-size: 12.5px;
    cursor: pointer;
    transition: 0.2s ease;
}

.submenu button:hover {
    color: var(--admin-blue);
    background: #E8F3FC;
}

.submenu button:focus-visible,
.menu-group summary:focus-visible,
.admin-btn:focus-visible {
    outline: 3px solid rgba(56, 169, 232, 0.45);
    outline-offset: 2px;
}

/* =========================================
   RIGHT CONTENT
========================================= */

.admin-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.content-topbar {
    min-height: 72px;
    padding: 12px 20px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #FFFFFF;
    box-shadow: 0 3px 12px rgba(22, 47, 75, 0.04);
}

.content-label {
    color: var(--admin-orange);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.content-topbar h2 {
    margin: 5px 0 0;
    color: var(--admin-blue-dark);
    font-size: 19px;
}

.admin-status {
    padding: 7px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 7px;
    color: #26764A;
    background: #EAF8F0;
    font-size: 12px;
    font-weight: 700;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #25A45A;
}

.admin-tab-container {
    flex: 1;
    min-height: 450px;
    padding: 24px;
    border: 1px solid var(--admin-border);
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 3px 12px rgba(22, 47, 75, 0.04);
}

.admin-welcome {
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.welcome-icon {
    width: 88px;
    height: 88px;
    margin-bottom: 18px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    color: var(--admin-blue);
    background: #EAF4FC;
    font-size: 43px;
}

.admin-welcome h2 {
    margin: 0 0 12px;
    color: var(--admin-blue);
    font-size: 25px;
    letter-spacing: 1px;
}

.admin-welcome p {
    max-width: 520px;
    margin: 5px 0;
    color: #526276;
    font-size: 14px;
    line-height: 1.7;
}

.admin-welcome .welcome-guide {
    margin-top: 14px;
    color: var(--admin-orange);
    font-weight: 600;
}

/* =========================================
   FOOTER
========================================= */

.admin-footer {
    min-height: 38px;
    padding: 10px 18px;
    color: #FFFFFF;
    background: #171717;
    text-align: center;
    font-size: 11px;
    letter-spacing: 1px;
}

.admin-footer span {
    color: #B8C4D1;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {
    .admin-layout {
        grid-template-columns: 30% 70%;
        gap: 12px;
        padding: 12px;
    }

    .admin-header {
        padding: 12px 16px;
    }

    .menu-group summary {
        font-size: 12px;
    }

    .submenu {
        padding-left: 23px;
    }

    .submenu button {
        font-size: 12px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 700px) {
    .admin-header {
        min-height: auto;
        padding: 12px;
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .admin-header-title h1 {
        font-size: 18px;
    }

    .admin-header-title p {
        font-size: 10px;
    }

    .admin-icon {
        width: 42px;
        height: 42px;
        font-size: 23px;
    }

    .admin-header-actions {
        width: 100%;
    }

    .admin-btn {
        flex: 1;
        min-height: 42px;
        padding: 0 9px;
        font-size: 13px;
    }

    .admin-layout {
        display: flex;
        flex-direction: column;
        padding: 10px;
        gap: 12px;
    }

    .admin-sidebar,
    .admin-content {
        width: 100%;
    }

    .sidebar-heading {
        min-height: 46px;
    }

    .admin-menu {
        padding: 8px;
    }

    .menu-group summary {
        min-height: 44px;
        font-size: 13px;
    }

    .submenu button {
        min-height: 40px;
        font-size: 13px;
    }

    .content-topbar {
        min-height: 65px;
        padding: 11px 14px;
    }

    .content-topbar h2 {
        font-size: 17px;
    }

    .admin-tab-container {
        min-height: 380px;
        padding: 15px;
    }

    .admin-welcome {
        min-height: 340px;
    }

    .welcome-icon {
        width: 70px;
        height: 70px;
        font-size: 35px;
    }

    .admin-welcome h2 {
        font-size: 20px;
    }

    .admin-welcome p {
        font-size: 13px;
    }

    .admin-footer {
        font-size: 10px;
        line-height: 1.6;
    }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 380px) {
    .admin-header-title h1 {
        font-size: 16px;
    }

    .admin-header-actions {
        gap: 7px;
    }

    .admin-btn {
        font-size: 12px;
    }

    .menu-group summary {
        gap: 6px;
        font-size: 12px;
    }

    .group-count {
        padding: 2px 6px;
    }
}


/* =====================================
   ADMIN LOGIN
===================================== */

.admin-login-page {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #0756A5, #0B3670);
}

.admin-login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.admin-login-card {
  width: 100%;
  max-width: 420px;
  padding: 38px 32px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 35px rgba(0,0,0,.25);
  text-align: center;
}

.admin-login-logo {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #EAF3FC;
  font-size: 38px;
}

.admin-login-card h1 {
  margin: 0;
  color: #0756A5;
  font-size: 25px;
  font-weight: 800;
}

.admin-login-subtitle {
  margin: 10px 0 28px;
  color: #777;
  font-size: 12px;
  letter-spacing: .8px;
}

.admin-login-field {
  margin-bottom: 18px;
  text-align: left;
}

.admin-login-field label {
  display: block;
  margin-bottom: 7px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.admin-login-field input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  box-sizing: border-box;
  border: 1px solid #D5DDE7;
  border-radius: 8px;
  outline: none;
  font-size: 15px;
}

.admin-login-field input:focus {
  border-color: #0756A5;
  box-shadow: 0 0 0 3px rgba(7,86,165,.10);
}

.admin-login-submit {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  border: none;
  border-radius: 8px;
  background: #0756A5;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
}

.admin-login-submit:hover {
  background: #F28C28;
}

.admin-login-home {
  display: inline-block;
  margin-top: 23px;
  color: #0756A5;
  font-size: 14px;
  text-decoration: none;
}

.admin-login-home:hover {
  color: #F28C28;
}

.admin-login-footer {
  margin: 28px 0 0;
  color: #999;
  font-size: 12px;
}

@media (max-width: 480px) {
  .admin-login-container {
    padding: 16px;
  }

  .admin-login-card {
    padding: 30px 22px;
  }

  .admin-login-card h1 {
    font-size: 22px;
  }
}

.admin-logout-btn {
    background: #DC2626;
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-logout-btn:hover {
    background: #B91C1C;
    transform: translateY(-1px);
}

.admin-logout-btn:active {
    transform: scale(0.97);
}




/* =================================
   ADMIN CATALOG - DANH MỤC
================================= */

.catalog-page {
    width: 100%;
    box-sizing: border-box;
    padding: 22px;
    background: #FFFFFF;
    border-radius: 9px;
}

.catalog-header {
    border-bottom: 2px solid #0756A5;
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.catalog-header h2 {
    color: #0756A5;
    font-size: 21px;
    margin: 0 0 7px;
}

.catalog-header p {
    color: #777777;
    font-size: 13px;
    margin: 0;
}

.catalog-form {
    padding: 20px;
    background: #F5F8FC;
    border: 1px solid #E0E7EF;
    border-radius: 8px;
}

.catalog-input-group {
    margin-bottom: 17px;
}

.catalog-input-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #333333;
    margin-bottom: 8px;
}

.catalog-input-group input {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    box-sizing: border-box;
    border: 1px solid #C8D2DE;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
}

.catalog-input-group input:focus {
    border-color: #0756A5;
    box-shadow: 0 0 0 2px rgba(7, 86, 165, 0.1);
}

.catalog-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.catalog-form-actions button,
.catalog-actions button {
    border: none;
    border-radius: 5px;
    padding: 9px 17px;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.catalog-add-btn {
    background: #0756A5;
}

.catalog-add-btn:hover {
    background: #F28C28;
}

.catalog-cancel-btn {
    background: #6B7280;
}

.catalog-cancel-btn:hover {
    background: #4B5563;
}

.catalog-form-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.catalog-message {
    min-height: 18px;
    margin: 12px 0 0;
    font-size: 13px;
}

.catalog-message.success {
    color: #15803D;
}

.catalog-message.error {
    color: #DC2626;
}

.catalog-list {
    margin-top: 28px;
}

.catalog-list h3 {
    font-size: 17px;
    color: #0756A5;
    margin: 0 0 15px;
}

.catalog-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.catalog-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.catalog-table th {
    background: #0756A5;
    color: #FFFFFF;
    padding: 12px 10px;
    text-align: left;
    white-space: nowrap;
}

.catalog-table td {
    padding: 11px 10px;
    border-bottom: 1px solid #E5E7EB;
    color: #333333;
}

.catalog-table tbody tr:hover {
    background: #F5F9FF;
}

.catalog-table th:first-child,
.catalog-table td:first-child {
    width: 65px;
    text-align: center;
}

.catalog-table th:last-child,
.catalog-table td:last-child {
    width: 145px;
    white-space: nowrap;
}

.catalog-actions {
    display: flex;
    gap: 7px;
}

.catalog-edit-btn {
    background: #0D9488;
}

.catalog-edit-btn:hover {
    background: #0F766E;
}

.catalog-delete-btn {
    background: #DC2626;
}

.catalog-delete-btn:hover {
    background: #B91C1C;
}

.catalog-empty {
    text-align: center !important;
    color: #888888 !important;
    padding: 22px !important;
}

.admin-tab-loading,
.admin-tab-error {
    padding: 30px;
    text-align: center;
    color: #666666;
}

@media (max-width: 600px) {
    .catalog-page {
        padding: 14px;
    }

    .catalog-form {
        padding: 14px;
    }

    .catalog-header h2 {
        font-size: 18px;
    }

    .catalog-table {
        min-width: 440px;
    }
}


/* =====================================
   TỌA ĐÀM - SHHT
===================================== */

.toadam-page {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.toadam-header {
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0756A5;
}

.toadam-header h2 {
    margin: 0 0 8px;
    color: #0756A5;
    font-size: 21px;
    font-weight: 700;
}

.toadam-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.toadam-form {
    width: 100%;
    max-width: 100%;
}

.toadam-input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.toadam-input-group label {
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.toadam-input-group input {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    font-family: inherit;
}

.toadam-input-group input:focus {
    border-color: #0756A5;
    box-shadow: 0 0 0 2px rgba(7, 86, 165, 0.1);
}

/* Vùng dán nội dung Word */

.toadam-rich-editor {
    width: 100%;
    min-height: 150px;
    max-height: 500px;
    overflow-y: auto;
    padding: 12px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-family: Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    outline: none;
}

.toadam-rich-editor:focus {
    border-color: #0756A5;
    box-shadow: 0 0 0 2px rgba(7, 86, 165, 0.1);
}

.toadam-rich-editor:empty::before {
    content: attr(data-placeholder);
    color: #999;
    pointer-events: none;
}

.toadam-rich-editor img {
    max-width: 100%;
    height: auto;
}

.toadam-rich-editor table {
    max-width: 100%;
    border-collapse: collapse;
}

.toadam-rich-editor td,
.toadam-rich-editor th {
    border: 1px solid #ccc;
    padding: 6px;
}

/* Nút thao tác */

.toadam-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    margin-bottom: 12px;
}

.toadam-list {
    margin-top: 35px;
}

.toadam-list h3 {
    margin-bottom: 15px;
    color: #0756A5;
    font-size: 18px;
    font-weight: 700;
}

/* Bảng danh sách */

.toadam-list .catalog-table {
    min-width: 1000px;
}

.toadam-list .catalog-table th,
.toadam-list .catalog-table td {
    vertical-align: top;
    padding: 10px;
}

.toadam-list .catalog-table td {
    line-height: 1.5;
}

.toadam-list .catalog-table td:nth-child(3) {
    min-width: 180px;
    font-weight: 600;
}

.toadam-list .catalog-table td:nth-child(4),
.toadam-list .catalog-table td:nth-child(5) {
    min-width: 200px;
    max-width: 300px;
}

.toadam-list .catalog-table td:nth-child(6) {
    min-width: 150px;
}

.toadam-list .catalog-table a {
    display: inline-block;
    margin: 3px 5px 3px 0;
    color: #0756A5;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.toadam-list .catalog-table a:hover {
    text-decoration: underline;
}

/* Responsive */

@media (max-width: 768px) {
    .toadam-page {
        padding: 12px;
    }

    .toadam-header h2 {
        font-size: 18px;
    }

    .toadam-rich-editor {
        min-height: 130px;
    }

    .toadam-list {
        margin-top: 25px;
    }

    .toadam-list h3 {
        font-size: 16px;
    }
}

/* Nội dung tọa đàm trong bảng */
.toadam-table-content {
    max-height: 220px;
    overflow-y: auto;
    overflow-wrap: anywhere;
    white-space: normal;
}

.toadam-table-content table {
    width: 100%;
    border-collapse: collapse;
}

.toadam-table-content td,
.toadam-table-content th {
    border: 1px solid #ddd;
    padding: 5px;
}

.toadam-table-content img {
    max-width: 100%;
    height: auto;
}


/* =====================================
   BIÊN BẢN HỘI THẢO - SHHT
===================================== */

.bienban-page {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.bienban-header {
    margin-bottom: 24px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0756A5;
}

.bienban-header h2 {
    margin: 0 0 8px;
    color: #0756A5;
    font-size: 21px;
    font-weight: 700;
}

.bienban-header p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

.bienban-info-grid {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(250px, 1.5fr);
    gap: 18px;
}

.bienban-page textarea {
    width: 100%;
    min-height: 150px;
    padding: 12px;
    box-sizing: border-box;
    resize: vertical;
    border: 1px solid #ccc;
    border-radius: 6px;
    outline: none;
    font: inherit;
    line-height: 1.6;
}

.bienban-page textarea:focus {
    border-color: #0756A5;
    box-shadow: 0 0 0 2px rgba(7, 86, 165, 0.1);
}

.bienban-ai-section,
.bienban-final-section {
    margin-top: 28px;
    padding: 18px;
    border: 1px solid #dce5ef;
    border-radius: 9px;
    background: #f8fbff;
}

.bienban-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.bienban-section-heading h3,
.bienban-final-section h3,
.bienban-preview-section h3 {
    margin: 0 0 15px;
    color: #0756A5;
    font-size: 17px;
}

.bienban-coming-soon {
    padding: 5px 10px;
    border-radius: 20px;
    background: #fff0d9;
    color: #995800;
    font-size: 12px;
}

.bienban-ai-btn,
.bienban-transfer-btn,
.bienban-preview-btn,
.bienban-word-btn {
    min-height: 40px;
    padding: 9px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

.bienban-ai-btn {
    margin-bottom: 20px;
    background: #0756A5;
    color: #fff;
}

.bienban-ai-btn:hover {
    background: #064580;
}

.bienban-transfer-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 12px;
    background: #e6f2ff;
    color: #0756A5;
    border: 1px solid #b9d9f5;
}

.bienban-transfer-btn:hover {
    background: #d6eaff;
}

.bienban-editor {
    min-height: 230px;
    max-height: 650px;
    background: #fff;
    overflow-y: auto;
}

.bienban-final-section {
    background: #fff;
}

.bienban-final-editor {
    min-height: 350px;
}

.bienban-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.bienban-preview-btn {
    background: #e8f3ff;
    color: #0756A5;
    border: 1px solid #b9d9f5;
}

.bienban-word-btn {
    background: #e9f5ed;
    color: #217346;
    border: 1px solid #b9dfc5;
}

.bienban-preview-section {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background: #fff;
}

.bienban-preview {
    padding: 20px;
    border: 1px solid #eee;
    background: #fff;
    color: #222;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.bienban-preview img {
    max-width: 100%;
    height: auto;
}

.bienban-preview table {
    width: 100%;
    border-collapse: collapse;
}

.bienban-preview td,
.bienban-preview th {
    border: 1px solid #ccc;
    padding: 7px;
}

.bienban-list {
    margin-top: 35px;
}

.bienban-list h3 {
    margin-bottom: 15px;
    color: #0756A5;
    font-size: 18px;
}

.bienban-list .catalog-table {
    min-width: 900px;
}

.bienban-list .catalog-table th,
.bienban-list .catalog-table td {
    padding: 10px;
    vertical-align: top;
}

.bienban-list .catalog-table td:nth-child(3) {
    min-width: 180px;
    font-weight: 600;
}

.bienban-list .catalog-table td:nth-child(5) {
    min-width: 180px;
    max-width: 300px;
}

.bienban-list .catalog-table a {
    color: #0756A5;
    overflow-wrap: anywhere;
}

.bienban-row-content {
    max-height: 120px;
    overflow: auto;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .bienban-page {
        padding: 12px;
    }

    .bienban-header h2 {
        font-size: 18px;
    }

    .bienban-info-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bienban-ai-section,
    .bienban-final-section {
        padding: 12px;
    }

    .bienban-editor {
        min-height: 200px;
    }

    .bienban-final-editor {
        min-height: 280px;
    }

    .bienban-actions button {
        flex: 1 1 auto;
    }
}


/* =========================
   THƯ VIỆN
========================= */

.thuvien-page {
    width: 100%;
}

.thuvien-header h2,
.thuvien-list h3 {
    color: #0756A5;
    margin-bottom: 18px;
}

.thuvien-form {
    display: grid;
    gap: 16px;
    max-width: 850px;
    margin-bottom: 30px;
}

.thuvien-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.thuvien-field label {
    font-weight: 600;
}

.thuvien-field input,
.thuvien-field select {
    width: 100%;
    min-height: 40px;
    padding: 9px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font: inherit;
    box-sizing: border-box;
}

.thuvien-image-area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.thuvien-preview {
    width: 120px;
    height: 150px;
    object-fit: contain;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #f7f7f7;
}

.thuvien-image-actions,
.thuvien-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.thuvien-field small {
    color: #777;
}

.thuvien-table-image {
    width: 55px;
    height: 70px;
    object-fit: contain;
    border-radius: 4px;
}

.thuvien-page .thuvien-list {
    margin-top: 25px;
}

.thuvien-page .catalog-table {
    width: 100%;
}

@media (max-width: 600px) {
    .thuvien-image-area {
        align-items: flex-start;
    }

    .thuvien-page .catalog-table {
        min-width: 600px;
    }
}

/* =====================================
   THỜI SỰ - SỰ KIỆN
===================================== */

.thoisu-page,
.sukien-page {
    width: 100%;
    box-sizing: border-box;
}

.thoisu-page h2,
.sukien-page h2 {
    margin: 0 0 22px;
    font-size: 21px;
    font-weight: 700;
    color: #1f2937;
    text-transform: uppercase;
}

.thoisu-page h3,
.sukien-page h3 {
    margin: 28px 0 14px;
    font-size: 17px;
    font-weight: 700;
    color: #374151;
}

/* Form */

.thoisu-page form,
.sukien-page form {
    max-width: 850px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-sizing: border-box;
}

.thoisu-page .form-group,
.sukien-page .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.thoisu-page .form-group label,
.sukien-page .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
}

.thoisu-page input[type="text"],
.thoisu-page input[type="url"],
.sukien-page input[type="text"],
.sukien-page input[type="url"] {
    width: 100%;
    min-height: 42px;
    padding: 10px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.thoisu-page input:focus,
.sukien-page input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.sukien-page input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px dashed #9ca3af;
    border-radius: 6px;
    background: #f9fafb;
    box-sizing: border-box;
}

/* Các nút */

.thoisu-page .form-actions,
.sukien-page .form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.thoisu-page button,
.sukien-page button {
    padding: 9px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: background 0.2s, opacity 0.2s;
}

.thoisu-page button[type="submit"],
.sukien-page button[type="submit"] {
    background: #2563eb;
    color: #fff;
}

.thoisu-page button[type="submit"]:hover,
.sukien-page button[type="submit"]:hover {
    background: #1d4ed8;
}

.thoisu-page button:disabled,
.sukien-page button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#thoiSuCancel,
#suKienCancel,
#suKienRemoveImage {
    background: #e5e7eb;
    color: #374151;
}

#thoiSuCancel:hover,
#suKienCancel:hover,
#suKienRemoveImage:hover {
    background: #d1d5db;
}

/* Thông báo */

#thoiSuMessage,
#suKienMessage {
    min-height: 20px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
}

/* Ảnh xem trước */

#suKienPreview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

#suKienPreview img {
    display: block;
    max-width: 220px;
    max-height: 160px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

/* Bảng dữ liệu */

.thoisu-page .table-responsive,
.sukien-page .table-responsive {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.thoisu-page table,
.sukien-page table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    background: #fff;
}

.thoisu-page th,
.thoisu-page td,
.sukien-page th,
.sukien-page td {
    padding: 11px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: middle;
    font-size: 13px;
}

.thoisu-page th,
.sukien-page th {
    background: #f3f4f6;
    color: #374151;
    font-weight: 700;
    white-space: nowrap;
}

.thoisu-page tbody tr:hover,
.sukien-page tbody tr:hover {
    background: #f9fafb;
}

.thoisu-page td a,
.sukien-page td a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.thoisu-page td a:hover,
.sukien-page td a:hover {
    text-decoration: underline;
}

/* Nút Sửa - Xóa trong bảng */

.thoisu-page td button[data-edit],
.sukien-page td button[data-edit] {
    margin: 2px;
    background: #2563eb;
    color: #fff;
}

.thoisu-page td button[data-delete],
.sukien-page td button[data-delete] {
    margin: 2px;
    background: #dc2626;
    color: #fff;
}

.thoisu-page td button[data-edit]:hover,
.sukien-page td button[data-edit]:hover {
    background: #1d4ed8;
}

.thoisu-page td button[data-delete]:hover,
.sukien-page td button[data-delete]:hover {
    background: #b91c1c;
}

/* Mobile */

@media (max-width: 600px) {
    .thoisu-page h2,
    .sukien-page h2 {
        font-size: 18px;
    }

    .thoisu-page form,
    .sukien-page form {
        padding: 14px;
    }

    .thoisu-page th,
    .thoisu-page td,
    .sukien-page th,
    .sukien-page td {
        padding: 9px 8px;
        font-size: 12px;
    }

    .thoisu-page button,
    .sukien-page button {
        padding: 8px 11px;
        font-size: 12px;
    }
}


#suKienPreview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.sukien-preview-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 7px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
}

.sukien-preview-item img {
    width: 110px;
    height: 85px;
    object-fit: cover;
    border-radius: 5px;
}

.sukien-preview-item span {
    font-size: 11px;
    color: #6b7280;
}


/* Ảnh sự kiện - xem trước từng ảnh */

#suKienPreview {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
}

.sukien-preview-item {
    position: relative;
    width: 145px;
    padding: 8px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
}

.sukien-preview-item img {
    display: block;
    width: 100%;
    height: 105px;
    object-fit: cover;
    border-radius: 5px;
}

.sukien-preview-item span {
    display: block;
    margin-top: 7px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}

.sukien-preview-item .sukien-remove-one {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 25px;
    height: 25px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #dc2626;
    color: #fff;
    font-size: 20px;
    line-height: 20px;
    cursor: pointer;
    z-index: 2;
}

.sukien-preview-item .sukien-remove-one:hover {
    background: #991b1b;
}


/* ================= CHỨNG CHỈ SINH VIÊN ================= */

.chungchi-page {
    width: 100%;
    min-width: 0;
}

.chungchi-header {
    margin-bottom: 18px;
}

.chungchi-header h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.chungchi-form {
    padding: 18px;
    margin-bottom: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.chungchi-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.chungchi-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.chungchi-field label {
    font-weight: 600;
    font-size: 14px;
}

.chungchi-field input,
.chungchi-field select,
.chungchi-field textarea {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #1e293b;
    font: inherit;
}

.chungchi-field textarea {
    resize: vertical;
}

.chungchi-field-wide {
    grid-column: 1 / -1;
}

.chungchi-avatar-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 85px;
    color: #64748b;
    font-size: 13px;
}

.chungchi-avatar-box img {
    width: 76px;
    height: 76px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
}

.chungchi-form-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 16px;
}

.chungchi-btn {
    border: 0;
    border-radius: 6px;
    padding: 8px 13px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}

.chungchi-btn:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.chungchi-save {
    background: #2563eb;
    color: #fff;
}

.chungchi-cancel {
    background: #e2e8f0;
    color: #334155;
}

.chungchi-edit {
    background: #dbeafe;
    color: #1d4ed8;
}

.chungchi-delete {
    background: #fee2e2;
    color: #b91c1c;
}

.chungchi-message {
    font-size: 13px;
    color: #64748b;
}

.chungchi-message.success {
    color: #15803d;
}

.chungchi-message.error {
    color: #dc2626;
}

.chungchi-list h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.chungchi-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.chungchi-table {
    width: 100%;
    min-width: 950px;
    border-collapse: collapse;
}

.chungchi-table th,
.chungchi-table td {
    padding: 10px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
}

.chungchi-table th {
    background: #f1f5f9;
    white-space: nowrap;
}

.chungchi-table td {
    white-space: nowrap;
}

.chungchi-table .chungchi-achievement {
    min-width: 220px;
    max-width: 360px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.chungchi-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

@media (max-width: 650px) {
    .chungchi-form-grid {
        grid-template-columns: 1fr;
    }

    .chungchi-field-wide {
        grid-column: auto;
    }

    .chungchi-header h2 {
        font-size: 17px;
    }
}


/* =====================================
   DANH SÁCH ĐỀ THI
===================================== */

.danhsachdethi-page {
    width: 100%;
    min-width: 0;
    color: #243447;
}

.dsdt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
    padding-bottom: 14px;
    border-bottom: 2px solid #0756A5;
}

.dsdt-header h2 {
    margin: 0;
    color: #0756A5;
    font-size: 21px;
}

.dsdt-count {
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
}

.dsdt-tools {
    display: flex;
    flex-wrap: nowrap;
    gap: 9px;
    margin-bottom: 14px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.dsdt-tools input,
.dsdt-tools select {
    min-width: 170px;
    min-height: 39px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #243447;
    font: inherit;
    flex: 0 0 auto;
}

.dsdt-message {
    min-height: 20px;
    margin: 10px 0;
    color: #64748b;
    font-size: 13px;
}

.dsdt-table-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dsdt-table {
    width: 100%;
    min-width: 1250px;
    border-collapse: collapse;
    font-size: 13px;
}

.dsdt-table th,
.dsdt-table td {
    padding: 10px 9px;
    border: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
}

.dsdt-table th {
    background: #0756A5;
    color: #fff;
    font-weight: 700;
}

.dsdt-table tbody tr:hover {
    background: #f1f7fd;
}

.dsdt-empty {
    padding: 22px !important;
    text-align: center !important;
    color: #64748b;
}

.dsdt-btn {
    padding: 7px 13px;
    border: 0;
    border-radius: 5px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 600;
    cursor: pointer;
}

.dsdt-btn:hover {
    background: #bae6fd;
}

.dsdt-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0,0,0,.55);
}

.dsdt-modal {
    width: min(900px, 100%);
    max-height: 90vh;
    overflow: auto;
    padding: 22px;
    border-radius: 12px;
    background: #fff;
    color: #243447;
    box-shadow: 0 15px 45px rgba(0,0,0,.25);
}

.dsdt-modal h3 {
    margin: 0 0 18px;
    color: #0756A5;
}

.dsdt-modal h4 {
    margin: 22px 0 10px;
    color: #0756A5;
}

.dsdt-info {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.dsdt-info-item {
    padding: 10px;
    border-radius: 7px;
    background: #f1f5f9;
    overflow-wrap: anywhere;
}

.dsdt-info-item strong {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 12px;
}

.dsdt-info-item span {
    font-size: 13px;
}

.dsdt-content {
    max-height: 450px;
    overflow: auto;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #f8fafc;
    color: #1e293b;
    font: 13px/1.65 Arial, sans-serif;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.dsdt-close {
    display: block;
    margin: 18px 0 0 auto;
    padding: 9px 20px;
    border: 0;
    border-radius: 6px;
    background: #0756A5;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

.dsdt-close:hover {
    background: #06447F;
}

@media (max-width: 700px) {
    .dsdt-header h2 {
        font-size: 18px;
    }

    .dsdt-info {
        grid-template-columns: 1fr 1fr;
    }

    .dsdt-modal {
        padding: 15px;
    }
}

@media (max-width: 420px) {
    .dsdt-info {
        grid-template-columns: 1fr;
    }
}


/* Mobile usability pass 1: responsive header and content containment */

@media (max-width: 700px) {
  .admin-page,
  .admin-header,
  .admin-layout,
  .admin-sidebar,
  .admin-content,
  .admin-tab-container {
    min-width: 0;
    max-width: 100%;
  }

  .admin-header-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .admin-header-actions > a,
  .admin-header-actions > button,
  .admin-btn,
  .admin-logout-btn {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    white-space: normal;
    line-height: 1.25;
    text-align: center;
    justify-content: center;
  }

  .admin-content,
  .admin-tab-container {
    overflow-x: hidden;
  }

  .admin-tab-container img,
  .admin-tab-container video,
  .admin-tab-container iframe {
    max-width: 100%;
  }

  .admin-tab-container input,
  .admin-tab-container select,
  .admin-tab-container textarea {
    max-width: 100%;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .admin-header-actions {
    gap: 6px;
  }

  .admin-header-actions > a,
  .admin-header-actions > button {
    padding-left: 6px;
    padding-right: 6px;
    font-size: 11px;
  }

  .admin-tab-container {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Mobile usability pass 2: internal admin tabs */
@media (max-width: 700px) {
  #adminTabContent {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  #adminTabContent :where(.form-grid, .filter-grid, .profile-grid, .admin-form-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #adminTabContent :where(table) {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #adminTabContent :where(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
    box-sizing: border-box;
    max-width: 100%;
    min-width: 0;
  }

  #adminTabContent :where(button, input[type="button"], input[type="submit"]) {
    min-height: 40px;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  #adminTabContent :where(.dssv-header, .dssv-tools, .table-tools, .toolbar, .action-row, .form-actions) {
    flex-wrap: wrap;
    align-items: stretch;
  }

  #adminTabContent :where(.dssv-table-wrap, .table-wrap, .table-responsive) {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  #adminTabContent :where(.dssv-profile-grid, .profile-grid) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  #adminTabContent :where(img, video, iframe, canvas) {
    max-width: 100%;
  }

  #adminTabContent :where(.dssv-modal, .modal, [role="dialog"]) {
    width: calc(100vw - 20px);
    max-width: 680px;
    max-height: calc(100dvh - 20px);
    overflow: auto;
    box-sizing: border-box;
  }
}
@media (max-width: 380px) {
  #adminTabContent :where(.dssv-modal, .modal) {
    padding: 12px;
  }
}

/* =====================================================
   ADMIN SYSTEM TOOLS: BACKUP / RESTORE / LOAD TEST
===================================================== */
.admin-tool-page { color: #172033; padding: 20px; }
.admin-tool-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 18px; }
.admin-tool-heading h2 { margin: 5px 0 8px; color: #123d70; font-size: 24px; }
.admin-tool-heading p { margin: 0; color: #5b6678; line-height: 1.55; }
.admin-tool-kicker { color: #e27b22; font-size: 11px; font-weight: 800; letter-spacing: 1.4px; }
.admin-tool-warning { margin: 14px 0 20px; padding: 13px 15px; border-left: 4px solid #e39a32; border-radius: 7px; background: #fff7e9; color: #63420f; line-height: 1.55; }
.admin-tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.admin-tool-card { min-width: 0; padding: 18px; border: 1px solid #dce4ee; border-radius: 12px; background: #fff; box-shadow: 0 3px 12px rgba(20, 45, 75, .05); }
.admin-tool-card h3 { margin: 0 0 12px; color: #183f6b; font-size: 17px; }
.admin-tool-card p { color: #5d6878; line-height: 1.5; }
.admin-tool-card label { display: block; margin: 12px 0 5px; color: #35445a; font-weight: 650; font-size: 13px; }
.admin-tool-card input:not([type="file"]), .admin-tool-card select { display: block; width: 100%; min-height: 40px; padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 7px; background: #fff; color: #172033; }
.admin-tool-card input[type="file"] { display: block; width: 100%; margin: 12px 0; }
.admin-tool-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 10px 8px 0 0; padding: 9px 15px; border: 0; border-radius: 7px; background: #174b83; color: #fff; font-weight: 700; cursor: pointer; }
.admin-tool-btn:hover { filter: brightness(1.08); }
.admin-tool-btn.secondary { background: #536579; }
.admin-tool-btn.danger { background: #c93434; }
.admin-tool-confirm-label { margin-top: 16px !important; }
.admin-tool-message { min-height: 24px; margin: 16px 0 8px; padding: 10px 12px; border-radius: 7px; white-space: pre-wrap; overflow-wrap: anywhere; }
.admin-tool-message.success { background: #eaf7ef; color: #17613a; }
.admin-tool-message.error { background: #fff0f0; color: #a52222; }
.admin-tool-footnote { color: #687588; font-size: 12px; line-height: 1.5; }
.admin-test-log { max-height: 300px; overflow: auto; padding: 14px; border-radius: 8px; background: #111d2c; color: #d8e7f7; white-space: pre-wrap; overflow-wrap: anywhere; font: 12px/1.6 Consolas, monospace; }
@media (max-width: 760px) { .admin-tool-page { padding: 12px; } .admin-tool-grid { grid-template-columns: 1fr; } .admin-tool-heading h2 { font-size: 20px; } }
