/*bootstrap color-profile defaults*/
:root {
    --bs-primary: #8A8C8F;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --bs-gray-100: #f8f9fa;
    --bs-gray-200: #e9ecef;
    --bs-gray-300: #dee2e6;
    --bs-gray-400: #ced4da;
    --bs-gray-500: #adb5bd;
    --bs-gray-600: #6c757d;
    --bs-gray-700: #495057;
    --bs-gray-800: #343a40;
    --bs-gray-900: #212529;
    --bs-black: #000000;
    --bs-white: #ffffff;
    --bs-body-bg: #ffffff;
    --bs-body-color: rgb(50, 58, 70);

    --primary: 44 111 226;
    --primary-rgb: 44 111 226;
    --bs-primary-rgb: 44 111 226;

}

body{
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden; /* Prevent body scroll, let content containers handle scrolling */
}

/* Main container should fill viewport */
.main-container {
    height: 100vh;
    overflow: hidden;
}

/* Fix scroll sticking issues */
.main-content {
    -webkit-overflow-scrolling: touch;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.detached-content {
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0; /* Allow flex item to shrink below content size */
}

.detached .footer {
    position: sticky;
    bottom: 0;
    z-index: 10;
}

/* Ensure smooth scrolling on all scroll containers */
* {
    scrollbar-behavior: smooth;
}

/* Footer enhancements */
footer {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: auto; /* Push footer to bottom when content is short */
    flex-shrink: 0; /* Prevent footer from shrinking */
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: none;
}

/* Connection Status Indicator - Simple & Static */
.connection-status-indicator {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 6px 10px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: #495057;
    white-space: nowrap;
    min-width: 90px;
}

/* Dark mode */
.dark .connection-status-indicator {
    background-color: #495057;
    border: 1px solid #6c757d;
    color: #f8f9fa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Connection dot - simple and clean */
.connection-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Status colors */
.connection-dot.connected {
    background-color: #28a745;
}

.connection-dot.connecting {
    background-color: #ffc107;
}

.connection-dot.disconnected {
    background-color: #dc3545;
}

.connection-dot.unknown {
    background-color: #6c757d;
}

/* Status text */
.connection-status-text {
    font-size: 11px;
    font-weight: 500;
    line-height: 1;
}

/* Dark mode support */
.dark .connection-status-text {
    color: #d1d5db;
}

/* Remove old tooltip - we don't need it with the new box design */
.connection-status-tooltip {
    position: relative;
}

/* Industrial styling tweaks */
.connection-status-box {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

/* Footer responsive improvements */
@media (max-width: 768px) {
    footer .flex-col {
        text-align: center;
    }
    
    footer .space-x-6 > * + * {
        margin-left: 0;
        margin-top: 0.5rem;
    }
}

dxbl-memo-editor {
    width: 100%;
}
.dxbl-loading-panel-container.dxbl-loading-panel-shading {
    border-radius: 12px;
}

.auth-bg {
    background-color: #1e1e1e;
    background-image: url(../images/bg-pattern.png);
}

.\!bg-primary {
    background-color: rgb(var(--primary));
}


.li-btn {
    margin-bottom: 0.25rem;
    margin-inline-start: 0px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.25rem;
    border-width: 1px;
    border-color: transparent;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
    cursor: pointer;
}

.li-btn:disabled,
.li-btn[disabled] {
    cursor: not-allowed;
    opacity: 0.6;
}

.\!text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.\!font-medium {
    font-weight: 500;
}

.content-center{
    align-content:center;
}

.non-selectable {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Opera, and Edge */
}


/* Full width toaster css */

dxbl-toast-portal[name="FullWidthToast"] {
    padding: 0 !important;
    border-radius: 0!important;
}

    dxbl-toast-portal[name="FullWidthToast"] .dxbl-toast {
        margin: 1px !important;
    }

    dxbl-toast-portal[name="FullWidthToast"] .dxbl-toast .dxbl-toast-accent-line {
        border-top-left-radius: 0!important;
        border-bottom-left-radius: 0!important;
    }

    dxbl-toast-portal[name="FullWidthToast"] .dxbl-toast-portal .dxbl-toast {
        --dxbl-toast-border-radius: 0 !important;
    }


/* Breadcrumb steps: use brand color and slightly smaller sizing */
:root {
    --steps-brand: #0d0afd;
    --steps-text: #ffffff;
    --steps-border: rgba(13, 10, 253, 0.2);
    --steps-radius: 6px;
}

/* container for steps */
.steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* each step wrapper */
.step-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* link / label style - industrial minimal */
.step-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    text-decoration: none;
    color: #6b7280;
    font-weight: 400;
    font-size: 0.8125rem;
    background: transparent;
    border-radius: 0.375rem;
    border: 1px solid #d1d5db;
    text-underline-offset: 2px;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    transition: all 0.15s ease;
}

/* arrow separator - minimal */
.step-item:not(:last-child)::after {
    content: "›";
    color: #d1d5db;
    font-size: 0.875rem;
    font-weight: 300;
    margin: 0 6px;
    display: flex;
    align-items: center;
}

/* current item emphasis - subtle underline */
.step-item.is-current .step-link,
.step-link[aria-current="page"] {
    color: #2C6FE2;
    font-weight: 500;
    border-color: #2C6FE2;
    background-color: rgba(44, 111, 226, 0.05);
}

/* hover effect - subtle */
.step-link:hover {
    color: #2C6FE2;
    border-color: #2C6FE2;
    background-color: rgba(44, 111, 226, 0.03);
}

/* Dark mode - industrial */
[data-mode="dark"] .step-link {
    color: #9ca3af;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-mode="dark"] .step-item.is-current .step-link,
[data-mode="dark"] .step-link[aria-current="page"] {
    color: #60a5fa;
    border-color: #60a5fa;
    background-color: rgba(96, 165, 250, 0.1);
}

[data-mode="dark"] .step-link:hover {
    color: #60a5fa;
    border-color: #60a5fa;
    background-color: rgba(96, 165, 250, 0.05);
}

[data-mode="dark"] .step-item:not(:last-child)::after {
    color: rgba(255, 255, 255, 0.2);
}

/* responsive tweak for small screens */
@media (max-width: 520px) {
    .step-link {
        padding: 5px 10px;
        font-size: 0.75rem;
    }
}


/* RTL support: flip the pointer when parent dir=rtl */
[dir="rtl"] .step-item:not(:last-child) .step-link::after {
    transform: scaleX(-1);
    left: -14px;
    right: auto;
    border-left: none;
    border-right: 1px solid var(--steps-border);
}

/* ============================================ */
/* DxLoadingPanel Custom Styling */
/* ============================================ */

/* Λευκό ημιδιαφανές φόντο αντί για μαύρο */
.dxbl-loading-panel-container.dxbl-loading-panel-shading {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

.dxbl-loading-panel .dxbl-loading-panel-underlay {
    background-color: rgba(255, 255, 255, 0.7) !important;
}

/* Αχνό μαύρο κείμενο */
.dxbl-loading-panel .dxbl-loading-panel-message,
.dxbl-loading-panel-container .dxbl-loading-panel-message {
    color: rgba(0, 0, 0, 0.6) !important;
}

/* Αχνό μαύρο εικονίδιο (spinner) */
.dxbl-loading-panel .dxbl-wait-indicator,
.dxbl-loading-panel-container .dxbl-wait-indicator {
    --dxbl-wait-indicator-color: rgba(0, 0, 0, 0.6) !important;
}

/* Dark mode support */
[data-mode="dark"] .dxbl-loading-panel-container.dxbl-loading-panel-shading {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

[data-mode="dark"] .dxbl-loading-panel .dxbl-loading-panel-underlay {
    background-color: rgba(0, 0, 0, 0.7) !important;
}

[data-mode="dark"] .dxbl-loading-panel .dxbl-loading-panel-message,
[data-mode="dark"] .dxbl-loading-panel-container .dxbl-loading-panel-message {
    color: rgba(255, 255, 255, 0.8) !important;
}

[data-mode="dark"] .dxbl-loading-panel .dxbl-wait-indicator,
[data-mode="dark"] .dxbl-loading-panel-container .dxbl-wait-indicator {
    --dxbl-wait-indicator-color: rgba(255, 255, 255, 0.8) !important;
}

/* ============================================ */
/* Power BI Dashboard Styling */
/* ============================================ */

.powerbi-container {
    max-width: 100%;
    margin: 0 auto;
}

.powerbi-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.powerbi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e9ecef;
    background: white;
}

.powerbi-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.powerbi-header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f2c811 0%, #e8b708 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a1a1a;
    font-size: 1.5rem;
}

.powerbi-header-text h3 {
    margin: 0;
    color: #212529;
    font-weight: 600;
}

.powerbi-header-text p {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.powerbi-actions {
    display: flex;
    gap: 0.75rem;
}

.powerbi-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.powerbi-btn:hover:not(:disabled) {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #e7f1ff;
}

.powerbi-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.powerbi-btn.primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    color: white;
}

.powerbi-btn.primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
}

.powerbi-content {
    position: relative;
    height: 75vh;
    min-height: 600px;
    background: #f8f9fa;
}

.powerbi-frame {
    width: 100%;
    height: 100%;
}

.powerbi-loading {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    gap: 1.5rem;
}

.powerbi-loading .loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e5e7eb;
    border-top-color: #f2c811;
    border-radius: 50%;
    animation: powerbi-spin 1s linear infinite;
}

@keyframes powerbi-spin {
    to { transform: rotate(360deg); }
}

.powerbi-loading .loading-text {
    text-align: center;
}

.powerbi-loading .loading-text h4 {
    margin: 0;
    color: #374151;
    font-weight: 600;
}

.powerbi-loading .loading-text p {
    margin: 0.5rem 0 0 0;
    color: #9ca3af;
    font-size: 0.875rem;
}

.powerbi-error {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fef2f2;
    gap: 1rem;
    padding: 2rem;
}

.powerbi-error .error-icon {
    width: 64px;
    height: 64px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 2rem;
}

.powerbi-error .error-text {
    text-align: center;
    max-width: 400px;
}

.powerbi-error .error-text h4 {
    margin: 0;
    color: #991b1b;
    font-weight: 600;
}

.powerbi-error .error-text p {
    margin: 0.5rem 0 0 0;
    color: #dc2626;
    font-size: 0.875rem;
}

.powerbi-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: white;
    border-top: 1px solid #e9ecef;
    font-size: 0.75rem;
    color: #9ca3af;
}

