/* ============================================================
   WEB END-USER STYLES
   Shared styles for all web-facing user pages (dashboard,
   application forms, etc.)
   ============================================================ */

/* ----- ALERT OVERRIDES ----- */
.alert.alert-success {
    border-left: 4px solid #3c763d;
    border-radius: 6px;
    background: #eef7ee;
    color: #2d5a2d;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.alert.alert-success .close {
    opacity: 0.5;
}

.alert.alert-success .close:hover {
    opacity: 0.8;
}

/* ----- PAGINATION ----- */
.web-pagination nav[role="navigation"] {
    display: flex;
    justify-content: center;
}

.web-pagination nav[role="navigation"] a,
.web-pagination nav[role="navigation"] span {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 4px 15px;
    margin: 0 5px;
    border-radius: 5px;
    color: #333;
    transition: 0.1s;
}

.web-pagination nav[role="navigation"] .bg-blue-600 {
    background-color: #007bff !important;
    color: white !important;
}

.web-pagination nav[role="navigation"] a:hover,
.web-pagination nav[role="navigation"] span:hover {
    transition: 0.1s;
    text-decoration: none !important;
    background-color: #b9b9b9ff !important;
    color: black !important;
}

/* ----- DASHBOARD LOAD ANIMATION ----- */
@keyframes dashFadeRaise {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.est-card,
.dashboard-blank-head,
.dash-panel-tools,
.dash-panel-user-info {
    animation: dashFadeRaise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.est-card:nth-child(1) { animation-delay: 0.05s; }
.est-card:nth-child(2) { animation-delay: 0.10s; }
.est-card:nth-child(3) { animation-delay: 0.15s; }
.est-card:nth-child(4) { animation-delay: 0.20s; }
.est-card:nth-child(5) { animation-delay: 0.25s; }
.est-card:nth-child(n+6) { animation-delay: 0.30s; }

.dashboard-card {
    animation: dashFadeRaise 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dashboard-card:nth-child(1) { animation-delay: 0.08s; }
.dashboard-card:nth-child(2) { animation-delay: 0.14s; }
.dashboard-card:nth-child(3) { animation-delay: 0.20s; }
.dashboard-card:nth-child(4) { animation-delay: 0.26s; }
.dashboard-card:nth-child(5) { animation-delay: 0.32s; }
.dashboard-card:nth-child(n+6) { animation-delay: 0.38s; }

/* ----- DASHBOARD BASE ----- */
.container{
    padding-top: 0px;
}
.dash-panel-tools,
.dash-panel-user-info {
    border-radius: 8px;
    border: 0.5px solid #d4d4d4ff;
    padding: 8px 8px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 0px 0px;
    background-color: #ffffffff;
}

/* ----- SECTION HEADING (replaces old dashboard-blank-head) ----- */
.dashboard-blank-head {
    border: none;

    background: transparent;
    padding: 6px 0 6px 16px !important;
    margin-left :10px;
    margin-right :10px;
    font-size: 18px;
    font-weight: 700;
    color: #1a3a5c;
    line-height: 1.4;
    border-left: 4px solid #4bbaff !important;
    border-radius: 10px;
}

.dashboard-blank-head i {
    margin-right: 8px;
    color: #1a5276;
    font-size: 16px;
}

/* ----- ESTABLISHMENT CARD (org-level) ----- */
.est-card {
    border-radius: 10px;
    border: 1px solid #e2e5ea;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin: 0 0 16px 0;
    padding: 0px 10px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s ease;
}

.est-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Card header: flex row, clickable area */
.est-card-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid #eef0f3;
    min-height: 56px;
}

/* Left side: toggle icon + org info */
.est-card-header-left {
    flex: 1 1 auto;
    min-width: 0;
}

.est-toggle-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}

.est-toggle-link:hover {
    text-decoration: none !important;
}

.est-toggle-link .est-icon {
    flex: 0 0 auto;
    font-size: 18px;
    color: #6c8ba7;
    transition: color 0.2s, transform 0.2s;
    width: 22px;
    text-align: center;
}

.est-toggle-link:hover .est-icon {
    color: #1a5276;
}

/* Org summary block */
.est-org-summary {
    flex: 1;
    min-width: 0;
}

.est-org-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a3a5c;
    margin: 0;
    line-height: 1.4;
    transition: color 0.2s;
}

