.wp-pwa-install {
    position: fixed;
    right: 16px;
    bottom: 20px;
    z-index: 99990;
    display: none;
    align-items: center;
    gap: 0;
    height: 46px;
    padding: 0 14px;
    overflow: hidden;
    color: #fff;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    background: linear-gradient(135deg, #002dff 0%, #ff3399 100%);
    border-radius: 50px;
    box-shadow:
        0 8px 28px rgba(0, 45, 255, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.1);
    opacity: 0;
    transform: translateY(80px);
    transition:
        transform 0.3s cubic-bezier(.4, 0, .2, 1),
        opacity 0.3s ease;
    will-change: transform;
}

.wp-pwa-install.is-visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.wp-pwa-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    font-size: 13px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.wp-pwa-label {
    max-width: 0;
    margin-left: 0;
    overflow: hidden;
    opacity: 0;
    transition:
        max-width 0.32s cubic-bezier(.4, 0, .2, 1),
        opacity 0.22s ease,
        margin-left 0.32s cubic-bezier(.4, 0, .2, 1);
}

.wp-pwa-install.is-expanded .wp-pwa-label {
    max-width: 110px;
    margin-left: 8px;
    opacity: 1;
}

.wp-pwa-ios-sheet {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99995;
    display: none;
    padding: 24px 20px 34px;
    font-family: "Poppins", sans-serif;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.wp-pwa-ios-sheet.is-mounted {
    display: block;
}

.wp-pwa-ios-sheet.is-open {
    transform: translateY(0);
}

.wp-pwa-ios-handle {
    width: 36px;
    height: 5px;
    margin: 0 auto 20px;
    background: #e5e7eb;
    border-radius: 10px;
}

.wp-pwa-ios-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.wp-pwa-ios-head h3 {
    margin: 0;
    color: #111;
    font-family: "Bricolage Grotesque", "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.wp-pwa-ios-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background: #f3f4f6;
    border: none;
    border-radius: 50%;
}

.wp-pwa-ios-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
}

.wp-pwa-ios-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.wp-pwa-ios-step-num {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    background: linear-gradient(135deg, #002dff 0%, #ff3399 100%);
    border-radius: 50%;
}

.wp-pwa-ios-share-icon,
.wp-pwa-ios-add-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 8px;
}

.wp-pwa-ios-share-icon {
    color: #007aff;
    font-size: 16px;
}

.wp-pwa-ios-add-home {
    gap: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.wp-pwa-ios-add-home i {
    font-size: 16px;
}

.wp-pwa-ios-backdrop {
    position: fixed;
    inset: 0;
    z-index: 99994;
    display: none;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.wp-pwa-ios-backdrop.is-mounted {
    display: block;
}

.wp-pwa-ios-backdrop.is-open {
    opacity: 1;
}

@media (min-width: 769px) {
    .wp-pwa-install,
    .wp-pwa-ios-sheet,
    .wp-pwa-ios-backdrop {
        display: none !important;
    }
}