.powerbi-footer .status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.powerbi-footer .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
}

.powerbi-footer .status-dot.loading {
    background: #f2c811;
    animation: powerbi-pulse 1.5s ease-in-out infinite;
}

.powerbi-footer .status-dot.error {
    background: #ef4444;
}

@keyframes powerbi-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Power BI Responsive */
@media (max-width: 768px) {
    .powerbi-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .powerbi-actions {
        width: 100%;
    }

    .powerbi-btn {
        flex: 1;
        justify-content: center;
    }

    .powerbi-content {
        height: 60vh;
        min-height: 400px;
    }
}

/* ============================================ */
/* Signature Generator Styling */
/* ============================================ */

.signature-container {
    max-width: 850px;
    margin: 0 auto;
}

.signature-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

.signature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.signature-header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.signature-header-text h3 {
    margin: 0;
    color: #212529;
    font-weight: 600;
}

.signature-header-text p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.signature-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.signature-info-card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.2s ease;
}

.signature-info-card:hover {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.1);
}

.signature-info-card label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.signature-info-card .value {
    font-size: 1rem;
    color: #212529;
    font-weight: 500;
}

.signature-preview-section {
    margin-top: 1.5rem;
}

.signature-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.signature-preview-header h4 {
    margin: 0;
    color: #212529;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.signature-preview-header h4 i {
    color: #0d6efd;
}

