/* Page-only styles: this file is loaded by error.html alone, so the light ground
   here does not touch the dark, glowing background the other legacy views share
   through geral.css. */
.container {
    position: relative;
    background-color: #ffffff;
}

.content {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    flex-grow: 1;
    min-height: 0;
    z-index: 2;
}

.error-content {
    gap: 16px;
    padding: 0;
    max-width: 420px;
    text-align: center;
}

/* Back button: the AppBar's arrow, top-left, on the same 56px bar height the FanZone
   uses, so the finger lands where it already expects to. */
.error-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    background: transparent;
    color: #868e96;
    cursor: pointer;
    z-index: 3;
    /* The blue wash on tap is the WebView's own tap highlight, not anything styled here;
       the focus ring is kept for keyboard users (:focus-visible) and dropped for touch. */
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    appearance: none;
}

.error-back:focus:not(:focus-visible) {
    outline: none;
}

.error-back svg {
    width: 22px;
    height: 22px;
}

.error-back:active {
    color: #212529;
}

/* Sits in a soft grey disc so the icon reads as deliberate on a plain white page
   instead of floating loose above the text. */
.error-icon {
    width: 32px;
    height: 32px;
    box-sizing: content-box;
    padding: 14px;
    border-radius: 50%;
    background-color: #f1f3f5;
    color: #868e96;
}

/* Plain heading, no glass panel: the bordered, blurred box read as a button or an
   alert bar, and framed the one line that should simply sit there. */
.error-title {
    color: #212529;
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: center;
    margin: 0;
}

.error-message {
    color: #868e96;
    font-size: 15px;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    max-width: 340px;
}
