/* PWA Modal Styles for salzmarkt.de */
:root {
    --ios-bg: #1c1c1e; /* Dunkles Zinc/Grau von iOS */
    --ios-accent: #007aff; /* Klassisches Apple Blau */
    --ios-text: #ffffff;
    --ios-text-secondary: #8e8e93;
}

.pwa-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: flex-end;
}

.pwa-bottom-sheet {
    width: 100%;
    background-color: var(--ios-bg);
    border-radius: 20px 20px 0 0;
    padding: 24px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom));
    position: relative;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 -10px 25px rgba(0,0,0,0.5);
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.pwa-overlay.active .pwa-bottom-sheet {
    transform: translateY(0);
}

.pwa-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #3a3a3c;
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.pwa-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
    margin-top: 0;
    text-align: center;
    color: var(--ios-text);
}

.pwa-app-info {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255,255,255,0.05);
    padding: 12px;
    border-radius: 14px;
    margin-bottom: 24px;
}

.pwa-app-icon {
    width: 60px;
    height: 60px;
    border-radius: 13px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.pwa-app-text {
    display: flex;
    flex-direction: column;
}

.pwa-app-name {
    font-weight: 600;
    font-size: 18px;
}

.pwa-app-domain {
    color: var(--ios-text-secondary);
    font-size: 14px;
}

.pwa-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.pwa-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.pwa-step-number {
    background: var(--ios-accent);
    color: white;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

.pwa-step-text {
    font-size: 15px;
    line-height: 1.4;
    margin: 0;
    color: var(--ios-text);
}

.pwa-safari-icon {
    font-weight: bold;
    font-size: 18px;
    color: var(--ios-accent);
}

.pwa-icon-inline {
    width: 20px;
    height: 20px;
    vertical-align: middle;
    fill: currentColor;
    margin: 0 2px;
}

.pwa-confirm-btn {
    width: 100%;
    background: var(--ios-accent);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.pwa-confirm-btn:active {
    opacity: 0.8;
}
