/* iOS PWA Install Button */
.ios-btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: #00b7ff;
    border: 1px solid rgba(0, 183, 255, 0.3);
    border-radius: 20px;
    cursor: pointer;
    background: rgba(0, 183, 255, 0.05);
    display: none;
    /* Shown only on iOS */
    animation: pulseIOS 2s infinite;
}

@keyframes pulseIOS {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(0, 183, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 15px rgba(0, 183, 255, 0.5);
    }
}

#ios-instruction {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 350px;
    z-index: 3000;
}

#ios-instruction.hidden {
    display: none;
}

.ios-card {
    background: rgba(20, 20, 20, 0.95);
    border: 1px solid #333;
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    position: relative;
    backdrop-filter: blur(10px);
}

.close-ios {
    position: absolute;
    top: 5px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    z-index: 100;
}

.ios-card h3 {
    margin: 0 0 10px;
    color: #00b7ff;
    font-size: 1.1rem;
}

.ios-card p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    color: #ccc;
}

.share-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300b7ff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8'/%3E%3Cpolyline points='16 6 12 2 8 6'/%3E%3Cline x1='12' y1='2' x2='12' y2='15'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    margin: 0 5px;
}

.ios-arrow {
    margin-top: 10px;
    font-size: 1.5rem;
    color: #00b7ff;
    animation: bounceDown 1s infinite;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}