.est-toggle-link:hover .est-org-name {
    color: #1a5276;
}

.est-org-address {
    font-size: 12px;
    color: #6f7d8c;
    margin: 2px 0 0 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right side: action buttons */
.est-card-header-right {
    flex: 0 0 auto;
}

.est-action-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

/* Pill action button */
.est-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    color: #4a5a6e;
    background: #f5f7fa;
    border: 1px solid #dfe3e9;
    border-radius: 20px;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.est-action-btn i {
    font-size: 11px;
}

.est-action-btn:hover {
    color: #1a5276;
    background: #e8f0fe;
    border-color: #b8cce4;
    box-shadow: 0 2px 6px rgba(26, 82, 118, 0.10);
    transform: translateY(-1px);
}

.est-action-btn:active {
    transform: translateY(0);
}

/* ----- HISTORY ACTION BUTTONS ----- */
.est-history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding : 14px 20px;
    border-top: 1px solid #eef0f3;
    margin-top: 0;
}

.est-history-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 8px;
    border: 1px solid #dfe3e9;
    background: #fff;
    color: #4a5a6e;
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.18s ease;
}

.est-history-btn i {
    font-size: 12px;
}

.est-history-btn--license:hover {
    color: #1a5276;
    background: #e8f0fe;
    border-color: #b8cce4;
}

.est-history-btn--payment:hover {
    color: #0d6e8a;
    background: #e4f2f7;
    border-color: #a8d4e6;
}

/* Card body: collapsible application list */
.est-card-body {
    padding: 4px 14px 10px;
    background: #fafbfc;
}

/* First application card doesn't need extra margin at top inside est body */
.est-card-body .dashboard-card:first-child {
    margin-top: 8px !important;
}

/* ----- APPLICATION CARD ----- */
.dashboard-card {
    border: 1px solid #e2e2e2ff !important;
    border-radius: 8px !important;
    margin: 6px 0px !important;
    padding: 0 !important;
    background: #fff;
    transition: box-shadow 0.15s ease;
}

.dashboard-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.dashboard-card.draft-card {
    border-left: 3px solid #f0ad4e !important;
    background-color: transparent !important;
}

.dashboard-card.pending-auto-close-card {
    border-left: 3px solid #e67e22 !important;
}

.dashboard-card.auto-closed-card .card-layout {
    opacity: 0.55;
}

/* ----- AUTO-CLOSED NOTICE ----- */
.auto-closed-notice {
    color: #dc3545;
    font-weight: 700;
    margin: 0px 10px;
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 6px;
}

/* ----- PENDING AUTO-CLOSE WARNING ----- */
.pending-auto-close-notice {
    color: #e67e22;
    font-weight: 700;
    margin: 0px 10px;
    margin-bottom: 10px;
    padding: 8px 10px;
    /* background: #fef9e7; */
    border-radius: 6px;
    border-left: 3px solid #e67e22;
    box-shadow: 1px 0px 8px 1px #fff3 cd;
    /* border: 1px solid #f9e79f; */
}

/* Card layout: icon + body */
.card-layout {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    align-items: flex-start;
    background: #f8f9fa;
    border-radius: 7px 7px 0 0;
}

.card-icon-col {
    flex: 0 0 auto;
    width: 32px;
    padding-top: 2px;
}

.card-icon-col .application-icon {
    font-size: 22px;
    color: #6c757d;
}

.card-body-col {
    flex: 1;
    min-width: 0;
}

