/* iOS Install Instructions Modal Styles */

.ios-install-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}

.ios-install-modal.show {
    opacity: 1;
    visibility: visible;
}

.ios-install-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: translateY(50px);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

.ios-install-modal.show .ios-install-content {
    transform: translateY(0);
}

.ios-install-header {
    text-align: center;
    padding: 30px 30px 20px;
    background: linear-gradient(135deg, #e72d2c 0%, #ff5555 100%);
    color: white;
}

.ios-modal-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    background: white;
    padding: 12px;
}

.ios-install-header h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.ios-install-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
}

.ios-install-steps {
    padding: 24px 30px;
}

.ios-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.ios-step:last-child {
    margin-bottom: 0;
}

.ios-step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #e72d2c 0%, #ff5555 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 4px 12px rgba(231, 45, 44, 0.3);
}

.ios-step-content {
    flex: 1;
}

.ios-step-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: rgba(231, 45, 44, 0.1);
    border-radius: 8px;
    margin-bottom: 8px;
}

.ios-step-icon ion-icon {
    font-size: 18px;
    color: #e72d2c;
}

.ios-step-content p {
    margin: 0;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    font-family: 'Poppins', sans-serif;
}

.ios-step-content strong {
    color: #e72d2c;
    font-weight: 600;
}

.ios-install-footer {
    padding: 20px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ios-install-close,
.ios-install-dismiss {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ios-install-close {
    background: linear-gradient(135deg, #e72d2c 0%, #ff5555 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(231, 45, 44, 0.3);
}

.ios-install-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(231, 45, 44, 0.4);
}

.ios-install-close:active {
    transform: translateY(0);
}

.ios-install-dismiss {
    background: transparent;
    color: #666;
    border: 2px solid #e0e0e0;
}

.ios-install-dismiss:hover {
    background: #f8f9fa;
    border-color: #ccc;
}

/* Animation for steps */
.ios-install-modal.show .ios-step {
    animation: slideInStep 0.5s ease-out backwards;
}

.ios-install-modal.show .ios-step:nth-child(1) {
    animation-delay: 0.1s;
}

.ios-install-modal.show .ios-step:nth-child(2) {
    animation-delay: 0.2s;
}

.ios-install-modal.show .ios-step:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes slideInStep {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 576px) {
    .ios-install-modal {
        padding: 16px;
    }

    .ios-install-header {
        padding: 24px 20px 16px;
    }

    .ios-modal-icon {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }

    .ios-install-header h3 {
        font-size: 20px;
    }

    .ios-install-header p {
        font-size: 13px;
    }

    .ios-install-steps {
        padding: 20px;
    }

    .ios-step {
        gap: 12px;
        margin-bottom: 16px;
    }

    .ios-step-number {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .ios-step-content p {
        font-size: 13px;
    }

    .ios-install-footer {
        padding: 16px 20px 24px;
    }

    .ios-install-close,
    .ios-install-dismiss {
        padding: 12px;
        font-size: 14px;
    }
}
