.jl-webpush-prompt {
    position: fixed;
    z-index: 99999;
    max-width: 360px;
    background: #ffffff;
    color: #1a1a1a;
    border: 1px solid #e5e5e5;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.jl-webpush-prompt.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.jl-webpush-prompt--bottom-right { bottom: 24px; right: 24px; }
.jl-webpush-prompt--bottom-left  { bottom: 24px; left: 24px; }
.jl-webpush-prompt--top-right    { top: 24px; right: 24px; }
.jl-webpush-prompt--top-left     { top: 24px; left: 24px; }

.jl-webpush-prompt__inner { padding: 20px 22px; }
.jl-webpush-prompt__title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.01em;
}
.jl-webpush-prompt__text {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 16px;
}
.jl-webpush-prompt__actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.jl-webpush-prompt__btn {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
}
.jl-webpush-prompt__btn--ghost {
    background: transparent;
    color: #777;
    border-color: #e5e5e5;
}
.jl-webpush-prompt__btn--ghost:hover {
    color: #1a1a1a;
    border-color: #1a1a1a;
}
.jl-webpush-prompt__btn--primary {
    background: #1a1a1a;
    color: #ffffff;
}
.jl-webpush-prompt__btn--primary:hover {
    background: #000000;
}

@media (max-width: 480px) {
    .jl-webpush-prompt {
        left: 12px !important;
        right: 12px !important;
        max-width: none;
        bottom: 12px;
    }
    .jl-webpush-prompt--top-right,
    .jl-webpush-prompt--top-left {
        top: 12px;
        bottom: auto;
    }
}

/* ============ Info-Seite /module/jl_webpush/notifications ============ */
.jlwp-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #1a1a1a;
}

.jlwp-hero {
    text-align: center;
    padding: 48px 24px 40px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    margin-bottom: 40px;
}
.jlwp-hero__icon {
    font-size: 48px;
    margin-bottom: 16px;
}
.jlwp-hero__title {
    font-size: 32px;
    font-weight: 300;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
    color: #1a1a1a;
}
.jlwp-hero__subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    max-width: 620px;
    margin: 0 auto 32px;
}
.jlwp-hero__meta {
    margin-top: 20px;
    font-size: 12px;
    color: #999;
    letter-spacing: 0.02em;
}

.jlwp-status {
    max-width: 560px;
    margin: 0 auto 24px;
    padding: 14px 20px;
    font-size: 14px;
    line-height: 1.5;
    border: 1px solid #e5e5e5;
    background: #fff;
    text-align: left;
}
.jlwp-status--active {
    border-color: #10b981;
    background: #f0fdf4;
    color: #065f46;
}
.jlwp-status--inactive {
    border-color: #d4d4d4;
    background: #fff;
    color: #555;
}
.jlwp-status--denied {
    border-color: #ef4444;
    background: #fef2f2;
    color: #7f1d1d;
}
.jlwp-status--unsupported {
    border-color: #f59e0b;
    background: #fffbeb;
    color: #78350f;
}
.jlwp-status--error {
    border-color: #ef4444;
    background: #fef2f2;
    color: #7f1d1d;
}
.jlwp-status__loading {
    color: #999;
    text-align: center;
}

.jlwp-actions {
    text-align: center;
}
.jlwp-btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 500;
    font-family: inherit;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}
.jlwp-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.jlwp-btn--primary {
    background: #1a1a1a;
    color: #fff;
}
.jlwp-btn--primary:hover:not(:disabled) {
    background: #000;
}
.jlwp-btn--danger {
    background: #fff;
    color: #ef4444;
    border-color: #ef4444;
}
.jlwp-btn--danger:hover:not(:disabled) {
    background: #ef4444;
    color: #fff;
}
.jlwp-btn-hint {
    max-width: 480px;
    margin: 16px auto 0;
    padding: 12px 16px;
    font-size: 13px;
    color: #78350f;
    background: #fffbeb;
    border: 1px solid #fde68a;
}

.jlwp-features {
    margin-bottom: 48px;
}
.jlwp-features h2,
.jlwp-how h2,
.jlwp-faq h2,
.jlwp-recent h2 {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 24px;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}
.jlwp-features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.jlwp-feature {
    padding: 24px;
    border: 1px solid #e5e5e5;
    background: #fff;
}
.jlwp-feature__icon {
    font-size: 28px;
    margin-bottom: 12px;
}
.jlwp-feature h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1a1a1a;
}
.jlwp-feature p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.jlwp-how {
    margin-bottom: 48px;
}
.jlwp-how__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.jlwp-how__step {
    padding: 24px;
    border: 1px solid #e5e5e5;
    background: #fff;
}
.jlwp-how__num {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #1a1a1a;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 12px;
}
.jlwp-how__step h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 8px;
    color: #1a1a1a;
}
.jlwp-how__step p {
    font-size: 13px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.jlwp-faq {
    margin-bottom: 48px;
}
.jlwp-faq__item {
    border: 1px solid #e5e5e5;
    background: #fff;
    margin-bottom: 8px;
}
.jlwp-faq__item summary {
    padding: 16px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    outline: none;
    user-select: none;
    list-style: none;
    position: relative;
    padding-right: 40px;
}
.jlwp-faq__item summary::-webkit-details-marker {
    display: none;
}
.jlwp-faq__item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    font-weight: 300;
    color: #999;
}
.jlwp-faq__item[open] summary::after {
    content: '−';
}
.jlwp-faq__item p {
    padding: 0 20px 16px;
    margin: 0;
    font-size: 13px;
    line-height: 1.7;
    color: #555;
}

.jlwp-recent {
    margin-bottom: 48px;
}
.jlwp-recent__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}
.jlwp-recent__card {
    display: block;
    border: 1px solid #e5e5e5;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease;
}
.jlwp-recent__card:hover {
    border-color: #1a1a1a;
    text-decoration: none;
    color: inherit;
}
.jlwp-recent__img {
    height: 140px;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}
.jlwp-recent__body {
    padding: 16px 20px;
}
.jlwp-recent__body h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #1a1a1a;
    line-height: 1.3;
}
.jlwp-recent__body p {
    font-size: 12px;
    line-height: 1.5;
    color: #666;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.jlwp-recent__date {
    font-size: 11px;
    color: #999;
}

@media (max-width: 640px) {
    .jlwp-hero__title { font-size: 26px; }
    .jlwp-hero__subtitle { font-size: 14px; }
    .jlwp-page { padding: 24px 16px; }
}
