/* Blazor Server Reconnect UI - Override Bootstrap conflicts */

#components-reconnect-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1060; /* Above Bootstrap modals */
    background: #fff;
    color: #212529;
    padding: 1rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    border-top: 3px solid var(--bs-primary, #0d6efd);
    max-width: 600px;
    margin: 0 auto;
}

#components-reconnect-modal h5 {
    color: #212529 !important;
    margin: 0 0 0.5rem 0;
}

#components-reconnect-modal .show,
#components-reconnect-modal.components-reconnect-show {
    display: block !important;
}

#components-reconnect-modal.components-reconnect-hide {
    display: none !important;
}

#components-reconnect-modal.components-reconnect-failed {
    background: #fff3cd;
    border-color: #ffc107;
}

#components-reconnect-modal.components-reconnect-rejected {
    background: #f8d7da;
    border-color: #dc3545;
}

/* Ensure all text in reconnect is readable */
#components-reconnect-modal,
#components-reconnect-modal *,
#components-reconnect-modal button {
    color: #212529 !important;
}

/* Buttons should maintain their own colors */
#components-reconnect-modal button.btn-primary {
    background-color: var(--bs-primary, #0d6efd);
    border-color: var(--bs-primary, #0d6efd);
    color: #fff !important;
}

#components-reconnect-modal button.btn-secondary {
    background-color: var(--bs-secondary, #6c757d);
    border-color: var(--bs-secondary, #6c757d);
    color: #fff !important;
}
