/* ============================================
   MODERN BASE STYLES
   ============================================ */

/* PERMANENTLY hide Blazor's default error UI - we have our own reconnect handler */
#blazor-error-ui {
    display: none !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f2937;
    background: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
}

#app {
    height: 100%;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* === LINKS === */

a {
    color: var(--color-primary, #667eea);
    text-decoration: none;
    transition: color var(--transition-base, 250ms);
}

a:hover {
    color: var(--color-primary-dark, #5568d3);
    text-decoration: none;
}

.btn-link {
    color: var(--color-primary, #667eea);
    transition: all var(--transition-base, 250ms);
}

.btn-link:hover {
    color: var(--color-primary-dark, #5568d3);
}

/* === BUTTONS === */

.btn-primary {
    color: #fff;
    background: #374151;
    border: 1px solid #374151;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #1f2937;
    border-color: #1f2937;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
    box-shadow: 0 0 0 0.2rem rgba(21, 128, 61, 0.25);
    outline: none;
}

/* === CONTENT === */

.content {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
}

/* === HEADINGS === */

h1 {
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #4b5563;
}

h1:focus {
    outline: none;
}

h2 {
    font-weight: 600;
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.875rem;
}

h3 {
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}

h4 {
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 0.625rem;
}

h5 {
    font-weight: 600;
    font-size: 1.125rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

h6 {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

/* === FORM VALIDATION === */

.valid.modified:not([type=checkbox]) {
    outline: 2px solid var(--color-success, #15803d);
    outline-offset: 2px;
}

.invalid {
    outline: 2px solid var(--color-danger, #f87171);
    outline-offset: 2px;
}

.validation-message {
    color: var(--color-danger, #f87171);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* === FORM FLOATING LABELS === */

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: #9ca3af;
    text-align: end;
    transition: all var(--transition-base, 250ms);
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

/* === CARDS === */

.card {
    background: white;
    border-radius: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: none;
    transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.card:hover {
    transform: none;
    box-shadow: none;
}

.card-body {
}

.card-header {
    /* neutral gray header per request */
    background: #f3f4f6;
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 1.5rem;
    font-weight: 600;
}

/* === ERROR BOUNDARY === */

.blazor-error-boundary {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    padding: 1.5rem 1.5rem 1.5rem 4.5rem;
    color: white;
    position: relative;
    border-radius: 0.75rem;
    margin: 1rem;
    box-shadow: 0 10px 15px -3px rgba(248, 113, 113, 0.3);
}

.blazor-error-boundary::before {
    content: '?';
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
    font-weight: 600;
    font-size: 1.125rem;
}

/* === UTILITY CLASSES === */

.text-center {
    text-align: center;
}

.text-muted {
    color: #6b7280 !important;
}

.text-primary {
    color: var(--color-primary, #667eea) !important;
}

.text-success {
    color: var(--color-success, #15803d) !important;
}

.text-danger {
    color: var(--color-danger, #f87171) !important;
}

.text-warning {
    color: var(--color-warning, #fbbf24) !important;
}

.text-info {
    color: var(--color-info, #60a5fa) !important;
}

/* === RESPONSIVE === */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .content {
        padding-top: 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* === ANIMATIONS === */

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* === LOADING SPINNER (GLOBAL) === */
/* Simple centered Bootstrap spinner design */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width: 100%;
    padding: 2rem 1rem;
    text-align: center;
}

.loading-spinner .spinner-border {
    display: block !important;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--bs-primary, #0d6efd);
}

.loading-spinner p,
.loading-spinner .loading-text {
    margin: 1rem 0 0 0;
    color: var(--bs-secondary, #6c757d);
    font-size: 0.95rem;
    font-weight: 500;
}

/* === ACCESSIBILITY === */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .loading-spinner .spinner-border {
        animation: none;
    }
}

/* === FOCUS VISIBLE === */

*:focus-visible {
    outline: 2px solid var(--color-primary, #667eea);
    outline-offset: 2px;
    border-radius: 0.25rem;
}

/* ============================================
   COLLAPSED SIDEBAR STYLES
   ============================================ */

/* Hide nav text when sidebar is collapsed (not hovering) */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-pills.collapsed .nav-text {
    display: none !important;
    width: 0 !important;
}

/* Center nav-link content when collapsed */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-pills.collapsed .nav-link {
    justify-content: center !important;
    padding: 0.6rem !important;
    width: 48px !important;
}

/* Center nav-item when collapsed */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-pills.collapsed .nav-item {
    display: flex !important;
    justify-content: center !important;
}

/* Hide section labels when collapsed */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-pills.collapsed .nav-section-label {
    display: none !important;
}

/* Icon styling when collapsed */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-pills.collapsed .nav-icon {
    margin: 0 !important;
    width: auto !important;
    min-width: auto !important;
}

/* Keep the divider (above Administration) visible when collapsed */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-pills.collapsed .nav-divider {
    width: 48px;
    margin: .5rem auto;
}

/* Pending approval badge positioning when collapsed (Issue #96) */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-pills.collapsed .nav-link {
    position: relative;
}

.page.sidebar-collapsed:not(.sidebar-hovering) .nav-pills.collapsed .nav-badge {
    position: absolute !important;
    top: 2px !important;
    right: 4px !important;
    margin-left: 0 !important;
    font-size: 0.55rem !important;
    padding: 0.15em 0.4em !important;
    min-width: 14px !important;
    text-align: center !important;
    line-height: 1.2 !important;
}

/* Account container collapsed: hide name and badge, show only avatar */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-account-container .user-name,
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-account-container .user-role-badge {
    display: none !important;
}

.page.sidebar-collapsed:not(.sidebar-hovering) .nav-account-container {
    padding: .25rem 0 !important;
}

.page.sidebar-collapsed:not(.sidebar-hovering) .nav-account-container .user-account-link {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    justify-content: center !important;
    background: transparent !important;
    border: 1px solid rgba(255,255,255,.10) !important;
    border-radius: 4px !important;
}

/* Collapse toggle button sizing when sidebar is collapsed */
.page.sidebar-collapsed:not(.sidebar-hovering) .nav-toggle-container {
    padding: .25rem 0 1rem 0 !important;
}

.page.sidebar-collapsed:not(.sidebar-hovering) .nav-toggle-btn {
    width: 48px !important;
    height: 48px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Hover-expanded (collapsed + hovering): show labels and make links full-width */
.page.sidebar-collapsed.sidebar-hovering .nav-pills.collapsed {
    padding: .25rem .75rem 1rem .75rem;
    align-items: stretch;
}

.page.sidebar-collapsed.sidebar-hovering .nav-pills.collapsed .nav-link {
    width: 100%;
    margin: 0;
    justify-content: flex-start;
    gap: .875rem;
    padding: .6rem .85rem;
}

.page.sidebar-collapsed.sidebar-hovering .nav-pills.collapsed .nav-text {
    display: block;
    width: auto;
}

.page.sidebar-collapsed.sidebar-hovering .nav-pills.collapsed .nav-section-label {
    display: block;
    opacity: 1;
    height: auto;
    padding: .25rem .75rem;
}

.page.sidebar-collapsed.sidebar-hovering .nav-pills.collapsed .nav-divider {
    margin: .5rem .25rem;
}

/* ============================================
   SCRIPT EXECUTION UI - NINJAONE STYLE
   Issue #28: UI für Script-Ausführung
   ============================================ */

/* Play Button Dropdown */
.play-button-dropdown .btn-play {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
    transition: all 0.2s ease;
}

.play-button-dropdown .btn-play:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.play-button-dropdown .dropdown-menu {
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.play-button-dropdown .dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: 4px;
    margin: 2px 4px;
    transition: background-color 0.15s ease;
}

.play-button-dropdown .dropdown-item:hover:not(:disabled) {
    background-color: rgba(0, 123, 255, 0.08);
}

.play-button-dropdown .dropdown-item:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Automation Library Modal */
#automationLibraryModal .modal-xl {
    max-width: 1100px;
}

#automationLibraryModal .table {
    font-size: 0.875rem;
}

#automationLibraryModal .table th {
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #e5e7eb;
}

#automationLibraryModal .table-hover tbody tr {
    cursor: pointer;
    transition: background-color 0.15s ease;
}

#automationLibraryModal .table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.04);
}

#automationLibraryModal .table-active {
    background-color: rgba(0, 123, 255, 0.1) !important;
}

/* Script Parameter Dialog */
#scriptParameterModal .modal-header {
    border-bottom: 1px solid #e5e7eb;
}

#scriptParameterModal .alert-light {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
}

#scriptParameterModal .form-select,
#scriptParameterModal .form-control {
    border-radius: 6px;
    border-color: #d1d5db;
}

#scriptParameterModal .form-select:focus,
#scriptParameterModal .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.15);
}

/* Activities Panel */
.activities-panel {
    padding: 0.5rem;
}

.activities-panel .activities-list {
    max-height: 500px;
    overflow-y: auto;
}

.activities-panel .activity-item {
    animation: fadeInUp 0.2s ease;
    transition: background-color 0.15s ease;
    border-radius: 0.375rem;
    padding: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
}

.activities-panel .activity-item:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

.activities-panel .activity-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.activities-panel .output-preview code {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
}

/* Activity Detail Modal */
#activityDetailModal .modal-content {
    border-radius: 0.5rem;
}

#activityDetailModal pre {
    margin: 0;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Fira Code', monospace;
    font-size: 0.8125rem;
    line-height: 1.5;
}

#activityDetailModal .modal-header {
    border-bottom: 1px solid #e5e7eb;
}

#activityDetailModal .modal-footer {
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

#activityDetailModal .info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    padding: 1rem;
}

#activityDetailModal .info-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    align-items: start;
}

#activityDetailModal .info-label {
    color: #6b7280;
    font-weight: 500;
}

#activityDetailModal .info-value {
    color: #111827;
}

#activityDetailModal .bg-dark {
    background-color: #1e1e2e !important;
}

