:root {
    --dilawri-red: #ba0c2f;
    --dilawri-red-dark: #8f0923;
    --dilawri-red-light: #f8edf0;
    --bg: #eef1f5;
    --card: #ffffff;
    --text: #14213d;
    --muted: #52607a;
    --line-dark: #d1d5db;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Montserrat", Arial, sans-serif;
    background: linear-gradient(180deg, #f5f7fa 0%, var(--bg) 100%);
    color: var(--text);
}

.dilawri-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background: #333333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.dilawri-header-inner {
    height: 80px;
    padding: 0 12px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.dilawri-header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.dilawri-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.dilawri-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.dilawri-logo {
    width: auto;
    max-height: 70px;
}

.dilawri-nav-list {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dilawri-nav-list li a {
    color: #f3f4f6;
    text-decoration: none;
    font-size: 16px;
}

.dilawri-nav-list li a:hover,
.dilawri-nav-list li.active a {
    color: #ffffff;
}

.dilawri-user-name {
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
}

.separator {
    color: rgba(255, 255, 255, 0.55);
}

.dilawri-user-menu {
    position: relative;
    display: inline-flex;
    align-items: center;
}


.dilawri-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 0;
    color: #d8d8d8;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 10px;
    border-radius: 8px;
}

.dilawri-logout {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    padding: 8px 16px;
    margin-right: 16px;
}

.dilawri-logout:hover {
    color: #ffffff;
}

.page,
.page-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 30px 40px;
}

.flash-wrap {
    max-width: 1280px;
    padding: 0 40px;
}

.alert {
    max-width: 1200px;
    margin: 15px auto 20px auto;
    padding: 14px 18px;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.alert-success {
    background-color: #eaf7ee;
    border-color: #b7dfc2;
    color: #1f6b37;
}

.alert-danger {
    background-color: #fdecec;
    border-color: #f5c2c7;
    color: #a12622;
}

.alert-warning {
    background-color: #fff8e5;
    border-color: #f2d58a;
    color: #8a6d1d;
}

.alert .close {
    border: 0;
    background: transparent;
    color: inherit;
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    opacity: 0.65;
    padding: 0;
}

.login-page {
    max-width: 1140px;
    padding: 20px 40px;
}

.login-title,
.reset-title {
    font-size: 27px;
    font-weight: 400;
    margin-bottom: 40px;
}

.login-form {
    max-width: 1200px;
}

.form-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    column-gap: 28px;
    align-items: center;
    margin-bottom: 26px;
}

.form-row label {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    color: #0f2f57;
}

.login-input {
    width: 100%;
    max-width: 750px;
    height: 44px;
    padding: 10px 12px;
    border: 1px solid #cfd6df;
    border-radius: 4px;
    font-size: 16px;
    outline: none;
    background: #ffffff;
}

.form-top-actions {
    margin-bottom: 18px;
}

.back-dashboard-link {
    color: #ba0c2f;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.back-dashboard-link:hover {
    text-decoration: underline;
}

.login-input:focus {
    border-color: var(--dilawri-red);
    box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.08);
}

.password-wrap {
    position: relative;
    width: 100%;
    max-width: 750px;
}

.password-wrap .login-input {
    max-width: none;
    padding-right: 44px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.password-eye-icon {
    width: 18px;
    height: 18px;
    display: block;
}

.actions-row {
    margin-top: 8px;
}

.actions-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-signin,
.forgot-link,
.btn-red {
    min-width: 165px;
    height: 41px;
    padding: 0 18px;
    border: 0;
    border-radius: 4px;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    cursor: pointer;
    font-size: 16px;
}

.btn-signin {
    background: #198754;
}

.btn-signin:hover {
    background: #157347;
}

.forgot-link,
.btn-red {
    background: var(--dilawri-red);
}

.forgot-link:hover,
.btn-red:hover {
    background: var(--dilawri-red-dark);
    color: #ffffff;
    text-decoration: none;
}

.dilawri-footer {
    margin-top: 28px;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
}

.dilawri-user-icon {
    width: 20px;
    height: auto;
    border-radius: 999px;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
}

.dilawri-footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    color: var(--muted);
    font-size: 14px;
}

.dilawri-footer-sep {
    color: var(--line-dark);
}