.application-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.application-title a {
    color: #1a0dab;
    margin-right: 4px;
    white-space: nowrap;
}

.app-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.3px;
    white-space: nowrap;
    margin-left: auto;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.app-id-badge {
    background-color: transparent !important;
    border: 2px solid #104a7f !important;
    color: #004b8c !important;
    font-size: 11px !important;
    padding: 3px 10px !important;
    border-radius: 50px !important;
}

.application-title .efl-app-type-badge {
    display: inline-block;
    vertical-align: middle;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 50px;
    border: 1.5px solid currentColor;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* ----- CARD PAYMENT ROW (chips + invoice link) ----- */
.card-payment-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 6px 0 0 0;
    padding: 6px 0;
}

/* ----- PAYMENT CHIPS ----- */
.payment-status-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 6px 0 4px 0;
    align-items: center;
}

.payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    border: 1px solid transparent;
    white-space: normal;
}

.payment-chip .chip-title {
    opacity: 0.92;
}

.payment-chip .chip-state {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.payment-chip--paid {
    color: #1f5130;
    background: #eaf7ef;
    border-color: #b7dfc4;
}

.payment-chip--pending {
    color: #7a4f00;
    background: #fff5e3;
    border-color: #f3d9a5;
}

.payment-chip--unpaid {
    color: #7b1f1f;
    background: #fdeaea;
    border-color: #f0b8b8;
}

/* ----- ACTION BUTTONS BAR ----- */
.card-actions-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 8px 0 4px 0;
    padding: 8px 10px;
    background: #f5f6f8;
    border-radius: 6px;
    border: 1px solid #e8eaed;
    border-bottom: none;
}

.card-actions-bar .btn-group-separator {
    width: 1px;
    background: #ddd;
    margin: 2px 4px;
}

/* Secondary actions (release, retry, close) */
.card-actions-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 0px 0;
    padding: 10px 10px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #eef0f3;
    border-bottom: none;
}

/* Restore Bootstrap solid colors for dashboard buttons (override custom.css gradients) */
.dashboard-card .btn,
.est-card .btn {
    background-image: none;
    font-weight: normal;
    letter-spacing: normal;
    border-bottom-width: 1px;
    box-shadow: none;
}

.dashboard-card .btn-default,
.est-card .btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.dashboard-card .btn-default:hover,
.est-card .btn-default:hover {
    background-color: #e6e6e6;
    border-color: #adadad;
}

.dashboard-card .btn-primary,
.est-card .btn-primary {
    color: #fff;
    background-color: #2c3e50;
    border-color: #233140;
}

.dashboard-card .btn-primary:hover,
.est-card .btn-primary:hover {
    background-color: #1a252f;
    border-color: #0d1318;
    background-image: none;
}

.dashboard-card .btn-success,
.est-card .btn-success {
    color: #fff;
    background-color: #5cb85c;
    border-color: #4cae4c;
}

.dashboard-card .btn-success:hover,
.est-card .btn-success:hover {
    background-color: #449d44;
    border-color: #398439;
}

.dashboard-card .btn-info,
.est-card .btn-info {
    color: #fff;
    background-color: #5bc0de;
    border-color: #46b8da;
}

.dashboard-card .btn-info:hover,
.est-card .btn-info:hover {
    background-color: #31b0d5;
    border-color: #269abc;
}

.dashboard-card .btn-warning,
.est-card .btn-warning {
    color: #fff;
    background-color: #f0ad4e;
    border-color: #eea236;
}

.dashboard-card .btn-warning:hover,
.est-card .btn-warning:hover {
    background-color: #ec971f;
    border-color: #d58512;
}

.dashboard-card .btn-danger,
.est-card .btn-danger {
    color: #fff;
    background-color: #d9534f;
    border-color: #d43f3a;
}

.dashboard-card .btn-danger:hover,
.est-card .btn-danger:hover {
    background-color: #c9302c;
    border-color: #ac2925;
}