/* ============================================
   TERMINAL DOCK - Position wird via CSS-Variable --sidebar-width gesteuert
   (gesetzt von sidebar.js, verwendet in TerminalModal.razor)
   ============================================ */

/* Badges - NinjaOne Style */
.badge.bg-success-subtle {
    background-color: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

.badge.bg-danger-subtle {
    background-color: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* Cursor utility */
.cursor-pointer {
    cursor: pointer;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal helper functions (JavaScript interop) */

/* ============================================
   BLAZOR SERVER RECONNECT MODAL - NINJAONE STYLE
   ============================================ */

#components-reconnect-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

#components-reconnect-modal.components-reconnect-hide {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#components-reconnect-modal.components-reconnect-show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#components-reconnect-modal .reconnect-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(2px);
}

#components-reconnect-modal .reconnect-dialog {
    position: relative;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: reconnectDialogIn 0.2s ease-out forwards;
    overflow: hidden;
}

@keyframes reconnectDialogIn {
    from {
        opacity: 0;
        transform: translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
#components-reconnect-modal .reconnect-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}

#components-reconnect-modal .reconnect-icon {
    width: 48px;
    height: 48px;
    background: #fef3c7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#components-reconnect-modal .reconnect-icon svg {
    width: 24px;
    height: 24px;
    color: #d97706;
    animation: reconnectSpin 2s linear infinite;
}

@keyframes reconnectSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

#components-reconnect-modal .reconnect-header-text {
    flex: 1;
}

#components-reconnect-modal .reconnect-title {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 0.25rem 0;
}