.page-404 {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: #f3f4f6;
}

.card-404 {
    width: 100%;
    max-width: 620px;
    padding: 48px 38px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    text-align: center;
}

.card-404 h1 {
    margin: 0 0 10px;
    font-size: 72px;
    line-height: 1;
    font-weight: 700;
    color: var(--dilawri-red);
}

.card-404 h2 {
    margin: 0 0 14px;
    font-size: 30px;
    font-weight: 700;
    color: #111827;
}

.card-404 p {
    margin: 0 0 28px;
    font-size: 16px;
    color: #6b7280;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    height: 42px;
    padding: 0 20px;
    border-radius: 6px;
    background: var(--dilawri-red);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
}

.btn-home:hover {
    background: var(--dilawri-red-dark);
}

.request-type-help,
.field-note {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #52607a;
}

.request-type-help {
    padding: 10px 12px;
    background: #f8edf0;
    border-left: 4px solid #ba0c2f;
    border-radius: 6px;
}

.brand {
    text-align: center;
    margin-bottom: 32px;
}

.brand h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
    color: var(--text);
}

.brand h2 {
    margin: 8px 0 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--muted);
}

.form-shell {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-card {
    border: 1px solid #e7ebf1;
    border-radius: 20px;
    padding: 28px;
    background: #ffffff;
}

.field-dropdown {
    position: relative;
    width: 100%;
}

.field-dropdown .dropdown-trigger {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d5dbe5;
    border-radius: 10px;
    background: #ffffff;
    color: #14213d;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: none;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    cursor: pointer;
}

.field-dropdown .dropdown-trigger:hover,
.field-dropdown .dropdown-trigger:focus {
    border-color: var(--dilawri-red);
    box-shadow: 0 0 0 3px rgba(186, 12, 47, 0.08);
}

.field-dropdown .dropdown-caret {
    margin-left: 12px;
    flex: 0 0 auto;
    font-size: 14px;
    color: #14213d;
}

.field-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 9999;
    display: none;
    background: #ffffff;
    border: 1px solid #d7deea;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.field-dropdown.is-open .dropdown-menu {
    display: block;
}

.field-dropdown .dropdown-search-wrap {
    padding: 10px;
    border-bottom: 1px solid #e7ebf1;
    background: #ffffff;
}

.field-dropdown .dropdown-search {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #d7deea;
    border-radius: 12px;
    background: #ffffff;
    color: #14213d;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
}

.field-dropdown .dropdown-search:focus {
    border-color: var(--dilawri-red);
    box-shadow: 0 0 0 4px rgba(186, 12, 47, 0.08);
}

.field-dropdown .dropdown-options {
    max-height: 260px;
    overflow-y: auto;
    background: #ffffff;
}

.field-dropdown .dropdown-item {
    width: 100%;
    display: block;
    padding: 12px 14px;
    border: 0;
    border-radius: 0;
    margin: 0;
    background: #ffffff;
    color: #14213d;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    box-shadow: none;
}

.field-dropdown .dropdown-item:hover,
.field-dropdown .dropdown-item.is-selected {
    background: #f5f7fa;
    color: #14213d;
}

.section-head {
    margin-bottom: 22px;
}

.section-head h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.section-head p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
}

.label-en {
    display: flex;
    align-items: center;
    gap: 6px;
}

.help-wrap {
    position: relative;
    display: inline-flex;
}

.help-icon {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    border: 1px solid #999;
    background: #fff;
    color: #555;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 5px;
}

.help-tooltip {
    display: none;
    position: absolute;
    top: 24px;
    left: 0;
    width: 260px;
    background: #222;
    color: #fff;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 400;
    z-index: 50;
}

.help-wrap:hover .help-tooltip,
.help-wrap:focus-within .help-tooltip {
    display: block;
}

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

.field-full {
    grid-column: 1 / -1;
}

.label-en {
    display: flex;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
}

input,
textarea,
select {
    width: 100%;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 15px;
    color: var(--text);
    background: #ffffff;
    border: 1px solid #d7deea;
    border-radius: 12px;
    padding: 14px 16px;
}

textarea {
    resize: vertical;
    min-height: 120px;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--dilawri-red);
    box-shadow: 0 0 0 4px rgba(186, 12, 47, 0.08);
}

