/*
 * Browser host chrome only. Shared SiComLink.css styles the app itself.
 * Fill the window the way the toolbar panel fills its frame.
 */

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #2A2A2A;
    color: #ECEEF0;
    font-family: "Segoe UI", Arial, sans-serif;
}

#SiComLinkContent {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
    background-color: #2A2A2A;
}

.si-web-notice {
    flex: 0 0 auto;
    padding: 6px 10px;
    background-color: #D4A830;
    color: #212121;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
}

.si-web-connect {
    display: flex;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin: 4px 0 10px;
}

.si-web-connect__host {
    flex: 1 1 auto;
    min-width: 0;
    margin-right: 8px;
}

.si-web-connect__status {
    min-height: 1.4em;
    max-width: 28em;
    margin: 10px 0 4px;
    font-size: 12px;
    line-height: 1.4;
    color: #D4A830;
}

.si-web-blocked {
    max-width: 28em;
    margin: 6px 0 10px;
    padding: 8px 10px;
    border: 1px solid #D4A830;
    border-radius: 4px;
    background-color: rgba(212, 168, 48, 0.12);
    font-size: 12px;
    line-height: 1.4;
}

.si-web-blocked[hidden] { display: none; }

.si-web-blocked strong { color: #D4A830; }

.si-web-blocked p,
.si-web-blocked ol { margin: 6px 0 0; }

.si-web-blocked ol { padding-left: 18px; }

#SiComLinkContent .si-app {
    flex: 1 1 auto;
    align-self: stretch;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
}
