* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    background: #fff;
}

/* ── Body ── */
#app-body {
    display: none;
    flex-direction: column;
}

#sideload-msg {
    padding: 16px;
    color: #666;
}

/* ── Views ── */
#view-loading,
#view-unauth,
#view-auth {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Unauthenticated ── */
.intro-text {
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

.divider {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 20px 0;
}

/* ── ProConnect ── */
.proconnect-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.proconnect-button {
    background-color: transparent !important;
    background-image: url("data:image/svg+xml;base64,[encoded data, 16684 characters]");
    background-position: 50% 50%;
    background-repeat: no-repeat;
    width: 214px;
    height: 56px;
    border: none;
}

.proconnect-button:hover {
    background-image: url("data:image/svg+xml;base64,[encoded data, 16880 characters]");
}

.proconnect-link {
    font-size: 12px;
    color: #0063CB;
    text-decoration: none;
}

.proconnect-link:hover {
    text-decoration: underline;
}

/* ── Authenticated ── */
button {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    width: 100%;
}

#btn-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}

#btn-generate {
    background-color: #000091;
    color: #fff;
}

#btn-generate:hover {
    background-color: #1212FF;
}

#btn-disconnect {
    background-color: transparent;
    color: #666;
    border: 1px solid #ccc;
}

#btn-disconnect:hover {
    background-color: #f5f5f5;
}

/* ── Danger button (remove meeting) ── */

#btn-remove {
    background-color: #CA3632; /* error.400 */
    color: #FFFFFF;
    border: none;
}

#btn-remove:hover {
    background-color: #EE6A66; /* error.600 */
}

#btn-remove:active {
    background-color: #F28D8A; /* error.700 */
    color: #F6AFAD;            /* error.200 */
}

#btn-remove:disabled {
    background-color: #F6AFAD; /* error.800 */
    color: #FAD2D1;            /* error.900 */
    cursor: not-allowed;
}

/* ── Version ── */

#version-tag {
    position: fixed;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #6b7280;
    user-select: none;
    pointer-events: none;
}

#feedback-link {
    font-size: 11px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #6b7280;
    text-decoration: underline;
    pointer-events: all; /* override parent's pointer-events: none */
    cursor: pointer;
}

#feedback-link:hover {
    color: #374151;
}

#footer-right {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: auto;
}

.version-badge {
    background: #EEF1F4;
    color: #2845C1;
    padding: 1px 6px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 10px;
}

.version-number {
    font-variant-numeric: tabular-nums;
}