/* Bağlantı durumu tek pencerede gösterilir; framework'ün h5/DOM yapısına bağımlı değildir. */
#components-reconnect-modal::before { content: none !important; }
#components-reconnect-modal.bym-connection-dialog {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(12, 28, 51, .58);
    overflow-y: auto;
}
#components-reconnect-modal[hidden],
#components-reconnect-modal [hidden] { display: none !important; }
.bym-reconnect-card {
    width: min(100%, 460px);
    padding: 30px;
    border-top: 4px solid var(--bs-primary, #1675d1);
    border-radius: 12px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #182230);
    box-shadow: 0 18px 48px rgba(12, 28, 51, .25);
    text-align: left;
}
.bym-reconnect-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bs-border-color, #e5e7eb);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}
.bym-reconnect-brand img { width: 48px; height: auto; }
.bym-reconnect-title { font-size: 21px; font-weight: 600; line-height: 1.3; margin-bottom: 10px; }
.bym-reconnect-subtitle, .bym-reconnect-info { font-size: 14px; line-height: 1.6; }
.bym-reconnect-subtitle { margin-bottom: 0; }
.bym-reconnect-info {
    margin: 20px 0 0;
    padding: 12px 14px;
    border-left: 3px solid var(--bs-primary, #1675d1);
    background: var(--bs-tertiary-bg, #f5f6f8);
    border-radius: 0 6px 6px 0;
}
.bym-reconnect-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 22px; }
#components-reconnect-modal button {
    width: auto;
    height: auto;
    border: 1px solid var(--bs-border-color, #ced4da);
    border-radius: 7px;
    padding: 10px 16px;
    background: var(--bs-body-bg, #fff);
    color: var(--bs-body-color, #182230);
    cursor: pointer;
}
#components-reconnect-modal .bym-reconnect-btn-primary { background: var(--bs-primary, #1675d1); color: #fff; border-color: transparent; }
.bym-reconnect-btn-primary:disabled { opacity: .65; cursor: wait; }
#components-reconnect-modal button:focus-visible { outline: 3px solid var(--bs-primary, #1675d1); outline-offset: 3px; }
@media (max-width: 520px) {
    .bym-reconnect-card { padding: 24px; }
    .bym-reconnect-buttons { flex-direction: column; }
    #components-reconnect-modal button { width: 100%; }
}