.signature-copy-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.signature-copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.signature-copy-button.copied {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
}

.signature-preview {
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.signature-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0d6efd, #0a58ca);
}

/* Reset table styles inside signature preview */
.signature-preview table :is(thead,tbody) tr {
    border-bottom-width: 0px;
}

.signature-preview table :is(thead,tbody,tfoot) tr :is(th,td) {
    padding: 0px;
}

.signature-help-text {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    background: #e7f1ff;
    border-radius: 8px;
    color: #0a58ca;
    font-size: 0.875rem;
}

.signature-help-text i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Signature Responsive */
@media (max-width: 768px) {
    .signature-info-cards {
        grid-template-columns: 1fr;
    }

    .signature-preview-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ============================================ */
/* Confluence Page Styling */
/* ============================================ */

.confluence-container {
    max-width: 100%;
    margin: 0 auto;
}

.confluence-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.confluence-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e9ecef;
    background: white;
}

.confluence-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.confluence-header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2684ff 0%, #0052cc 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.confluence-header-text h3 {
    margin: 0;
    color: #212529;
    font-weight: 600;
}

.confluence-header-text p {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.confluence-actions {
    display: flex;
    gap: 0.75rem;
}

.confluence-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.confluence-btn:hover:not(:disabled) {
    border-color: #0d6efd;
    color: #0d6efd;
    background: #e7f1ff;
}

.confluence-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.confluence-btn.primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border: none;
    color: white;
}

