/* Simpla Work App - "app installeren" kaart/banner (zie js/install-app.js) */

.installCard {
    position: relative;
    text-align: left;
    border-radius: 12px;
    padding: 14px 16px;
    margin: 0 auto;
    max-width: 420px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.installCard--dark {
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.installCard--light {
    background: #fff;
    border: 1px solid #dee2e6;
    color: #212529;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    max-width: none;
    margin-bottom: 12px;
}

.installHead { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.installAppIcon { width: 48px; height: 48px; border-radius: 11px; flex: 0 0 auto; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.installTitle { display: block; font-size: 1.05rem; }
.installSub { display: block; font-size: 0.85rem; opacity: 0.85; }

.installBtn { font-weight: 600; margin: 4px 0 10px; }
.installDone { font-weight: 600; padding: 8px 0; }

.installSteps { padding-left: 1.3em; margin: 0 0 8px; }
.installSteps li { margin-bottom: 6px; list-style-type: decimal; width: auto; }
.installSteps small { opacity: 0.8; }

.installIco { width: 1.25em; height: 1.25em; vertical-align: -0.25em; display: inline-block; }
.installCard--dark .installIco { color: #fff; }
.installCard--light .installIco { color: #007aff; }

.installNote { font-size: 0.85rem; opacity: 0.9; margin: 4px 0 8px; }
.installCard--dark .installNote, .installCard--dark p { color: #fff; }

.installQR { text-align: center; }
.installQRCode { display: inline-block; background: #fff; padding: 8px; border-radius: 8px; margin-bottom: 6px; }
.installQRCode img, .installQRCode canvas { display: block; }
.installQRCode code { color: #212529; word-break: break-all; }

.installLinks { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; margin-top: 4px; }
.installLink {
    background: none; border: 0; padding: 4px 0; font-size: 0.85rem;
    text-decoration: underline; cursor: pointer; color: inherit; opacity: 0.9;
}
.installCard--light .installLink { color: #007bff; }

.installOther { margin-top: 10px; border-top: 1px solid rgba(127, 127, 127, 0.3); padding-top: 10px; }
.installOther h6 { font-size: 0.9rem; font-weight: 600; margin: 8px 0 4px; }

.installClose {
    position: absolute; top: 4px; right: 8px; border: 0; background: none;
    font-size: 1.5rem; line-height: 1; color: #6c757d; padding: 4px 6px; cursor: pointer;
}

/* ingeklapte banner (home): enkel kop + installeerknop */
.installCollapsed .installHead { margin-bottom: 0; cursor: pointer; padding-right: 24px; }
.installCollapsed .installHead::after { content: '\203A'; margin-left: auto; font-size: 1.5rem; color: #adb5bd; }
.installCollapsed .installMain,
.installCollapsed .installLinks,
.installCollapsed .installOther { display: none !important; }
.installCollapsed .installBtn { margin-top: 10px; margin-bottom: 0; }

.installGuide h6 {
    color: #FFFFFF;
    opacity: 0.85;
}