/**
 * استایل پنل ساکنان (Frontend) — قاصدک هسته
 */

body.page-resident-panel,
body.gksoft-bmcs-panel {
    background: #f9fafb;
}

.gksoft-bmcs-panel-wrap {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 80vh;
    display: flex;
    flex-direction: column;
}

.panel-header {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 700;
}

/* §4-A — Brand text stack: system name (bold) + panel subtitle (small muted). */
.panel-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.panel-logo-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}
.panel-logo-sub {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    margin-top: 1px;
}

/* §4-A — small version pill shown next to the user menu (Core's own version). */
.panel-version {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.panel-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.panel-user .logout-link {
    color: #fff;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.18);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    text-align: center;
    transition: all 0.15s ease;
}

.panel-user .logout-link:hover {
    background: rgba(0, 0, 0, 0.32);
    color: #fff;
    text-decoration: none;
}

.panel-body {
    display: flex;
    flex: 1;
    min-height: 600px;
}

.panel-sidebar {
    background: #fafbfc;
    border-left: 1px solid #e5e7eb;
    width: 240px;
    padding: 20px 0;
    flex-shrink: 0;
}

.panel-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.panel-sidebar li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #4b5563;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-right: 3px solid transparent;
}

.panel-sidebar li a:hover {
    background: #fff5eb;
    color: #ea580c;
}

.panel-sidebar li.active a {
    background: #fff5eb;
    color: #ea580c;
    border-right-color: #f97316;
    font-weight: 600;
}

.panel-sidebar li a .dashicons {
    font-size: 18px;
    width: 18px;
}

.panel-content {
    flex: 1;
    padding: 25px 30px;
    overflow-y: auto;
}

.panel-content h1 {
    color: #ea580c;
    border-bottom: 2px solid #f97316;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 22px;
}

.panel-content h2 {
    color: #374151;
    font-size: 16px;
    margin-top: 25px;
}

/* Stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.stat-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: all 0.2s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.stat-card .stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
}

.stat-card .stat-label {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.stat-card.danger { background: #fef2f2; border-color: #fecaca; }
.stat-card.danger .stat-value { color: #dc2626; }
.stat-card.warn { background: #fffbeb; border-color: #fde68a; }
.stat-card.warn .stat-value { color: #d97706; }
.stat-card.success { background: #f0fdf4; border-color: #bbf7d0; }
.stat-card.success .stat-value { color: #16a34a; }

/* Data table */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.data-table thead {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff;
}

.data-table th {
    padding: 12px;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
}

.data-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
    font-size: 13px;
}

.data-table tr:hover td {
    background: #fff5eb;
}

.data-table .total-row td {
    background: #fff5eb;
    font-weight: 700;
    color: #ea580c;
}

.data-table .danger-row td {
    background: #fef2f2;
    color: #dc2626;
}

