/* PWA Install Button/Banner */
#pwa-install-btn {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #ffffff;
    /* White background */
    color: #000000;
    /* Black text */
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    /* Stronger shadow for contrast */
    z-index: 9999;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    /* Bolder text */
    font-size: 14px;
    border: none;
    /* No border needed on white */
    width: 90%;
    max-width: 400px;
    justify-content: space-between;
    box-sizing: border-box;
    /* Ensure padding doesn't affect width */
}

#pwa-install-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

#pwa-close-btn {
    background: transparent !important;
    border: none !important;
    color: #333 !important;
    /* Dark grey for close icon */
    cursor: pointer;
    font-size: 20px;
    padding: 0 8px;
    margin: 0;
    width: auto !important;
    /* Override global button width 100% in login.css */
    height: auto !important;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* iOS Instructions Modal */
#pwa-ios-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    justify-content: center;
    align-items: end;
    /* Show at bottom for easier access usually, or center */
    padding-bottom: 40px;
}

.pwa-ios-content {
    background-color: white;
    color: #333;
    padding: 24px;
    border-radius: 16px;
    width: 90%;
    max-width: 350px;
    text-align: center;
    position: relative;
    margin-bottom: 20px;
}

.pwa-ios-content h3 {
    margin-top: 0;
    color: #0B1A36;
}

.pwa-ios-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.pwa-ios-icon {
    display: inline-block;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    margin: 0 4px;
}

#pwa-ios-close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}