.confluence-btn.primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.confluence-content {
    padding: 1.5rem 2rem;
    min-height: 400px;
}

.confluence-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.confluence-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.confluence-stats .stat-item i {
    color: #2684ff;
    font-size: 1.125rem;
}

.confluence-stats .stat-item strong {
    color: #212529;
}

.treelist-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.confluence-treelist {
    border: none;
}

/* Confluence links */
.confluence-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #e7f1ff;
    color: #0d6efd;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.confluence-link:hover {
    background: #0d6efd;
    color: white;
}

.confluence-link i {
    font-size: 0.875rem;
}

/* Title cell */
.title-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.title-cell i {
    color: #6c757d;
    font-size: 1rem;
}

/* Parent badge */
.parent-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: #f3f4f6;
    color: #6c757d;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.parent-badge i {
    font-size: 0.875rem;
}

.root-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: #dbeafe;
    color: #1d4ed8;
    border-radius: 4px;
    font-size: 0.8125rem;
}

.root-badge i {
    font-size: 0.875rem;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-current {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.status-draft {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.status-archived {
    background: #f3f4f6;
    color: #6b7280;
}

.status-badge.status-default {
    background: #e5e7eb;
    color: #374151;
}

/* Type badge */
.type-badge {
    display: inline-block;
    padding: 0.25rem 0.625rem;
    background: #f3f4f6;
    color: #6b7280;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* Error state */
.confluence-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.confluence-error .error-icon {
    width: 64px;
    height: 64px;
    background: #fee2e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ef4444;
    font-size: 2rem;
}

.confluence-error .error-text {
    text-align: center;
}

.confluence-error .error-text h4 {
    margin: 0;
    color: #991b1b;
    font-weight: 600;
}

.confluence-error .error-text p {
    margin: 0.5rem 0 0 0;
    color: #dc2626;
    font-size: 0.875rem;
}

/* Empty state */
.confluence-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.confluence-empty .empty-icon {
    width: 64px;
    height: 64px;
    background: #f3f4f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 2rem;
}

.confluence-empty .empty-text {
    text-align: center;
}

.confluence-empty .empty-text h4 {
    margin: 0;
    color: #374151;
    font-weight: 600;
}

.confluence-empty .empty-text p {
    margin: 0.5rem 0 0 0;
    color: #6b7280;
    font-size: 0.875rem;
}

/* Footer */
.confluence-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: white;
    border-top: 1px solid #e9ecef;
    font-size: 0.75rem;
    color: #9ca3af;
}

.confluence-footer .footer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.confluence-footer .footer-info i {
    color: #0d6efd;
}

/* Responsive */
@media (max-width: 768px) {
    .confluence-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .confluence-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .confluence-btn {
        flex: 1;
        justify-content: center;
        min-width: 120px;
    }

    .confluence-stats {
        flex-direction: column;
        gap: 0.75rem;
    }

    .confluence-content {
        padding: 1rem;
    }
}

/* ============================================ */
/* Password Manager Page Styling */
/* ============================================ */

.password-card {
    max-width: 420px;
    width: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.password-header {
    text-align: center;
    margin-bottom: 2rem;
}

.password-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.password-icon i {
    font-size: 2rem;
    color: white;
}

.password-header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #212529;
}

.password-header p {
    margin: 0.5rem 0 0 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.password-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.password-form .form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
}

.password-form .form-group label i {
    color: #0d6efd;
    font-size: 1rem;
}

.password-form .input-wrapper {
    position: relative;
}

.password-form .password-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    background: white;
}

.password-form .password-input:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

.password-form .input-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    font-size: 1rem;
}

.password-form .validation-error {
    color: #ef4444;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.show-password-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.show-password-toggle .toggle-checkbox {
    width: 1rem;
    height: 1rem;
    accent-color: #0d6efd;
    cursor: pointer;
}

.show-password-toggle label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #6c757d;
    cursor: pointer;
    transition: color 0.2s ease;
}

.show-password-toggle label:hover {
    color: #0d6efd;
}

.show-password-toggle label i {
    font-size: 1rem;
}