#components-reconnect-modal .reconnect-subtitle {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

/* Body */
#components-reconnect-modal .reconnect-body {
    padding: 1.5rem;
}

#components-reconnect-modal .reconnect-status-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

#components-reconnect-modal .reconnect-status-icon {
    width: 40px;
    height: 40px;
    background: #dbeafe;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

#components-reconnect-modal .reconnect-status-icon i {
    font-size: 1rem;
    color: #2563eb;
}

#components-reconnect-modal .reconnect-status-text {
    flex: 1;
}

#components-reconnect-modal .reconnect-status {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin: 0 0 0.25rem 0;
}

#components-reconnect-modal .reconnect-attempts {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
}

/* Progress */
#components-reconnect-modal .reconnect-progress-wrapper {
    margin-bottom: 1.25rem;
}

#components-reconnect-modal .reconnect-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

#components-reconnect-modal .reconnect-progress {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

#components-reconnect-modal .reconnect-progress-bar {
    height: 100%;
    background: #0078d4;
    border-radius: 2px;
    width: 0%;
    position: absolute;
    left: 0;
    transition: width 0.3s ease, left 0.3s ease;
}

#components-reconnect-modal .reconnect-progress-bar.indeterminate {
    width: 30%;
    animation: windowsProgressIndeterminate 1.8s ease-in-out infinite;
}

