.pwa-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translate(-50%, -120%);
    z-index: 9999;
    width: 90%;
    max-width: 420px;
    background: rgba(28, 32, 36, 0.568);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-family: 'Inter', sans-serif;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease;
}
.pwa-popup.show {
    transform: translate(-50%, 0);
}

.pwa-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pwa-header-left {
    display: flex;
    align-items: center;
    color: #ffffff;
}

.pwa-header-left img {
    width: 48px;
    height: 48px;
    margin-right: 10px;
    flex-shrink: 0;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.pwa-header-left strong {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.pwa-header-left small {
    display: block;
    font-size: 12px;
    color: #cccccc;
    /* Hafif gri – koyu fonda okunabilir */
}

.description {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #f5f5f5;
}

.sub-description {
    margin-bottom: 12px;
    font-size: 13px;
    color: #bbbbbb;
}


.pwa-carousel-wrapper {
    position: relative;
    overflow: hidden;
    height: 0;
    transition: height 0.3s ease;
    margin-top: 10px;
    text-align: center;
}

.pwa-carousel-wrapper:not(.collapsed) {
    height: 541px;
    /* Resim yüksekliği */
}

.pwa-carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.pwa-slide {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pwa-slide img {
    width: 251px;
    height: 541px;
    object-fit: cover;
}

#pwa-prev,
#pwa-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2c2c2c;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    font-size: 18px;
    font-weight: bold;
    z-index: 1;
}

#pwa-prev {
    left: 10px;
}

#pwa-next {
    right: 10px;
}


#pwa-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

.pwa-footer {
    text-align: right;
    margin-top: 15px;
}

.pwa-footer button {
    background: #444;
    color: #fff;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    margin-left: 10px;
    font-weight: 600;
    font-size: 14px;
}

#pwa-install {
    background: #a8c7ff;
    color: #000;
}


#pwaShowBtn {
    display: inline-block;
    background-color: #4a90e2;
    /* Mavi ton */
    color: white;
    font-size: 1rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100%;
    width: auto;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

#resetPwaPrompt {
    display: inline-block;
    background-color: #4a90e2;
    /* Mavi ton */
    color: white;
    font-size: 1rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100%;
    width: auto;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

#clearCacheBtn {
    display: inline-block;
    background-color: #4a90e2;
    color: white;
    font-size: 1rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 100%;
    width: auto;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

#clearCacheBtn:hover {
    background-color: #357ABD;
    /* Hover efekti için koyu mavi */
}


#installBtn {
    background: linear-gradient(to right, #4facfe, #00f2fe);
    color: #000;
    font-weight: bold;
}

#installBtn:hover {
    background: linear-gradient(to right, #00f2fe, #4facfe);
    color: #000;
}

#pwa-more {
    background: linear-gradient(to right, #4facfe, #00f2fe);
    color: #000;
    font-weight: bold;
}

#pwa-more:hover {
    background: linear-gradient(to right, #00f2fe, #4facfe);
    color: #000;
}

@media (max-width: 480px) {
    #installBtn {
        font-size: 0.9rem;
        padding: 10px 20px;
        width: 100%;
    }
}

.ios-install-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #fffbe6;
    color: #333;
    text-align: center;
    padding: 15px;
    border-top: 1px solid #ccc;
    z-index: 9999;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ios-install-content .icon {
    width: 18px;
    vertical-align: middle;
    margin: 0 4px;
}

.ios-install-banner .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 18px;
    cursor: pointer;
}