.error-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #dc2626;
    font-size: 0.875rem;
}

.error-message i {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.success-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
    color: #16a34a;
    font-size: 0.875rem;
}

.success-message i {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.submit-btn i {
    font-size: 1.125rem;
}

.btn-loading-icon {
    width: 20px;
    height: 20px;
}

.password-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-link:hover {
    color: #0d6efd;
}

.back-link i {
    font-size: 1.125rem;
}

/* ============================================ */
/* Toast Notifications - Mobile Responsive */
/* ============================================ */

/* Ensure toasts are above everything */
.dxbl-toast-portal {
    z-index: 9999 !important;
}

/* Individual toast styling */
.dxbl-toast {
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
}

.dxbl-toast .dxbl-toast-body {
    word-break: break-word !important;
}

/* Fix icon vertical alignment */
.dxbl-toast .dxbl-toast-icon-column {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Mobile toast adjustments for main layout only */
@media (max-width: 480px) {
    /* Main layout toasts - full width */
    .main-content .dxbl-toast-portal {
        left: 0.5rem !important;
        right: 0.5rem !important;
        width: calc(100% - 1rem) !important;
        max-width: none !important;
    }

    .main-content .dxbl-toast-portal .dxbl-toast {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 0.5rem 0 !important;
    }

    .dxbl-toast .dxbl-toast-header {
        padding: 0.625rem 0.75rem !important;
    }

    .dxbl-toast .dxbl-toast-body {
        padding: 0.625rem 0.75rem !important;
        font-size: 0.8125rem !important;
    }

    .dxbl-toast .dxbl-toast-title {
        font-size: 0.875rem !important;
    }

    /* Fix icon alignment on mobile */
    .dxbl-toast .dxbl-toast-icon-column {
        align-self: center !important;
        vertical-align: middle !important;
    }

    .dxbl-toast .dxbl-toast-content {
        display: flex !important;
        align-items: center !important;
    }

    .dxbl-toast .dxbl-toast-text-column {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
    }
}

/* Small tablets - main layout only */
@media (min-width: 481px) and (max-width: 768px) {
    .main-content .dxbl-toast-portal {
        max-width: 320px !important;
    }
}

/* ============================================ */
/* Jira Tasks Page Styling */
/* ============================================ */

.jira-container {
    max-width: 100%;
    margin: 0 auto;
}

.jira-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.jira-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid #e9ecef;
    background: white;
}

.jira-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.jira-header-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.jira-header-text h3 {
    margin: 0;
    color: #212529;
    font-weight: 600;
}

.jira-header-text p {
    margin: 0;
    color: #6c757d;
    font-size: 0.875rem;
}

.jira-actions {
    display: flex;
    gap: 0.75rem;
}

.jira-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.jira-btn:hover:not(:disabled) {
    border-color: #0052cc;
    color: #0052cc;
    background: #deebff;
}

.jira-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.jira-btn.primary {
    background: linear-gradient(135deg, #0052cc 0%, #0747a6 100%);
    border: none;
    color: white;
}

.jira-btn.primary:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Jira Filters */
.jira-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1rem 2rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
}

.jira-filters .filter-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jira-filters .filter-input {
    min-width: 150px;
}

.jira-content {
    padding: 1.5rem 2rem;
    min-height: 400px;
}

.jira-stats {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.jira-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.jira-stats .stat-item i {
    color: #0052cc;
    font-size: 1.125rem;
}

.jira-stats .stat-item strong {
    color: #212529;
}

/* Jira Grid */
.jira-grid {
    border-radius: 12px;
    overflow: hidden;
}

.jira-key-link {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: #deebff;
    color: #0052cc;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.jira-key-link:hover {
    background: #0052cc;
    color: white;
}

.jira-key-link i {
    font-size: 0.75rem;
}

/* Summary cell */
.summary-cell {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
}

/* Project badge */
.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: #f3f4f6;
    color: #374151;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.project-avatar {
    width: 16px;
    height: 16px;
    border-radius: 3px;
}

/* Jira Status badges */
.jira-container .status-badge,
.jira-detail-container .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.status-new {
    background: #e3fcef;
    color: #006644;
}

.status-badge.status-inprogress {
    background: #deebff;
    color: #0747a6;
}

.status-badge.status-done {
    background: #e3fcef;
    color: #006644;
}

.status-badge.status-default {
    background: #f4f5f7;
    color: #42526e;
}

/* Priority badges */
.priority-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.priority-badge.priority-highest {
    background: #ffebe6;
    color: #bf2600;
}

.priority-badge.priority-high {
    background: #ffebe6;
    color: #de350b;
}

.priority-badge.priority-medium {
    background: #fffae6;
    color: #ff8b00;
}

.priority-badge.priority-low {
    background: #e3fcef;
    color: #006644;
}

.priority-badge.priority-lowest {
    background: #f4f5f7;
    color: #42526e;
}

.priority-badge.priority-default {
    background: #f4f5f7;
    color: #42526e;
}

.priority-icon {
    width: 16px;
    height: 16px;
}

/* Assignee cell */
.assignee-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.assignee-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.unassigned {
    color: #97a0af;
    font-style: italic;
    font-size: 0.8125rem;
}

/* Labels */
.labels-cell {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.label-badge {
    display: inline-block;
    padding: 0.125rem 0.5rem;
    background: #dfe1e6;
    color: #42526e;
    border-radius: 3px;
    font-size: 0.6875rem;
    font-weight: 500;
}

.label-badge.large {
    padding: 0.25rem 0.75rem;
    font-size: 0.8125rem;
}

.label-more {
    display: inline-block;
    padding: 0.125rem 0.375rem;
    background: #b3bac5;
    color: white;
    border-radius: 3px;
    font-size: 0.6875rem;
    font-weight: 600;
}

/* Overdue date */
.overdue-date {
    color: #de350b;
    font-weight: 600;
}

.no-date {
    color: #97a0af;
}

/* Action buttons */
.action-buttons {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
}

/* Error state */
.jira-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.jira-error .error-icon {
    width: 64px;
    height: 64px;
    background: #ffebe6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #de350b;
    font-size: 2rem;
}

.jira-error .error-text {
    text-align: center;
}

.jira-error .error-text h4 {
    margin: 0;
    color: #bf2600;
    font-weight: 600;
}

.jira-error .error-text p {
    margin: 0.5rem 0 0 0;
    color: #de350b;
    font-size: 0.875rem;
}

.jira-error .error-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Empty state */
.jira-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    gap: 1rem;
}

.jira-empty .empty-icon {
    width: 64px;
    height: 64px;
    background: #f4f5f7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #97a0af;
    font-size: 2rem;
}

.jira-empty .empty-text {
    text-align: center;
}

.jira-empty .empty-text h4 {
    margin: 0;
    color: #42526e;
    font-weight: 600;
}

.jira-empty .empty-text p {
    margin: 0.5rem 0 0 0;
    color: #6b778c;
    font-size: 0.875rem;
}

/* Footer */
.jira-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: white;
    border-top: 1px solid #e9ecef;
    font-size: 0.75rem;
    color: #97a0af;
}

