/**
 * PWA for WP - PWA Install Prompt Styles
 */

/* Install Prompt Container */
.pwa-install-container {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 999999;
    border-top: 1px solid #ddd;
}

/* Install Prompt Text */
.pwa-install-text {
    flex: 1;
    font-size: 16px;
    margin-right: 15px;
}

/* Install Prompt Buttons Container */
.pwa-install-buttons {
    display: flex;
    align-items: center;
}

/* Install Button */
.pwa-install-button {
    background-color: #4285F4;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 10px;
    font-weight: 500;
}

.pwa-install-button:hover {
    background-color: #3367D6;
}

/* Close Button */
.pwa-close-button {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 16px;
    font-size: 14px;
    cursor: pointer;
}

.pwa-close-button:hover {
    background-color: #f1f1f1;
}

/* iOS Instructions */
.ios-install-instructions {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    padding: 20px;
    width: 320px;
    max-width: 90%;
    z-index: 9999999;
}

.ios-close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    line-height: 24px;
}

.ios-install-instructions h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    font-size: 18px;
}

.ios-instructions-steps {
    margin-top: 15px;
}

.ios-instructions-steps ol {
    margin: 0;
    padding-left: 20px;
}

.ios-instructions-steps li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Media Queries */
@media screen and (max-width: 600px) {
    .pwa-install-container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .pwa-install-text {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .pwa-install-buttons {
        width: 100%;
        justify-content: space-between;
    }
    
    .pwa-install-button, 
    .pwa-close-button {
        flex: 1;
        text-align: center;
    }
} 