@keyframes windowsProgressIndeterminate {
    0% { 
        left: -30%;
    }
    100% {
        left: 100%;
    }
}

/* Info Text */
#components-reconnect-modal .reconnect-info {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: #fffbeb;
    border: 1px solid #fef3c7;
    border-radius: 6px;
}

#components-reconnect-modal .reconnect-info i {
    color: #d97706;
    margin-right: 0.5rem;
}

/* Footer / Actions */
#components-reconnect-modal .reconnect-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

#components-reconnect-modal .reconnect-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

#components-reconnect-modal .reconnect-btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

#components-reconnect-modal .reconnect-btn-secondary:hover {
    background: #f3f4f6;
    border-color: #9ca3af;
}

#components-reconnect-modal .reconnect-btn-primary {
    background: #374151;
    color: white;
    border: 1px solid #374151;
}

#components-reconnect-modal .reconnect-btn-primary:hover {
    background: #1f2937;
    border-color: #1f2937;
}

#components-reconnect-modal .reconnect-btn:active {
    transform: scale(0.98);
}

/* Success State */
#components-reconnect-modal.reconnect-success .reconnect-icon {
    background: #dcfce7;
}

#components-reconnect-modal.reconnect-success .reconnect-icon svg {
    color: #16a34a;
    animation: none;
}

#components-reconnect-modal.reconnect-success .reconnect-status-icon {
    background: #dcfce7;
}

#components-reconnect-modal.reconnect-success .reconnect-status-icon i {
    color: #16a34a;
}

#components-reconnect-modal.reconnect-success .reconnect-progress-bar {
    background: #16a34a;
    width: 100%;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    #components-reconnect-modal .reconnect-dialog {
        background: #1f2937;
        border-color: #374151;
    }
    
    #components-reconnect-modal .reconnect-header {
        background: #111827;
        border-color: #374151;
    }
    
    #components-reconnect-modal .reconnect-title {
        color: #f9fafb;
    }
    
    #components-reconnect-modal .reconnect-subtitle,
    #components-reconnect-modal .reconnect-status,
    #components-reconnect-modal .reconnect-attempts {
        color: #9ca3af;
    }
    
    #components-reconnect-modal .reconnect-status-card {
        background: #111827;
        border-color: #374151;
    }
    
    #components-reconnect-modal .reconnect-progress {
        background: #374151;
    }
    
    #components-reconnect-modal .reconnect-info {
        background: #1e293b;
        border-color: #475569;
        color: #9ca3af;
    }
    
    #components-reconnect-modal .reconnect-footer {
        background: #111827;
        border-color: #374151;
    }
    
    #components-reconnect-modal .reconnect-btn-secondary {
        background: #374151;
        border-color: #4b5563;
        color: #e5e7eb;
    }
    
    #components-reconnect-modal .reconnect-btn-secondary:hover {
        background: #4b5563;
    }
}