.jira-footer .footer-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jira-footer .footer-info i {
    color: #0052cc;
}

/* ============================================ */
/* Jira Task Detail Page Styling */
/* ============================================ */

.jira-detail-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-header-card {
    padding: 0;
}

.detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e9ecef;
    gap: 1rem;
}

.detail-header-left {
    flex: 1;
}

.task-key-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: #deebff;
    color: #0052cc;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.task-key-badge .issue-type-icon {
    width: 16px;
    height: 16px;
}

.task-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #172b4d;
    line-height: 1.3;
}

.detail-header-right {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.detail-status-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #f4f5f7;
}

.resolution-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: #e3fcef;
    color: #006644;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.resolution-badge i {
    font-size: 0.875rem;
}

.detail-content-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 1.5rem;
}

.detail-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Detail cards */
.jira-card .card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    background: #fafbfc;
}

.jira-card .card-header i {
    color: #0052cc;
    font-size: 1.25rem;
}

.jira-card .card-header h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: #172b4d;
}

.jira-card .card-content {
    padding: 1.5rem;
}

/* Description content */
.description-content {
    color: #172b4d;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.no-content {
    color: #97a0af;
    font-style: italic;
    margin: 0;
}

/* Labels container */
.labels-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Components list */
.components-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.component-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: #f4f5f7;
    border-radius: 6px;
}

.component-name {
    font-weight: 600;
    color: #172b4d;
}

.component-desc {
    font-size: 0.8125rem;
    color: #6b778c;
}

/* Versions list */
.versions-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.version-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f4f5f7;
    border-radius: 6px;
}