.request-type-help,
.field-note {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #52607a;
}

.request-type-help {
    padding: 10px 12px;
    background: #f8edf0;
    border-left: 4px solid #ba0c2f;
    border-radius: 6px;
}

.action-card {
    text-align: center;
}

.page {
    max-width: 1180px;
    margin: 36px auto 56px;
    padding: 30px 16px;
    background: #ffffff;
}

.form-card {
    border: 1px solid #dfe5ee;
    border-radius: 22px;
    padding: 36px 34px;
    background: #ffffff;
}

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

.field-full {
    grid-column: 1 / -1;
}

.accordion {
    margin-top: 14px;
}

.accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
}

.accordion-header {
    padding: 16px;
    font-weight: 600;
    background: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-icon {
    font-size: 18px;
    font-weight: 700;
}

.accordion-body {
    padding: 16px;
    font-size: 14px;
    color: #475569;
}

.accordion-body ul {
    margin: 0;
    padding-left: 18px;
}

.accordion-body li {
    margin-bottom: 10px;
}

.approval-accordion {
    margin-top: 14px;
}

.approval-card {
    border: 1px solid #f1b8c2;
    border-left: 4px solid var(--dilawri-red);
    border-radius: 8px;
    background: #fff7f9;
    overflow: hidden;
}

.approval-card-header {
    width: 100%;
    border: 0;
    background: #fff0f3;
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #14213d;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

.approval-header-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.approval-icon {
    color: var(--dilawri-red);
    font-size: 14px;
    font-weight: 700;
    background: var(--card);
    padding: 8px;
}

.approval-toggle {
    color: var(--dilawri-red);
    font-size: 16px;
    font-weight: 700;
}

.approval-card-body {
    display: none;
    padding: 14px 18px 16px;
}

.approval-card.is-open .approval-card-body {
    display: block;
    background: white;
}

.approval-row {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
}

.approval-row:last-of-type {
    border-bottom: none;
}

.approval-dot {
    width: 6px;
    height: 6px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--dilawri-red);
}

.approval-cost {
    font-size: 14px;
    font-weight: 700;
    color: #14213d;
    margin-bottom: 5px;
}

.approval-requirement {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

.approval-requirement strong {
    font-weight: 700;
}

.approval-note {
    margin: 12px 0 0;
    font-size: 12px;
    font-style: italic;
    color: #52607a;
}

.muted {
    margin: -2px 0 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #52607a;
}

.approval-description {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
}

.approval-note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.5;
    color: #52607a;
}

.dashboard-page {
    padding: 24px;
    background: #f6f7f9;
    min-height: 100vh;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.dashboard-header h1 {
    margin: 0;
    font-size: 26px;
    color: #17233c;
}

.dashboard-header p {
    margin: 6px 0 0;
    color: #5b6474;
    font-size: 14px;
}

.btn-primary,
.btn-search {
    background: #c8102e;
    color: white;
    border: none;
    padding: 11px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
}

.search-panel,
.table-card,
.summary-card {
    background: white;
    border: 1px solid #dfe4ec;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(20, 30, 50, 0.04);
}

.search-panel {
    padding: 20px;
    margin-bottom: 18px;
}

.search-panel-header,
.table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.search-panel h2,
.table-header h2 {
    margin: 0;
    font-size: 18px;
    color: #17233c;
}

.minimize-btn,
.btn-secondary,
.btn-export {
    background: white;
    border: 1px solid #cfd6e2;
    border-radius: 6px;
    padding: 10px 14px;
    color: #273348;
    text-decoration: none;
    cursor: pointer;
    font-size: 14px;
}

.search-panel-body[hidden] {
    display: none;
}

.status.approved-for-execution {
    background: #dcf7e8;
    color: #146c3e;
}

.status.pending-review,
.status.pending-approval {
    background: #fff1df;
    color: #9a4b00;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
    color: #17233c;
}

.form-group input,
.form-group select,
.table-filter {
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid #d5dbe5;
    border-radius: 10px;
    background: #ffffff;
    color: #14213d;
    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.2;
    box-shadow: none;
    outline: none;
    text-align: left;
    cursor: pointer;
}

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

.summary-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}

.summary-card {
    padding: 20px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.summary-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fde9ed;
    color: #c8102e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.summary-card span {
    display: block;
    font-size: 13px;
    color: #5b6474;
    margin-bottom: 5px;
}

.summary-card strong {
    font-size: 21px;
    color: #17233c;
}

.table-card {
    padding: 20px;
}

.table-filter {
    max-width: 260px;
}

.table-scroll {
    overflow-x: auto;
}

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

.dashboard-table th {
    background: #f3f6fa;
    color: #17233c;
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid #dfe4ec;
    white-space: nowrap;
}

.dashboard-table td {
    padding: 13px 12px;
    border-bottom: 1px solid #edf0f5;
    color: #273348;
    vertical-align: top;
}

.dashboard-table tr:hover {
    background: #fafbfc;
}

.status {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status.pending-approval {
    background: #fff0dd;
    color: #9b4b00;
}

.status.approved-for-execution,
.status.approved {
    background: #dcf7e8;
    color: #146c3e;
}

.status.submitted {
    background: #e2edff;
    color: #1257b7;
}

.status.declined {
    background: #fde2e2;
    color: #b42318;
}

.dashboard-table td a {
    color: #0057b8;
    font-weight: 600;
    text-decoration: none;
    margin-right: 10px;
}

.table-footer {
    margin-top: 16px;
    color: #5b6474;
    font-size: 13px;
}

.detail-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px;
}

.detail-hero,
.detail-card {
    background: #ffffff;
    border: 1px solid #e1e5ec;
    border-radius: 18px;
    padding: 10px 30px;
    margin-bottom: 24px;
}

.detail-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eyebrow {
    color: #c4002f;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 13px;
    margin-bottom: 8px;
}

.detail-hero h1 {
    color: #002b62;
    font-size: 24px;
    margin: 0;
}

.detail-hero p {
    color: #667085;
    font-size: 18px;
    margin: 8px 0 0;
}

.detail-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.detail-card h2 {
    color: #001f4e;
    font-size: 24px;
    margin: 0 0 22px;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 60px;
}

.detail-grid label {
    display: block;
    color: #4b5563;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.detail-grid p {
    color: #111827;
    font-size: 15px;
    margin: 0;
}

.detail-full {
    grid-column: 1 / -1;
}

.detail-box {
    border: 1px solid #e5e7eb;
    background: #fafafa;
    border-radius: 12px;
    padding: 18px;
    min-height: 70px;
    font-size: 14px;
    color: #111827;
}

.detail-card hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 28px 0;
}