/* Badge */
.badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    background: #f3f4f6;
    color: #374151;
}
.badge-issued { background: #dbeafe; color: #1e40af; }
.badge-paid { background: #dcfce7; color: #15803d; }
.badge-partial { background: #fef3c7; color: #b45309; }
.badge-overdue { background: #fee2e2; color: #b91c1c; }
.badge-draft { background: #f3f4f6; color: #6b7280; }
.badge-cancelled { background: #fee2e2; color: #b91c1c; }
.badge-success { background: #dcfce7; color: #15803d; }
.badge-pending { background: #fef3c7; color: #b45309; }
.badge-failed { background: #fee2e2; color: #b91c1c; }
.badge-active { background: #dcfce7; color: #15803d; }

/* Buttons */
.btn-primary,
.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: #fff !important;
    text-decoration: none;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    min-height: 38px;
    line-height: 1.4;
    text-align: center;
    cursor: pointer;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-primary:hover,
.btn-sm:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%);
    color: #fff !important;
}

.btn-primary:active,
.btn-sm:active {
    background: #c2410c;
    color: #fff !important;
}

.btn-primary:disabled,
.btn-primary[disabled],
.btn-sm:disabled,
.btn-sm[disabled] {
    background: #d1d5db !important;
    color: #6b7280 !important;
    text-shadow: none !important;
    cursor: not-allowed;
    opacity: 1;
}

.btn-sm {
    min-height: 30px;
    padding: 5px 12px;
    font-size: 12px;
}

/* Forms */
.panel-form {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
    max-width: 600px;
}

.form-row {
    margin-bottom: 12px;
}

.form-row label {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
}

.form-row-inline {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.form-row-inline input,
.form-row-inline select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

/* Notifications */
.notifications-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.notifications-list li {
    background: #fff;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    border-right: 4px solid #d1d5db;
}

.notifications-list li.unread {
    border-right-color: #f97316;
    background: #fff5eb;
}

.notifications-list li h4 {
    margin: 0 0 5px;
    font-size: 14px;
}

.notifications-list li p {
    margin: 0 0 5px;
    font-size: 13px;
    color: #4b5563;
}

.notifications-list li small {
    color: #9ca3af;
    font-size: 11px;
}

/* Notice box */
.notice-box {
    border-radius: 8px;
    padding: 15px 20px;
    margin: 15px 0;
}

.notice-box.urgent {
    background: #fef3c7;
    border-right: 4px solid #f59e0b;
}

.notice-box h3 {
    margin: 0 0 8px;
    color: #b45309;
}

/* Vote card */
.vote-card {
    background: #f9fafb;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid #e5e7eb;
}

.vote-card h3 {
    margin: 0 0 8px;
    color: #1f2937;
}

.vote-card label {
    display: block;
    padding: 6px 0;
    cursor: pointer;
}

.vote-results {
    list-style: none;
    padding: 0;
}

.vote-results li {
    padding: 6px 0;
    border-bottom: 1px solid #e5e7eb;
}

/* Payment result */
.payment-result {
    text-align: center;
    padding: 60px 20px;
}

.payment-result.success {
    background: #f0fdf4;
}

.payment-result.failed {
    background: #fef2f2;
}

.payment-result h1 {
    border: none;
    color: #16a34a;
}

.payment-result.failed h1 {
    color: #dc2626;
}

/* Invoice meta */
.invoice-meta {
    background: #f9fafb;
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 13px;
}

.invoice-summary {
    background: #fff5eb;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
}

.invoice-summary .remaining {
    color: #ea580c;
    font-size: 16px;
    margin: 10px 0;
}

/* Messages */
.success-msg,
.error-msg {
    padding: 12px 15px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 13px;
}

.success-msg {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.error-msg {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 768px) {
    .panel-body {
        flex-direction: column;
    }
    .panel-sidebar {
        width: 100%;
        border-left: none;
        border-bottom: 1px solid #e5e7eb;
        padding: 10px 0;
    }
    .panel-sidebar ul {
        display: flex;
        overflow-x: auto;
        padding: 0 10px;
    }
    .panel-sidebar li a {
        white-space: nowrap;
        padding: 10px 15px;
        border-right: none;
        border-bottom: 3px solid transparent;
    }
    .panel-sidebar li.active a {
        border-right: none;
        border-bottom-color: #f97316;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .form-row-inline {
        grid-template-columns: 1fr;
    }
    .data-table {
        font-size: 11px;
    }
    .data-table th,
    .data-table td {
        padding: 6px 8px;
    }
}

/* =========================================================================
 * استایل داشبوردهای فرانت‌اند (مدیر، خزانه‌دار، مالک، مستأجر، پرسنل)
 * ========================================================================= */

.gksoft-bmcs-frontend-wrap {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 24px;
    direction: rtl;
}

.gksoft-bmcs-frontend-wrap .gksoft-bmcs-dashboard {
    background: transparent;
    padding: 0;
}

.gksoft-bmcs-frontend-wrap h1 {
    color: #ea580c;
    border-bottom: 2px solid #f97316;
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-size: 22px;
}

.gksoft-bmcs-frontend-wrap h2 {
    color: #1f2937;
    font-size: 16px;
    margin: 24px 0 12px;
}

.gksoft-bmcs-frontend-wrap table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.gksoft-bmcs-frontend-wrap table th,
.gksoft-bmcs-frontend-wrap table td {
    padding: 10px 12px;
    text-align: right;
    border-bottom: 1px solid #f3f4f6;
}

.gksoft-bmcs-frontend-wrap table th {
    background: #f9fafb;
    color: #374151;
    font-weight: 600;
    font-size: 13px;
}

.gksoft-bmcs-frontend-wrap table td {
    color: #4b5563;
    font-size: 13px;
}

.gksoft-bmcs-frontend-wrap table tbody tr:hover {
    background: #fef3e7;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin: 16px 0 24px;
}

.dashboard-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.dashboard-col-1 { grid-column: span 1; }
.dashboard-col-2 { grid-column: span 1; }

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}
.badge-issued  { background: #fef3c7; color: #92400e; }
.badge-paid    { background: #d1fae5; color: #065f46; }
.badge-partial { background: #dbeafe; color: #1e40af; }
.badge-overdue { background: #fee2e2; color: #991b1b; }
.badge-draft   { background: #f3f4f6; color: #6b7280; }
.badge-cancelled { background: #f3f4f6; color: #6b7280; }

.overdue-list,
.pending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overdue-list li,
.pending-list li {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 10px 12px;
    border-bottom: 1px solid #f3f4f6;
}

.overdue-list .amount,
.pending-list .amount {
    margin-right: auto;
    color: #dc2626;
    font-weight: 600;
}

.overdue-list .days {
    color: #9ca3af;
    font-size: 11px;
}

.gksoft-bmcs-login-prompt,
.gksoft-bmcs-notice {
    max-width: 600px;
    margin: 40px auto;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    font-family: 'Vazirmatn', Tahoma, sans-serif;
}

.gksoft-bmcs-login-prompt .button,
.gksoft-bmcs-notice .button {
    margin-top: 12px;
}

.notice-warning.gksoft-bmcs-notice { border-right-color: #f97316; background: #fffbeb; }
.notice-error.gksoft-bmcs-notice   { border-right-color: #dc2626; background: #fef2f2; }

@media (max-width: 768px) {
    .dashboard-row {
        grid-template-columns: 1fr;
    }
    .dashboard-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
 * WP-native .button / .button-primary standardization — v2.2.8
 * Scope: frontend dashboard + resident panel + login/notice containers
 *   (.gksoft-bmcs-panel-wrap, .gksoft-bmcs-frontend-wrap,
 *    .gksoft-bmcs-login-prompt, .gksoft-bmcs-notice).
 * .button.button-primary → orange gradient + white text (matches .btn-primary
 *   above) — fixes WP-native gray/blue primary buttons on the frontend.
 * .button (default) / .button.button-secondary → white bg + orange border +
 *   orange text (matches gk-btn-secondary); hover/active → orange bg + white text.
 * NO blue/indigo. White text maintained on colored hover/active backgrounds.
 * NOTE: existing `.gksoft-bmcs-login-prompt .button { margin-top: 12px }`
 *   rule above is preserved (only sets margin; no specificity conflict).
 * ========================================================================== */
.gksoft-bmcs-panel-wrap .button.button-primary,
.gksoft-bmcs-frontend-wrap .button.button-primary,
.gksoft-bmcs-login-prompt .button.button-primary,
.gksoft-bmcs-notice .button.button-primary {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    border: 1px solid #ea580c !important;
    color: #fff !important;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15) !important;
    font-weight: 600 !important;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    transition: all 0.15s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(249, 115, 22, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.gksoft-bmcs-panel-wrap .button.button-primary:hover,
.gksoft-bmcs-frontend-wrap .button.button-primary:hover,
.gksoft-bmcs-login-prompt .button.button-primary:hover,
.gksoft-bmcs-notice .button.button-primary:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    border-color: #c2410c !important;
    color: #fff !important;
}

.gksoft-bmcs-panel-wrap .button.button-primary:active,
.gksoft-bmcs-frontend-wrap .button.button-primary:active,
.gksoft-bmcs-login-prompt .button.button-primary:active,
.gksoft-bmcs-notice .button.button-primary:active {
    background: #c2410c !important;
    border-color: #c2410c !important;
    color: #fff !important;
}

.gksoft-bmcs-panel-wrap .button.button-primary:disabled,
.gksoft-bmcs-panel-wrap .button.button-primary[disabled],
.gksoft-bmcs-frontend-wrap .button.button-primary:disabled,
.gksoft-bmcs-frontend-wrap .button.button-primary[disabled],
.gksoft-bmcs-login-prompt .button.button-primary:disabled,
.gksoft-bmcs-login-prompt .button.button-primary[disabled],
.gksoft-bmcs-notice .button.button-primary:disabled,
.gksoft-bmcs-notice .button.button-primary[disabled] {
    background: #d1d5db !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
    text-shadow: none !important;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
}

.gksoft-bmcs-panel-wrap .button:not(.button-primary),
.gksoft-bmcs-frontend-wrap .button:not(.button-primary),
.gksoft-bmcs-login-prompt .button:not(.button-primary),
.gksoft-bmcs-notice .button:not(.button-primary),
.gksoft-bmcs-panel-wrap .button.button-secondary,
.gksoft-bmcs-frontend-wrap .button.button-secondary,
.gksoft-bmcs-login-prompt .button.button-secondary,
.gksoft-bmcs-notice .button.button-secondary {
    background: #fff !important;
    border: 1px solid #f97316 !important;
    color: #ea580c !important;
    text-shadow: none !important;
    font-weight: 600 !important;
    min-height: 38px;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
    transition: all 0.15s ease;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
}

.gksoft-bmcs-panel-wrap .button:not(.button-primary):hover,
.gksoft-bmcs-frontend-wrap .button:not(.button-primary):hover,
.gksoft-bmcs-login-prompt .button:not(.button-primary):hover,
.gksoft-bmcs-notice .button:not(.button-primary):hover,
.gksoft-bmcs-panel-wrap .button.button-secondary:hover,
.gksoft-bmcs-frontend-wrap .button.button-secondary:hover,
.gksoft-bmcs-login-prompt .button.button-secondary:hover,
.gksoft-bmcs-notice .button.button-secondary:hover {
    background: #f97316 !important;
    border-color: #ea580c !important;
    color: #fff !important;
}

.gksoft-bmcs-panel-wrap .button:not(.button-primary):active,
.gksoft-bmcs-frontend-wrap .button:not(.button-primary):active,
.gksoft-bmcs-login-prompt .button:not(.button-primary):active,
.gksoft-bmcs-notice .button:not(.button-primary):active,
.gksoft-bmcs-panel-wrap .button.button-secondary:active,
.gksoft-bmcs-frontend-wrap .button.button-secondary:active,
.gksoft-bmcs-login-prompt .button.button-secondary:active,
.gksoft-bmcs-notice .button.button-secondary:active {
    background: #ea580c !important;
    border-color: #c2410c !important;
    color: #fff !important;
}

.gksoft-bmcs-panel-wrap .button:not(.button-primary):disabled,
.gksoft-bmcs-panel-wrap .button:not(.button-primary)[disabled],
.gksoft-bmcs-frontend-wrap .button:not(.button-primary):disabled,
.gksoft-bmcs-frontend-wrap .button:not(.button-primary)[disabled],
.gksoft-bmcs-login-prompt .button:not(.button-primary):disabled,
.gksoft-bmcs-login-prompt .button:not(.button-primary)[disabled],
.gksoft-bmcs-notice .button:not(.button-primary):disabled,
.gksoft-bmcs-notice .button:not(.button-primary)[disabled],
.gksoft-bmcs-panel-wrap .button.button-secondary:disabled,
.gksoft-bmcs-panel-wrap .button.button-secondary[disabled],
.gksoft-bmcs-frontend-wrap .button.button-secondary:disabled,
.gksoft-bmcs-frontend-wrap .button.button-secondary[disabled],
.gksoft-bmcs-login-prompt .button.button-secondary:disabled,
.gksoft-bmcs-login-prompt .button.button-secondary[disabled],
.gksoft-bmcs-notice .button.button-secondary:disabled,
.gksoft-bmcs-notice .button.button-secondary[disabled] {
    background: #d1d5db !important;
    border-color: #d1d5db !important;
    color: #6b7280 !important;
    text-shadow: none !important;
    cursor: not-allowed;
    opacity: 1;
    box-shadow: none;
}

/* ==========================================================================
   §Task 4-B — Invoice creator footer (resident portal / legacy panel)
   فوتر ایجاد‌کننده‌ی فاکتور + امضای سامانه — در پایین صفحه‌ی جزئیات قبض
   ساکن نمایش داده می‌شود. در app.css و admin-style.css نسخه‌ی مشابهی وجود دارد.
   ========================================================================== */
.gksoft-invoice-footer {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border-top: 1px dashed #ccc;
    text-align: center;
    color: #666;
    font-size: 0.875rem;
    background: #f9fafb;
    border-radius: 8px;
    border-left: 1px solid #e5e7eb;
    border-right: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}
.gksoft-invoice-footer .gksoft-creator-line {
    margin: 0;
    line-height: 1.6;
}
.gksoft-invoice-footer .gksoft-creator-line strong {
    color: #374151;
    font-weight: 600;
}
.gksoft-invoice-footer .gksoft-creator-signature {
    color: #6b7280;
    font-weight: 400;
}

/* Ensure the footer is visible and clean in print output. */
@media print {
    .gksoft-invoice-footer {
        margin-top: 1.5rem;
        padding: 0.75rem 1rem;
        background: #fff !important;
        border: 1px solid #999;
        border-top: 2px solid #666;
        color: #333;
        font-size: 0.85rem;
        page-break-inside: avoid;
    }
    .gksoft-invoice-footer .gksoft-creator-line strong,
    .gksoft-invoice-footer .gksoft-creator-signature {
        color: #333 !important;
    }
}