.version-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #172b4d;
}

.released-icon {
    color: #00875a;
    font-size: 1rem;
}

.version-date {
    font-size: 0.8125rem;
    color: #6b778c;
}

/* Detail list */
.detail-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b778c;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #172b4d;
    font-size: 0.9375rem;
}

.detail-value.overdue {
    color: #de350b;
    font-weight: 600;
}

.detail-value.resolved {
    color: #00875a;
}

/* User info */
.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 500;
    color: #172b4d;
}

.user-email {
    font-size: 0.75rem;
    color: #6b778c;
}

/* Issue type */
.issue-type {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
}

.issue-type-icon-small {
    width: 16px;
    height: 16px;
}

/* Parent link */
.parent-link {
    color: #0052cc;
    text-decoration: none;
    font-weight: 500;
}

.parent-link:hover {
    text-decoration: underline;
}

/* User Dropdown Styles */
.user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.user-dropdown-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
}

.user-dropdown-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #dfe1e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b778c;
}

.user-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    overflow: hidden;
}

.user-dropdown-name {
    font-weight: 500;
    color: #172b4d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-email {
    font-size: 0.75rem;
    color: #6b778c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-user-info {
    background: #deebff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

/* Employee Dropdown Styles */
.employee-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.employee-dropdown-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.employee-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    overflow: hidden;
}

.employee-dropdown-name {
    font-weight: 600;
    color: #172b4d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.employee-dropdown-email {
    font-size: 0.75rem;
    color: #6b778c;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.employee-dropdown-dept {
    font-size: 0.7rem;
    color: #0d6efd;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.selected-user-info {
    background: #deebff;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

/* Project Dropdown Styles */
.project-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.project-dropdown-avatar {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    flex-shrink: 0;
}

.project-dropdown-avatar-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b778c;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.project-dropdown-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    overflow: hidden;
}

.project-dropdown-key {
    font-weight: 700;
    font-size: 0.75rem;
    color: #0747a6;
    text-transform: uppercase;
}

.project-dropdown-name {
    font-size: 0.875rem;
    color: #172b4d;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Status Dropdown Styles */
.status-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.5rem;
}

.status-dropdown-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot-new {
    background-color: #42526e;
}

.status-dot-inprogress {
    background-color: #0052cc;
}

.status-dot-done {
    background-color: #00875a;
}

.status-dot-default {
    background-color: #6b778c;
}

/* Dark mode for user dropdown */
[data-mode="dark"] .user-dropdown-name {
    color: #f9fafb;
}

[data-mode="dark"] .user-dropdown-email {
    color: #9ca3af;
}

[data-mode="dark"] .user-dropdown-avatar-placeholder {
    background: #374151;
    color: #9ca3af;
}

[data-mode="dark"] .selected-user-info {
    background: #1e3a5f;
}

/* Dark mode for project and status dropdowns */
[data-mode="dark"] .project-dropdown-key {
    color: #60a5fa;
}

[data-mode="dark"] .project-dropdown-name {
    color: #f9fafb;
}

[data-mode="dark"] .project-dropdown-avatar-placeholder {
    background: #374151;
    color: #9ca3af;
}

[data-mode="dark"] .status-dropdown-name {
    color: #f9fafb;
}

/* Dark mode support for Jira */
[data-mode="dark"] .jira-card {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
}

[data-mode="dark"] .jira-header,
[data-mode="dark"] .jira-footer {
    background: #1f2937;
    border-color: #374151;
}

[data-mode="dark"] .jira-header-text h3,
[data-mode="dark"] .task-title,
[data-mode="dark"] .detail-value,
[data-mode="dark"] .component-name,
[data-mode="dark"] .version-name,
[data-mode="dark"] .user-name,
[data-mode="dark"] .jira-card .card-header h3 {
    color: #f9fafb;
}

[data-mode="dark"] .jira-header-text p,
[data-mode="dark"] .jira-stats .stat-item,
[data-mode="dark"] .detail-label,
[data-mode="dark"] .component-desc,
[data-mode="dark"] .version-date,
[data-mode="dark"] .user-email {
    color: #9ca3af;
}

[data-mode="dark"] .jira-btn {
    background: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
}

[data-mode="dark"] .jira-btn:hover:not(:disabled) {
    border-color: #60a5fa;
    color: #60a5fa;
    background: #1e3a5f;
}