.approval-timeline {
    display: grid;
    gap: 12px;
}

.timeline-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 22px;
}

.timeline-item strong {
    color: #001f4e;
}

.timeline-item p {
    margin: 4px 0 0;
    color: #667085;
}

.approval-stage-group {
    display: block;
}

.approval-stage-group-inner {
    width: 100%;
}

.approval-person-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 10px 0;
}

.approval-person-row + .approval-person-row {
    border-top: 1px solid #eef1f5;
}

.status.not-required {
    background: #eef1f5;
    color: #4b5563;
}


@media (max-width: 1100px) {

    .filter-grid,
    .summary-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {

    .dashboard-header,
    .search-panel-header,
    .table-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .filter-grid,
    .summary-row {
        grid-template-columns: 1fr;
    }

    .table-filter {
        max-width: 100%;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .field-full {
        grid-column: auto;
    }

    .form-card,
    .action-card {
        padding: 20px 16px;
    }
}

@media (max-width: 640px) {
    .dilawri-header {
        position: static;
    }

    .dilawri-header-inner {
        height: auto;
        padding: 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .dilawri-header-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .dilawri-header-right {
        margin-left: 0;
    }

    .dilawri-nav-list li a {
        font-size: 13px;
    }

    .page,
    .page-content {
        padding: 20px 16px;
    }

    .login-page {
        padding: 20px 0;
    }

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

    .form-row {
        grid-template-columns: 1fr;
        row-gap: 10px;
        margin-bottom: 20px;
    }

    .login-input,
    .password-wrap {
        max-width: 100%;
    }

    .actions-group {
        flex-wrap: wrap;
    }

    .dilawri-footer-inner {
        flex-direction: column;
        align-items: center;
        gap: 6px;
        text-align: center;
    }

    .dilawri-footer-sep {
        display: none;
    }
}