/* ----- STATUS DETAILS ----- */
.card-status-details {
    margin-top: 6px;
    padding: 0 2px;
}

.card-status-details ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.card-status-details ul li {
    margin: 3px 0;
    font-size: 13px;
    line-height: 1.5;
}

.card-status-details ul li.text-success {
    color: #28a745;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 767px) {
    .application-title {
        font-size: 14px;
        gap: 6px;
    }

    .app-status-badge {
        margin-left: 0;
    }

    .payment-status-wrap {
        margin-left: 0;
        margin-top: 4px;
    }

    .payment-chip {
        font-size: 10px;
        padding: 3px 6px;
    }

    .card-actions-bar {
        padding: 6px 8px;
        gap: 4px;
    }

    .card-layout {
        padding: 10px;
        gap: 8px;
    }

    .card-icon-col {
        width: 24px;
    }

    .card-icon-col .application-icon {
        font-size: 18px;
    }

    .dashboard-history-table th,
    .dashboard-history-table td {
        font-size: 11px;
        padding: 3px 4px !important;
    }

    .btn-payment {
        min-width: 200px;
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }
}

/* ----- DASHBOARD HISTORY TABLES ----- */
.dashboard-history-table {
    table-layout: auto;
    width: 100%;
    font-size: 12px;
}

.dashboard-history-table th {
    white-space: nowrap;
    vertical-align: middle;
    background: #f9f9f9;
    font-size: 11px;
    padding: 5px 6px !important;
}

.dashboard-history-table td {
    vertical-align: top;
    word-break: break-word;
    overflow-wrap: anywhere;
    padding: 4px 6px !important;
    font-size: 12px;
}

.dashboard-history-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 0;
}

/* ----- MAIN BUTTON STYLES (online payment button) ----- */
.btn-payment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    background: linear-gradient(105deg, #0f2b3d 0%, #1b4f6e 100%);
    border: none;
    padding: 0.6rem 1.4rem;
    min-width: 260px;
    border-radius: 80px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1.35rem;
    font-family: inherit;
    letter-spacing: 0.5px;
    color: white;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.15);
    box-shadow: 0 12px 20px -10px rgba(0, 30, 45, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-payment::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-payment:hover::before {
    left: 120%;
}

.btn-payment:hover {
    background: linear-gradient(105deg, #15455f 0%, #236b91 100%);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 20px 28px -12px rgba(0, 40, 55, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    letter-spacing: 0.8px;
}

.btn-payment:active {
    transform: translateY(2px) scale(0.98);
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.4);
    transition: 0.05s linear;
}

.btn-payment:focus-visible {
    outline: 3px solid #ffb347;
    outline-offset: 4px;
}

.btn-payment svg {
    width: 28px;
    height: 28px;
    fill: none;
    stroke: white;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 0.2s ease;
}

.btn-payment:hover svg {
    transform: translateX(3px);
}

/* ----- CLOSE APPLICATION BUTTON ----- */
.btn-close-outline {
    color: #d9534f !important;
    background-color: transparent !important;
    border-color: #d9534f !important;
    box-shadow: none !important;
}

.btn-close-outline:hover,
.btn-close-outline:focus,
.btn-close-outline:active {
    color: #fff !important;
    background-color: #d9534f !important;
    border-color: #d9534f !important;
    box-shadow: none !important;
}

/* ----- TOOLTIP ----- */
.tooltip-inner {
    max-width: 300px;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.85);
    border-radius: 4px;
    padding: 8px 12px;
    font-size: 12px;
    line-height: 1.4;
}

/* ----- HELPER ----- */
.app-type-btn-collection a {
    margin: 2px 0px;
}

.dashboard-card .application-title {
    line-height: 1.6;
    margin: 0 0 2px 0;
    padding: 0;
    font-size: 16px;
    font-weight: 600;
}

