/*
 * © by www.GeRockt.net Dieser Code ist urheberrechtlich geschützt. Jegliche Veröffentlichung, unbefugte Benutzung etc. wird strafrechtlich verfolgt.
 * Datei: /public/css/customer-pwa.css
 * Version: 1.34.2
 * Erstellt: 2026-06-06
 * Beschreibung: Install-Hinweis und PWA-UI für das Kundenportal.
 */

.customer-pwa-install {
    margin: 20px 0;
    padding: 18px 20px;
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.customer-pwa-install-prominent {
    border-color: #60a5fa;
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
}

.customer-pwa-install-lead {
    margin: 0 0 12px;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.5;
}

.customer-pwa-install-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.customer-pwa-install-success {
    margin-top: 24px;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(145deg, #eff6ff 0%, #f8fafc 55%, #ffffff 100%);
    border: 1px solid #bfdbfe;
    box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}

.customer-pwa-install-kicker {
    margin: 0 0 8px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2563eb;
}

.customer-pwa-install-title {
    margin: 0 0 10px;
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
    line-height: 1.25;
    letter-spacing: -.02em;
    color: #0f172a;
}

.customer-pwa-install-text {
    margin: 0 0 14px;
    color: #475569;
    line-height: 1.6;
    max-width: 42rem;
}

.customer-pwa-install-benefits {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.customer-pwa-install-benefits li {
    position: relative;
    padding-left: 1.35rem;
    color: #1e293b;
    line-height: 1.45;
    font-weight: 600;
    font-size: .95rem;
}

.customer-pwa-install-benefits li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .45rem;
    width: .55rem;
    height: .55rem;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}

.customer-pwa-install-button {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: min(100%, 280px);
    padding: 14px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .28);
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.customer-pwa-install-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px rgba(37, 99, 235, .32);
    color: #fff;
}

.customer-pwa-install-button-label {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
}

.customer-pwa-install-button-hint {
    font-size: .82rem;
    font-weight: 600;
    opacity: .88;
    line-height: 1.3;
}

.customer-pwa-ios-hint,
.customer-pwa-installed-hint {
    margin: 12px 0 0;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.5;
}

.customer-pwa-install[hidden] {
    display: none !important;
}

.customer-setup-page .mapush-setup-shell {
    min-height: 100vh;
    min-height: 100dvh;
    max-width: 520px;
    margin: 0 auto;
    padding: 24px 16px;
}

.customer-setup-page .mapush-setup-kicker {
    color: #2563eb;
}

.customer-setup-page .mapush-btn-primary,
.customer-setup-page .mapush-btn-link-action {
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
}

.customer-setup-page .mapush-btn-primary:disabled {
    opacity: 0.45;
}

.customer-setup-page .mapush-guide a {
    color: #1d4ed8;
}

.customer-push-optin {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    font-size: 0.92rem;
    color: #334155;
    line-height: 1.45;
}

.customer-push-optin input {
    margin-top: 3px;
}

.mapush-check-item.is-optional .mapush-check-icon {
    background: #94a3b8;
    color: #fff;
}

.mapush-check-item.is-optional .mapush-check-icon::before {
    content: "○";
}

.customer-push-settings {
    margin: 16px 0;
    padding: 14px 16px;
    border: 1px solid #bfdbfe;
    border-radius: 12px;
    background: #eff6ff;
}

.customer-push-settings label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.45;
}

.customer-push-settings p {
    margin: 8px 0 0;
    font-size: 0.88rem;
    color: #475569;
}

.customer-push-settings a {
    color: #1d4ed8;
}