[data-mode="dark"] .jira-filters,
[data-mode="dark"] .jira-stats,
[data-mode="dark"] .detail-status-bar,
[data-mode="dark"] .jira-card .card-header {
    background: #111827;
}

[data-mode="dark"] .jira-key-link {
    background: #1e3a5f;
    color: #60a5fa;
}

[data-mode="dark"] .project-badge,
[data-mode="dark"] .component-item,
[data-mode="dark"] .version-item {
    background: #374151;
    color: #e5e7eb;
}

[data-mode="dark"] .description-content {
    color: #e5e7eb;
}

/* Jira Filters Panel - Improved UI */
.jira-filters-panel {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}

.filters-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    color: #374151;
}

.filters-title i {
    color: #0052cc;
    font-size: 1.25rem;
}

.filters-actions {
    display: flex;
    gap: 0.5rem;
}

.filter-apply-btn {
    min-width: 120px;
}

.filter-clear-btn {
    min-width: 100px;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #4b5563;
    margin-bottom: 0.125rem;
}

.filter-label i {
    color: #6b7280;
    font-size: 0.875rem;
}

.filter-checkbox {
    justify-content: flex-start;
}

.checkbox-wrapper {
    padding: 0.5rem 0;
}

.filter-checkbox-input {
    font-size: 0.875rem;
}

/* Active Filters Tags */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed #e5e7eb;
}

.active-filters-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.5rem 0.25rem 0.625rem;
    background: linear-gradient(135deg, #deebff 0%, #b3d4ff 100%);
    color: #0052cc;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 16px;
    border: 1px solid #b3d4ff;
}

.filter-tag i {
    font-size: 0.75rem;
}

.filter-tag-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border: none;
    background: rgba(0, 82, 204, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    margin-left: 0.125rem;
}

.filter-tag-remove:hover {
    background: #0052cc;
    color: white;
}

.filter-tag-remove i {
    font-size: 0.625rem;
}

/* Issue Type Badge */
.issue-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 4px;
}

.issue-type-icon {
    width: 16px;
    height: 16px;
}

.issue-type-epic {
    background: #f3e8ff;
    color: #7c3aed;
}

.issue-type-story {
    background: #dcfce7;
    color: #16a34a;
}

.issue-type-task {
    background: #dbeafe;
    color: #2563eb;
}

.issue-type-bug {
    background: #fee2e2;
    color: #dc2626;
}

.issue-type-subtask {
    background: #e0f2fe;
    color: #0284c7;
}

.issue-type-default {
    background: #f3f4f6;
    color: #6b7280;
}

/* Dark mode support */
[data-mode="dark"] .jira-filters-panel {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    border-color: #374151;
}

[data-mode="dark"] .filters-header {
    border-bottom-color: #374151;
}

[data-mode="dark"] .filters-title {
    color: #f3f4f6;
}

[data-mode="dark"] .filters-title i {
    color: #60a5fa;
}

[data-mode="dark"] .filter-label {
    color: #d1d5db;
}

[data-mode="dark"] .filter-label i {
    color: #9ca3af;
}

[data-mode="dark"] .active-filters {
    border-top-color: #374151;
}

[data-mode="dark"] .active-filters-label {
    color: #9ca3af;
}

[data-mode="dark"] .filter-tag {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e40af 100%);
    color: #93c5fd;
    border-color: #1e40af;
}

[data-mode="dark"] .filter-tag-remove {
    background: rgba(147, 197, 253, 0.2);
}

[data-mode="dark"] .filter-tag-remove:hover {
    background: #3b82f6;
    color: white;
}

[data-mode="dark"] .issue-type-epic {
    background: #4c1d95;
    color: #c4b5fd;
}

[data-mode="dark"] .issue-type-story {
    background: #14532d;
    color: #86efac;
}

[data-mode="dark"] .issue-type-task {
    background: #1e3a8a;
    color: #93c5fd;
}

[data-mode="dark"] .issue-type-bug {
    background: #7f1d1d;
    color: #fca5a5;
}

[data-mode="dark"] .issue-type-subtask {
    background: #0c4a6e;
    color: #7dd3fc;
}

[data-mode="dark"] .issue-type-default {
    background: #374151;
    color: #d1d5db;
}

/* Responsive */
@media (max-width: 768px) {
    .filters-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .filters-actions {
        justify-content: stretch;
    }
    
    .filters-actions .dxbl-btn {
        flex: 1;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
    }
}

