/* ── A2HS Install Prompt ── */

.install-prompt {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1040;
    transform: translateY(100%);
    transition: transform 0.3s ease-out;
}

.install-prompt--visible {
    transform: translateY(0);
}

.install-prompt__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 -2px 16px rgba(0, 0, 0, 0.15);
    border: 1px solid #e5e7eb;
}

.install-prompt__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 50%;
    color: #1B2A4A;
    font-size: 1.1rem;
}

.install-prompt__text {
    flex: 1;
    min-width: 0;
}

.install-prompt__title {
    font-weight: 600;
    font-size: 0.9rem;
    color: #1f2937;
    margin: 0 0 0.15rem;
}

.install-prompt__description {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.3;
}

.install-prompt__actions {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.install-prompt__btn {
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.install-prompt__btn--install {
    background: #1B2A4A;
    color: #ffffff;
}

.install-prompt__btn--install:hover {
    background: #0f1b33;
}

.install-prompt__btn--dismiss {
    background: #f3f4f6;
    color: #6b7280;
}

.install-prompt__btn--dismiss:hover {
    background: #e5e7eb;
}

/* iOS guidance text */
.install-prompt__ios-guide {
    font-size: 0.8rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Mobile: stack vertically */
@media (max-width: 480px) {
    .install-prompt__inner {
        flex-wrap: wrap;
        margin: 0 0.5rem 0.5rem;
    }

    .install-prompt__actions {
        width: 100%;
        justify-content: flex-end;
    }
}