.dashboard-card .application-title a {
    color: #1a3a5c;
    text-decoration: none;
}

.dashboard-card .application-title a:hover {
    color: #1a5276;
    text-decoration: underline;
}

/* ============================================================
   SIDEBAR PANELS (dash-panel-tools / dash-panel-user-info)
   ============================================================ */

.dash-panel-tools,
.dash-panel-user-info {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
    border: 1px solid #e8eaed;
    margin-bottom: 20px;
    overflow: hidden;
}

/* Shared panel header */
.dash-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid #f0f0f0;
}

.panel-header-icon {
    font-size: 18px;
    color: #1a5276;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f0fe;
    border-radius: 6px;
}

.dash-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
}

.dash-panel-body {
    padding: 14px 16px;
}

/* ----- TOOL BUTTONS ----- */
.dash-tool-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    margin-bottom: 10px;
    border-radius: 8px;
    border: 1px solid #e8eaed;
    background: #fafbfc;
    transition: all 0.2s ease;
    text-decoration: none !important;
    cursor: pointer;
}

.dash-tool-btn:last-child {
    margin-bottom: 0;
}

.dash-tool-btn:hover {
    background: #fff;
    border-color: #c8ccd0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-1px);
}

.tool-btn-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 18px;
}

.tool-btn-icon.bg-soft-primary {
    background: #e8f0fe;
    color: #1a5276;
}

.tool-btn-icon.bg-soft-warning {
    background: #fef3e2;
    color: #b76e00;
}

.tool-btn-icon.bg-soft-info {
    background: #e4f2f7;
    color: #0d6e8a;
}

.tool-btn-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
}

.tool-btn-arrow {
    flex: 0 0 auto;
    color: #adb5bd;
    font-size: 12px;
    transition: transform 0.2s ease;
}

.dash-tool-btn:hover .tool-btn-arrow {
    transform: translateX(3px);
    color: #1a5276;
}

/* ----- USER INFO CARD ----- */
.user-card-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.user-avatar {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a5276, #2e86c1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 3px 0;
    line-height: 1.3;
}

.user-email {
    font-size: 13px;
    color: #6c757d;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email i {
    margin-right: 4px;
}

/* Login info rows */
.user-login-info {
    margin-bottom: 16px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 6px 0;
    border-bottom: 1px dashed #f0f0f0;
    gap: 10px;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.info-value {
    font-size: 13px;
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
}

/* Change password button */
.dash-btn-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border: 1px solid #dc3545;
    border-radius: 8px;
    background: #fff;
    color: #dc3545;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dash-btn-block:hover {
    background: #dc3545;
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.25);
}

/* ----- SIDEBAR RESPONSIVE ----- */
@media (max-width: 767px) {
    .dash-panel-header {
        padding: 12px 16px 10px;
    }

    .dash-panel-body {
        padding: 12px 14px;
    }

    .dash-tool-btn {
        padding: 10px 14px;
        gap: 10px;
    }

    .tool-btn-icon {
        width: 32px;
        height: 32px;
        font-size: 15px;
    }

    .tool-btn-text {
        font-size: 13px;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }

    .user-name {
        font-size: 15px;
    }

    /* ----- EST-CARD RESPONSIVE ----- */
    .est-card-header {
        padding: 12px 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .est-card-header-left {
        width: 100%;
    }

    .est-card-header-right {
        width: 100%;
    }

    .est-action-group {
        justify-content: flex-start;
    }

    .est-org-name {
        font-size: 15px;
    }

    .est-org-address {
        font-size: 11px;
        white-space: normal;
    }

    .est-action-btn {
        font-size: 11px;
        padding: 4px 10px;
    }

    .est-card-body {
        padding: 2px 10px 8px;
    }

    .est-history-actions {
        padding: 10px 14px 4px;
    }

    .est-history-btn {
        font-size: 11px;
        padding: 6px 12px;
    }
}
